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

Written for Cursor: installed under .cursor/. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/run-smoke.sh "${DEPLOY_URL:-}" "${SMOKE_CHECKS_FILE:-smoke-checks.yaml}".

Good fit Use it after deployment to check homepages, APIs, and other critical URL paths against expected responses.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers
agentmods
npx agentmods add rules/danielvm-git/bigpowers/smoke-test

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/github.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/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/rules/danielvm-git/bigpowers/smoke-test"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/smoke-test.svg" alt="Reviewed on agentmods" width="80" 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. 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.00034 $0.02010
Opus 5.5 $0.00014 $0.00804
Sonnet 5.5 $0.00007 $0.00402
Haiku 4.5 $0.00003 $0.00201

Measured 2mo ago against content hash 9969e60216a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

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. 2mo ago 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 (297 stars, last pushed 4d ago), licensed MIT. It adds 34 tokens to every session and 2,010 once invoked, about $0.0001 per session on Opus 5.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.

Related

smoke-test compared with cursor rules from other repositories

smoke-test next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smoke-testdanielvm-git/bigpowersCursor rule2974d agoMITA34Cursor
testing-fundamentalstugkanboz/awesome-cursorrulesCursor rule242mo agoMITA26Cursor
page-object-patternstugkanboz/awesome-cursorrulesCursor rule242mo agoMITA1,767Cursor
cypress-excellencetugkanboz/awesome-cursorrulesCursor rule242mo agoMITA1,743Cursor
framework-architecturetugkanboz/awesome-cursorrulesCursor rule242mo agoMITA857Cursor
testingkok-o/koko-contextos-agentsCursor rule22mo agoMITA32Cursor
behat-stepsivangrynenko/cursorrulesCursor rule881y agoMITA15,618Cursor