smoke

smoke is a skill for Claude Code, Codex from dixus/claudeframework. It costs 30 tokens per session (771 once invoked), scanned A, original, MIT.

A workflow for running smoke tests against a Docker application stack. Smoke tests are short checks that confirm the main system works after deployment.

In plain words
What is it for?
Use it after deploying a project in Docker to check container health, find the project's smoke-test file, and run the appropriate test command.
Why use it?
It catches basic end-to-end problems, such as stopped containers or an unavailable health endpoint, before the system is handed over.

Skill for Claude CodeCodex

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 skills/dixus/claudeframework/smoke
Any agent
npx skills add dixus/claudeframework --skill smoke
Clone the repo
git clone --depth 1 https://github.com/dixus/claudeframework

Made for: Claude Code, Codex.

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/skills/dixus/claudeframework/smoke.svg)](https://agentmods.dev/skills/dixus/claudeframework/smoke)
Your own site
<a href="https://agentmods.dev/skills/dixus/claudeframework/smoke"><img src="https://agentmods.dev/badge/skills/dixus/claudeframework/smoke.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 771 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.00030 $0.00771
Opus 5 $0.00015 $0.00385
Sonnet 5 $0.00006 $0.00154
Haiku 4.5 $0.00003 $0.00077

Measured 3d ago against content hash c2fa22343d38, 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 3d 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/skills/smoke/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run smoke tests against the running Docker stack for a spec.

$ARGUMENTS is the spec name (e.g. prd-45-file-virus-scanning). If omitted, uses the most recently modified spec in .claude/specs/.

Prerequisites

  • Docker stack must be running (docker compose up -d)
  • A smoke test file must exist in the project (auto-detected in Step 2)
  • The spec's API routes must already be implemented

Steps

1. Health check

Run docker compose ps to verify all containers are running. Then poll the project's health endpoint (read from CLAUDE.md, default: GET http://localhost:8000/health) every 5 seconds, up to 60 seconds.

  • If all containers are healthy → proceed
  • If any container is down or health check fails → stop and report. Do NOT attempt to fix Docker infrastructure — that is out of scope for this skill.

2. Detect and write smoke tests

Detect the smoke test file and runner:

  1. Check CLAUDE.md for a smoke_test or smoke command/path
  2. If not specified, auto-detect by looking for: smoke_test.py, smoke_test.ts, smoke.test.ts, tests/smoke.py, tests/smoke.ts, test/smoke.*
  3. Determine the runner from the file extension: .pypython, .tsnpx tsx or npx ts-node, .jsnode
  4. If no smoke test file exists, create one following the project's primary language (read from CLAUDE.md or package.json/pyproject.toml)

Read the smoke test file, the spec at .claude/specs/<name>.md, and the response schemas referenced in the spec's Affected/New files list.

Add smoke test coverage for the spec's API routes:

  • Follow existing patterns in the smoke test file
  • Match field names exactly to response schemas — do not guess
  • Test happy-path only (smoke tests verify routes respond, not edge cases)

3. Run and fix loop (max 3 attempts)

Maintain an attempt counter starting at 0.

  1. Run the smoke test file with its detected runner and capture output
  2. If all checks pass → proceed to Step 4
  3. If any check fails → increment counter. If counter ≥ 3, run git checkout <smoke-test-file> to restore the original file, then stop and report the failure output
  4. On failure, fix only the smoke test assertions — do not modify API code. Common causes: wrong field names, wrong response structure (object vs list), wrong status codes
  5. Loop back to step 1

Read the full file on GitHub · 69 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. 3d ago First seen · 69 lines · 30 tokens per session scan A c2fa22343d38

Subscribe to this mod's changes

smoke is a skill published in the GitHub repository dixus/claudeframework (10 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 771 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-31.

Related

Other skills, from other repositories

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

verify

Exercise the real app/API/CLI and collect observable evidence; tests alone do not count as end-to-end verification.

Hmbown/CodeWhale · 25 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

local-frontend-check

Smoke-test or verify UI behaviour on the local Jarvis Registry frontend running at http://localhost/gateway. Use for manual regression checks, bug-fix verification, and end-to-end confirmation of specific flows without running the automated test suite.

ascending-llc/jarvis-registry · 52 tokens

pr-integration-test

Design, implement, and validate Intelligent Terminal integration tests for a target pull request or regression. Use when asked to add PR integration tests, convert a bug fix into E2E coverage, prove existing behavior still works, map tests to the release checklist, or verify E2E reports mark checklist cases complete.

microsoft/intelligent-terminal · 66 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens