speckit.spex.smoke-test

speckit.spex.smoke-test is a command for Claude Code from rhuss/cc-spex. It costs 9 tokens per session (2,999 once invoked), scanned A, original, Apache-2.0.

A command for interactively checking selected real scenarios from a feature specification. A smoke test is a quick check that the main parts of a change work, while the human records whether each scenario passed or failed.

In plain words
What is it for?
Use it to execute the scenarios listed in a specification, gather evidence, record pass, fail, or skip decisions, and save the report as SMOKE-TEST.md.
Why use it?
A specification may describe important checks, but running them and collecting evidence manually takes time. This guides the real tests and saves their results without pretending that an untestable scenario passed.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions subagents.

Good fit Use it to execute the scenarios listed in a specification, gather evidence, record pass, fail, or skip decisions, and save the report as SMOKE-TEST.md.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rhuss/cc-spex/speckit.spex.smoke-test
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.

Clone the repo
git clone --depth 1 https://github.com/rhuss/cc-spex

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 speckit.spex.smoke-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/rhuss/cc-spex/speckit.spex.smoke-test/github.svg)](https://agentmods.dev/commands/rhuss/cc-spex/speckit.spex.smoke-test)
Your own site
<a href="https://agentmods.dev/commands/rhuss/cc-spex/speckit.spex.smoke-test"><img src="https://agentmods.dev/badge/commands/rhuss/cc-spex/speckit.spex.smoke-test/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.

agentmods 80×15 button for speckit.spex.smoke-test

Your own site · 80×15
<a href="https://agentmods.dev/commands/rhuss/cc-spex/speckit.spex.smoke-test"><img src="https://agentmods.dev/badge/commands/rhuss/cc-spex/speckit.spex.smoke-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,999 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00009 $0.02999
Opus 5 $0.00005 $0.01499
Sonnet 5 $0.00002 $0.00600
Haiku 4.5 $0.00001 $0.00300

Measured 10d ago against content hash 865c03176808, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

speckit.spex.smoke-test 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.

specs/038-neutral-command-vocab/pre-rewrite-snapshot/spex/commands/speckit.spex.smoke-test.md · 380 lines

How it starts

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

Focused Interactive Smoke Test (speckit-spex-smoke-test)

Overview

Walk through curated smoke test scenarios defined in the feature spec's ## Smoke Test section. Claude automates all setup, execution, and evidence collection. The human only provides pass/fail judgment on each scenario. Results are persisted as SMOKE-TEST.md in the spec directory.

If the spec has no ## Smoke Test section, the command skips automatically — no human interaction needed.

You MUST NOT simulate, fake, or manually reproduce what the system under test would do. Every scenario must exercise the actual system (run the real command, call the real API, invoke the real skill). If a scenario cannot be properly tested in the current session (e.g., requires a separate run, external infrastructure, or state that cannot be set up), you MUST:

  1. Mark it as skip immediately
  2. State clearly why it cannot be tested (e.g., "Requires two independent distillation runs")
  3. Provide concrete manual test instructions the user can follow later (exact commands, expected output, what to verify)

A simulated test that manually edits files to mimic system output is worse than no test. It creates false confidence.

Ship Pipeline Guard

If .specify/.spex-state exists and its status is running, this command is part of a ship pipeline. The smoke test is always interactive regardless of the ask level. It never runs autonomously. However, it should not output a completion summary or ask "Shall I proceed?" after finishing. Complete the walkthrough and return.

PIPELINE_MODE=false
if [ -f ".specify/.spex-state" ]; then
  STATUS=$(jq -r '.status // empty' .specify/.spex-state 2>/dev/null)
  if [ "$STATUS" = "running" ]; then
    PIPELINE_MODE=true
  fi
fi

Prerequisites

Spec Resolution

Resolve the feature spec using the standard check-prerequisites script:

PREREQS=$(.specify/scripts/bash/check-prerequisites.sh --json --paths-only 2>/dev/null)
FEATURE_DIR=$(echo "$PREREQS" | jq -r '.FEATURE_DIR')
SPEC_FILE="$FEATURE_DIR/spec.md"

Read the full file on GitHub · 380 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. 10d ago First seen · 380 lines · 9 tokens per session scan A 865c03176808

Subscribe to this mod's changes

speckit.spex.smoke-test is a command published in the GitHub repository rhuss/cc-spex (116 stars, last pushed 21d ago), licensed Apache-2.0. It adds 9 tokens to every session and 2,999 once invoked, about $0.0000 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.