Borrowing it
Nothing to install: this file belongs to holgerleichsenring/agent-smith. 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/holgerleichsenring/agent-smith/main/.claude/commands/smoke.mdgit clone --depth 1 https://github.com/holgerleichsenring/agent-smithWrote 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/commands/holgerleichsenring/agent-smith/smoke)<a href="https://agentmods.dev/commands/holgerleichsenring/agent-smith/smoke"><img src="https://agentmods.dev/badge/commands/holgerleichsenring/agent-smith/smoke/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/commands/holgerleichsenring/agent-smith/smoke"><img src="https://agentmods.dev/badge/commands/holgerleichsenring/agent-smith/smoke.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.00033 | $0.01249 |
| Opus 5.5 | $0.00013 | $0.00500 |
| Sonnet 5.5 | $0.00007 | $0.00250 |
| Haiku 4.5 | $0.00003 | $0.00125 |
Grade A, and why
smoke 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 10d 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 — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are running the agent-smith smoke suite. The goal is a fast, deterministic answer to "does the binary actually work?" — every spec merge should end with a green smoke before being declared done.
How to run
The first argument selects scope. Default is fast (no LLM cost).
/smokeor/smoke fast— build + tests + CLI binary boots + docker-compose config validates. ~2 minutes, no LLM./smoke api-scan—fastplus a real api-scan against the configured local target./smoke security-scan—fastplus a real security-scan against the agent-smith repo./smoke code—fastplus a dry-run of the code pipeline against a known ticket./smoke demo—fastplusagentsmith demoend-to-end on the bundled sample project (p0326). Costs real LLM tokens (one small code run); needs only a config with one agent + its key. PASS = exit 0 and the printedgit diff HEAD~1shows the PriceCalculator boundary fix./smoke all— fast + all three deep scans sequentially.
Steps for fast (always run)
Run these in order. Any non-zero exit ends the smoke as FAIL.
- Build:
dotnet build— 0 errors, 0 warnings. Warnings count as failures unless they're the knownSandboxToolHostobsoletes (5 max). - Tests:
dotnet test --no-build. All passing. - CLI binary boot:
dotnet run --no-build --project src/AgentSmith.Cli -- --help— exits 0, prints the command list. - CLI pipeline dry-runs: for each of
api-scan,security-scan,fix,feature,demo:dotnet run --no-build --project src/AgentSmith.Cli -- <command> --help— exits 0. - docker-compose config validates:
docker compose -f deploy/docker-compose.yml config -q— exits 0. (Skip silently ifdeploy/docker-compose.ymldoesn't exist on this branch.)
Report per step: PASS / FAIL with a one-line summary.
Steps for api-scan (in addition to fast)
The operator has a local SampleA instance at https://localhost:49190 (target may differ; check .env / shell env first). Use the project name sample-a-api-security-azure-openai. Required env: AZURE_OPENAI_API_KEY, AZURE_DEVOPS_TOKEN.
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.
- 10d ago Changed 8a1bb6e8e8d5
- 25d ago Changed · -2 tokens per session b8a03f79541a
- 1mo ago First seen · 96 lines · 35 tokens per session scan A 758a7dd80fde
smoke is a command published in the GitHub repository holgerleichsenring/agent-smith (30 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 1,249 once invoked, about $0.0001 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 commands, from other repositories
ux-grill
Use when a running web app's UX has to be audited reproducibly rather than by feel — a deterministic mechanical pass over routes and viewports (axe, target size, horizontal overflow, page title, scripted journeys) followed by a screenshot-grounded interrogation of the operator, journey by journey, with two persona…
test
Agentic end-to-end test orchestrator — drive web/macOS flows, evaluate UX rubric, reconcile issues.
tests
Test coverage quality analysis — behavioral coverage, critical gap identification, test resilience evaluation.
playwright-test-heal
Run all my tests and fix the failing ones.
verify-pr
Verify a PR's frontend changes through browser automation.
test-run
Run E2E tests with qa-use CLI.