smoke-test

smoke-test is a cursor rule for Cursor from danielvm-git/bigpowers. It costs 34 tokens per session (2,010 once invoked), scanned A, original, MIT.

A post-deployment health check that sends HTTP requests to a live website or application and checks the responses. It can verify status codes, response content, and response speed.

In plain words
What is it for?
Use it after deployment to check homepages, APIs, and other critical URL paths against expected responses.
Why use it?
It detects broken deployments that may appear successful even though important pages or endpoints do not work.

Cursor rule for Cursor

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 rules/danielvm-git/bigpowers/smoke-test
Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers

Made for: Cursor.

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/rules/danielvm-git/bigpowers/smoke-test.svg)](https://agentmods.dev/rules/danielvm-git/bigpowers/smoke-test)
Your own site
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/smoke-test"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/smoke-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 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,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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.00034 $0.02010
Opus 5 $0.00017 $0.01005
Sonnet 5 $0.00007 $0.00402
Haiku 4.5 $0.00003 $0.00201

Measured today against content hash 9969e60216a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

smoke-test scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The runner performs curl requests per check, records pass/fail per assertion, and prints a summary.
.cursor/rules/smoke-test.mdc · 261 lines

How it starts

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

Smoke Test

HARD GATE — Do NOT run smoke-test against a URL that hasn't been deployed yet. Always run deploy first, then smoke-test.

HARD GATE — A failed smoke test means the deployment is broken. Do NOT mark a deploy as successful until all smoke checks pass.

Validate a deployed application is healthy by running HTTP checks against live URLs. Each check asserts HTTP status, optional body signal (regex), and optional response-time threshold.

Configuration

Smoke checks live in smoke-checks.yaml at the project root:

base_url: "https://example.com"
checks:
  - name: "Homepage"
    path: "/"
    expected_status: 200
    content_signal: "welcome|ok"
    max_response_time_ms: 3000
Field Required Default Description
name Yes Human-readable check name
path Yes / URL path relative to base_url
method No GET HTTP method
expected_status No 200 Expected HTTP status code
content_signal No Regex or string in response body
max_response_time_ms No Fail if slower than threshold (ms)

Ad-hoc single-URL mode: DEPLOY_URL=https://host bash scripts/run-smoke.sh

Process

1. Load checks

SMOKE_CHECKS_FILE="${SMOKE_CHECKS_FILE:-smoke-checks.yaml}"
BASE_URL="${DEPLOY_URL:-$BASE_URL}"
test -f "$SMOKE_CHECKS_FILE" || test -n "$BASE_URL" || { echo "ERROR: no checks file or URL"; exit 1; }

2. Run each check

bash scripts/run-smoke.sh "${DEPLOY_URL:-}" "${SMOKE_CHECKS_FILE:-smoke-checks.yaml}"

The runner performs curl requests per check, records pass/fail per assertion, and prints a summary.

3. Assert results

  • Any HTTP status mismatch → FAIL
  • Missing content_signal when configured → FAIL
  • Response time over max_response_time_ms → FAIL
  • Exit code non-zero → deployment not healthy

4. Generate report

Capture stdout from run-smoke.sh as evidence. Persist to specs/verifications/smoke-<date>.log for release-branch.

Read the full file on GitHub · 261 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. today First seen · 261 lines · 34 tokens per session scan A 9969e60216a1

Subscribe to this mod's changes

smoke-test is a cursor rule published in the GitHub repository danielvm-git/bigpowers (163 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 2,010 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.