gru-ai: Skill for Claude Code

.claude/skills/smoke-test/SKILL.md

smoke-test is a skill for Claude Code from andrew-yangy/gru-ai. It costs 53 tokens per session (821 once invoked), scanned A, original, MIT.

A disposable end-to-end check for a directive pipeline, which is the sequence of steps that processes a task from start to finish.

In plain words
What is it for?
Use it after changing pipeline documentation or behavior to run a small test task, validate each stage, enforce a timeout, and clean up test artifacts.
Why use it?
It reveals whether a pipeline change broke any stage and reports evidence for each completed check.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; positional $N argument.

This is andrew-yangy/gru-ai's own configuration. It tells Claude Code how to work on gru-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gru-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to andrew-yangy/gru-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/andrew-yangy/gru-ai/main/.claude/skills/smoke-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/andrew-yangy/gru-ai

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-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrew-yangy/gru-ai/smoke-test/github.svg)](https://agentmods.dev/skills/andrew-yangy/gru-ai/smoke-test)
Your own site
<a href="https://agentmods.dev/skills/andrew-yangy/gru-ai/smoke-test"><img src="https://agentmods.dev/badge/skills/andrew-yangy/gru-ai/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 smoke-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrew-yangy/gru-ai/smoke-test"><img src="https://agentmods.dev/badge/skills/andrew-yangy/gru-ai/smoke-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 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.00053 $0.00821
Opus 5 $0.00026 $0.00411
Sonnet 5 $0.00011 $0.00164
Haiku 4.5 $0.00005 $0.00082

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

Security

Grade A, and why

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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run-smoke-test.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-test/SKILL.md · 85 lines

How it starts

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

Smoke Test -- Pipeline E2E Verification

Run a real directive through the full pipeline and verify every step produces correct output.

Arguments: $ARGUMENTS (passed as $1 to the script)

  • Empty or medium -- run a medium-weight smoke test (brainstorm skipped, clarification/approve auto-approved)
  • lightweight -- run a lightweight smoke test (brainstorm skipped, clarification/approve auto-approved)

What This Does

  1. Creates a disposable test directive (smoke-test-{timestamp}) with a trivial task
  2. Spawns a real /directive session that executes the full pipeline
  3. Polls directive.json every 10 seconds to track step progression
  4. Validates each completed step via validate-gate.sh
  5. Enforces a 10-minute overall timeout
  6. Prints a pass/fail table per pipeline step with evidence
  7. Cleans up the test branch and directive artifacts on exit

Step 1: Run the Smoke Test

Execute the bash runner script. It handles everything -- directive creation, agent spawning, polling, validation, reporting, and cleanup.

bash .claude/skills/smoke-test/run-smoke-test.sh $ARGUMENTS

The script will output real-time progress as each step completes and a final summary table.

Step 2: Present Results

After the script finishes, present the results to the CEO in this format:

# Smoke Test Results

## Summary
- Weight: {lightweight | medium}
- Duration: {X}m {Y}s
- Result: {PASS | FAIL}

## Step Results

| # | Step              | Status    | Gate     | Evidence                         |
|---|-------------------|-----------|----------|----------------------------------|
| 1 | triage            | completed | PASS     | weight=medium, directive.json ok |
| 2 | checkpoint        | completed | PASS     | No prior checkpoint              |
| ...                                                                            |
|15 | completion        | completed | PASS     | test_mode auto-approved          |

## Failures (if any)
- Step {name}: {what went wrong, gate violations, missing artifacts}

## Cleanup
- Test branch: deleted
- Test directive: deleted

Read the full file on GitHub · 85 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 85 lines · 53 tokens per session scan A dd28990a42f1

Subscribe to this mod's changes

smoke-test is a skill published in the GitHub repository andrew-yangy/gru-ai (153 stars, last pushed 6mo ago), licensed MIT. It adds 53 tokens to every session and 821 once invoked, about $0.0003 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.