smoke

smoke is a command for Claude Code from holgerleichsenring/agent-smith. It costs 35 tokens per session (1,260 once invoked), scanned A, original, MIT.

A smoke-test command for the agent-smith command-line tool and its Docker Compose setup. A smoke test is a quick check that the main program starts and its basic paths work.

In plain words
What is it for?
Building the project, running tests, checking the command-line binary, validating Docker Compose, and optionally running API, security, bug-fix, or demonstration checks.
Why use it?
It catches failures that may not appear in unit tests, such as a broken executable or invalid container configuration. Different scopes add checks for API scans, security scans, or bug fixes.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/holgerleichsenring/agent-smith/smoke
Clone the repo
git clone --depth 1 https://github.com/holgerleichsenring/agent-smith

Made for: Claude Code.

Wrote 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.

agentmods badge for smoke

README.md
[![agentmods](https://agentmods.dev/badge/commands/holgerleichsenring/agent-smith/smoke.svg)](https://agentmods.dev/commands/holgerleichsenring/agent-smith/smoke)
Your own site
<a href="https://agentmods.dev/commands/holgerleichsenring/agent-smith/smoke"><img src="https://agentmods.dev/badge/commands/holgerleichsenring/agent-smith/smoke.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.01260
Opus 5 $0.00017 $0.00630
Sonnet 5 $0.00007 $0.00252
Haiku 4.5 $0.00003 $0.00126

Measured 5d ago against content hash 758a7dd80fde, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 5d 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.

.claude/commands/smoke.md · 96 lines

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 phase 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).

  • /smoke or /smoke fast — build + tests + CLI binary boots + docker-compose config validates. ~2 minutes, no LLM.
  • /smoke api-scanfast plus a real api-scan against the configured local target.
  • /smoke security-scanfast plus a real security-scan against the agent-smith repo.
  • /smoke fix-bugfast plus a dry-run of fix-bug against a known ticket.
  • /smoke demofast plus agentsmith demo end-to-end on the bundled sample project (p0326). Costs real LLM tokens (one small fix-bug run); needs only a config with one agent + its key. PASS = exit 0 and the printed git diff HEAD~1 shows 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.

  1. Build: dotnet build — 0 errors, 0 warnings. Warnings count as failures unless they're the known SandboxToolHost obsoletes (5 max).
  2. Tests: dotnet test --no-build. All passing.
  3. CLI binary boot: dotnet run --no-build --project src/AgentSmith.Cli -- --help — exits 0, prints the command list.
  4. 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.
  5. docker-compose config validates: docker compose -f deploy/docker-compose.yml config -q — exits 0. (Skip silently if deploy/docker-compose.yml doesn'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.

Read the full file on GitHub · 96 lines

Changes

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.

  1. 5d ago First seen · 96 lines · 35 tokens per session scan A 758a7dd80fde

Subscribe to this mod's changes

smoke is a command published in the GitHub repository holgerleichsenring/agent-smith (23 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 1,260 once invoked, about $0.0002 per session on Opus 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.