QA Wolf CLI is a command-line tool for running and managing QA Wolf end-to-end testing flows from a local terminal or continuous-integration environment. Development and QA teams use it to execute their browser-test flows, while test creation, AI test generation, cloud execution, and collaboration belong to the wider QA Wolf platform.
Borrowing it
Nothing to install: this file belongs to qawolf/cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/qawolf/cli/main/AGENTS.mdgit clone --depth 1 https://github.com/qawolf/cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/qawolf/cli/agents-md)<a href="https://agentmods.dev/instructions/qawolf/cli/agents-md"><img src="https://agentmods.dev/badge/instructions/qawolf/cli/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/qawolf/cli/agents-md"><img src="https://agentmods.dev/badge/instructions/qawolf/cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02063 | $0.02063 |
| Opus 5.5 | $0.00825 | $0.00825 |
| Sonnet 5.5 | $0.00413 | $0.00413 |
| Haiku 4.5 | $0.00206 | $0.00206 |
Grade A, and why
cli AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
@qawolf/cli — Agent Instructions
CLI for agents, CI, and humans to interact with QA Wolf. TypeScript, Bun runtime, Commander.js framework.
See CONTRIBUTING.md for human contributor setup.
Commands
bun install # install dependencies
bun run dev # run CLI in development
bun run dev -- <args> # pass args to CLI (e.g. -- --help)
bun run build # JS bundle → dist/cli.js + dist/cli.js.map (uses --outdir; bun rejects --sourcemap=external with --outfile)
bun run build:binary # standalone binary → dist/qawolf
bun run typecheck # tsc --noEmit
bun run lint # oxlint
bun run lint:fix # oxlint with auto-fix
bun run format:check # oxfmt check
bun run format # oxfmt write
bun run knip # dead-code / unused-dep detection
bun run test # bun test
bun run test:watch # bun test --watch
Testing
Tests use Bun's test runner. Run a single test file with bun run test <path>. Place test files next to the code they test, named *.test.ts.
Project Structure
src/
├── main.ts # Entry point — createProgram().parse()
├── core/ # Pure functions and types — zero I/O
│ ├── androidBins.ts # Android SDK binary paths per platform
│ ├── androidTargets.ts # Android target parsing helpers
│ ├── batchMap.ts # bounded-concurrency async map
│ ├── errors.ts # errorMessage, isNoEntError, isTimeoutError
│ ├── flowMeta.ts # extractFlowMeta, targetToBrowser, flowBasename
│ ├── formatSeconds.ts # formatSeconds
│ ├── messages/ # user-facing strings (auth, doctor, flows, init, install, runner)
│ ├── nodeModulesBins.ts # node_modules/.bin shim candidates per platform
│ ├── paths.ts # getConfigDir
│ ├── patternArgs.ts # CLI pattern argument parsing
│ ├── pluralize.ts # pluralize
│ ├── sleep.ts # sleep
│ ├── types.ts # BrowserName, VideoMode, TraceMode, HarMode, TestCounts
│ └── version.ts # isNewerVersion
├── shell/ # I/O executors — process spawning, UI, API clients
│ ├── appium/ # Android emulator + Appium server lifecycle
│ ├── commandContext.ts # CommandContext, CommandResult types
│ ├── exit.ts # exitCodes, exit
│ ├── fs.ts # filesystem helpers
│ ├── logger.ts # pino-based structured logger
│ ├── manifest/ # bundle manifest read/lookup
│ ├── npm.ts # resolveNpmCommand
│ ├── npmRegistry.ts # fetchLatestVersion (update-check registry lookup)
│ ├── platform/ # tRPC client, getIdentity, signed-URL/bundle download, team storage
│ ├── reporter/ # Reporter interface, console + JUnit + composite reporters
│ ├── resolveExport.ts # ESM export resolution
│ ├── signals/ # SignalRegistry for graceful shutdown
│ ├── spawn.ts # defaultSpawn, SpawnFn
│ ├── testkit.ts # configureTestkit
│ ├── ui/ # createUI, detectOutputMode, OutputMode (clack + renderers)
│ └── workerCommand.ts # worker-subprocess command wiring
├── domains/ # Business logic — one directory per bounded context
│ ├── auth/ # resolveApiKey, validateApiKey, saveApiKey
│ ├── config/ # loadConfig (not yet wired)
│ ├── doctor/ # runChecks, renderResults
│ ├── emails/ # configureEmails (not yet wired)
│ ├── flows/ # expandPatterns, peekFlowMeta, flowsList, pull/
│ ├── init/ # init handler + templates
│ ├── install/ # installBrowsers, installBrowserList
│ ├── interactiveRunner/ # remote runners: launch, stop, keepalive, runFlow, journal, screenshot, act, exec
│ ├── investigation/ # attempt investigate/inspect: artifact download; parser/ is a lazily loaded bundle (dist/investigation-parser.js)
│ ├── runner/ # the LOCAL execution engine: flowsRun, runWebFlow, runAndroidFlow, worker dispatch + pool
│ └── updateCheck/ # startUpdateCheck: new-version notice after commands
├── commands/ # Thin CLI glue — Commander registration + composite root
├── context.ts # withContext() / withAuthContext() action wrappers
├── program.ts # createProgram() factory
├── attempt/ # attempt investigate/inspect (domains/investigation)
├── auth/ # login, logout, whoami handlers
├── doctor/ # doctor handler
├── flows/ # flows run/list/pull handlers; runDefaults composite root
├── init/ # init handler
├── install/ # install browsers/android handlers
└── runner/ # lifecycle/run/interact registrations (domains/interactiveRunner)
└── runnerSdk/ # Published library entry — @qawolf/cli/runner-sdk
├── index.ts # createRunnerSdk() — the only file `exports` points at
├── types.ts # the public types; imports only @qawolf/api-contracts
└── *Verbs.ts # one file per verb group
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 22d ago Changed · +2 lines · +51 tokens per session 3c1060323877
- 1mo ago Changed · +4 tokens per session 160b0edffb25
- 1mo ago Changed · +4 lines · +164 tokens per session 076faa06813a
- 2mo ago First seen · 131 lines · 1,844 tokens per session scan A 79bfa97e6c89
cli AGENTS.md is an instructions file published in the GitHub repository qawolf/cli (3,457 stars, last pushed today), licensed Apache-2.0. It adds 2,063 tokens to every session, about $0.0083 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.