Hai qa via cli

From hcompai/computer-use-agents-demos · View interactive version

Hai qa via cli is an AI agent skill from the GitHub repository hcompai/computer-use-agents-demos. Run an autonomous QA review of a web UI by invoking the local `qa-cli` command via the shell. Trigger when the user asks to QA a URL, check a deployed site for accessibility, usability, or correctness issues, get a structured review of a page, or run a quick visual sanity check on a live page (e.g.

How to use this skill

Skill file

Web QA via the hai-agents CLI (Hermes Agent)

When the user asks you to QA a web UI, review a deployed page, or check a URL for issues:

1. Pick the right subcommand

2. Invoke

The qa-cli command lives in the agents-api-demos repo and must run against that project.

uv run --directory resolves it regardless of your current working directory. Point

HAI_DEMOS at your clone, or export it once in your shell to avoid editing this file:

HAI_DEMOS="${HAI_DEMOS:-/path/to/agent-sdk-demo}"   # exported HAI_DEMOS wins; else edit the fallback
uv run --directory "$HAI_DEMOS" --env-file "$HAI_DEMOS/.env" qa-cli review --url <url> --instruction "<what to focus on>"
uv run --directory "$HAI_DEMOS" --env-file "$HAI_DEMOS/.env" qa-cli visual --url <url> --question "<single question>"

The CLI logs progress to stderr; the result (JSON for review, text for visual) goes to stdout. Pipe to jq if you want to filter.

3. Surface the result

For review:

For visual: just relay the answer.

Notes

Examples

User: "Please QA https://news.ycombinator.com for accessibility."

You: Run uv run --directory "$HAI_DEMOS" --env-file "$HAI_DEMOS/.env" qa-cli review --url https://news.ycombinator.com --instruction "focus on accessibility: alt text, form labels, keyboard nav, contrast". Parse JSON. Surface findings.

User: "What color is the main CTA on https://example.com?"

You: Run uv run --directory "$HAI_DEMOS" --env-file "$HAI_DEMOS/.env" qa-cli visual --url https://example.com --question "what color is the main call-to-action button?". Return the answer.

Install (Hermes Agent)

Copy this skill into Hermes' skills directory and reload:

mkdir -p ~/.hermes/skills/hai
cp -r <this-repo>/hermes/skills/hai-qa-via-cli ~/.hermes/skills/hai/hai-qa-via-cli
# then restart Hermes; it re-scans ~/.hermes/skills/ on startup
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.