setup-guardrails

setup-guardrails is a skill for Claude Code, Codex from stunt-double/stuntdouble-mcp. It costs 47 tokens per session (890 once invoked), scanned A, original, MIT.

A set of recurring checks for important user journeys such as sign-up, sign-in, checkout, and password reset. It runs those checklists on a schedule or when code is deployed or reviewed.

In plain words
What is it for?
Use it to create pass/fail checklists for critical flows, record project standards, confirm an initial working baseline, and repeat the checks after deployments, pull requests, or on a schedule.
Why use it?
It helps catch changes that break essential parts of a product before customers find them. Separate checks for each journey make failures easier to understand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create pass/fail checklists for critical flows, record project standards, confirm an initial working baseline, and repeat the checks after deployments, pull requests, or on a schedule.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stunt-double/stuntdouble-mcp/setup-guardrails
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.

Any agent
npx skills add stunt-double/stuntdouble-mcp --skill setup-guardrails
Clone the repo
git clone --depth 1 https://github.com/stunt-double/stuntdouble-mcp

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 setup-guardrails

README.md
[![agentmods](https://agentmods.dev/badge/skills/stunt-double/stuntdouble-mcp/setup-guardrails/github.svg)](https://agentmods.dev/skills/stunt-double/stuntdouble-mcp/setup-guardrails)
Your own site
<a href="https://agentmods.dev/skills/stunt-double/stuntdouble-mcp/setup-guardrails"><img src="https://agentmods.dev/badge/skills/stunt-double/stuntdouble-mcp/setup-guardrails/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 setup-guardrails

Your own site · 80×15
<a href="https://agentmods.dev/skills/stunt-double/stuntdouble-mcp/setup-guardrails"><img src="https://agentmods.dev/badge/skills/stunt-double/stuntdouble-mcp/setup-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 890 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.00047 $0.00890
Opus 5 $0.00023 $0.00445
Sonnet 5 $0.00009 $0.00178
Haiku 4.5 $0.00005 $0.00089

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

Security

Grade A, and why

setup-guardrails 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 9d 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.

skills/setup-guardrails/SKILL.md · 73 lines

How it starts

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

Set up guardrails

When to use

  • A flow is business-critical (signup, sign-in, checkout, password reset) and must not silently break
  • You want regressions caught on every deploy or on a schedule, not by customers
  • You already verified a change (see verify-change) and want to keep that coverage standing

Instructions

  1. Resolve context:

    • list_workspaces() → pick the workspace
    • list_projects(workspace_id) → match the product URL to a project, or let create_checklist find/create it
  2. Ensure an actor exists:

    • list_actors(workspace_id), else create_actor(...)
  3. One checklist per flow:

    • create_checklist(...) per critical flow, each with focused instructions and 3–6 crisp pass/fail checks
    • Small, focused checklists give clearer failure signals than one giant checklist
  4. Record any standard the flows are held to:

    • list_project_guidelines(project_id) to read what the project is already held to, then add_project_guideline(...) for anything missing
    • A guideline reaches every run, review and interview for the project, so the checks can assert it instead of restating it in each checklist
  5. Confirm a green baseline before automating:

    • run_checklist(checklist_id) for each, poll get_checklist_run(run_id) until terminal
    • Fix flaky checks now — a noisy guardrail gets ignored
  6. Automate re-runs with a workflow:

    • create_workflow(...) with a trigger:
      • schedule with a cron (daily is a good default), passing { cron, timezone } in trigger_config using the timezone from get_me so the hour means the user's hour, or
      • event triggers (vercel_event, github_event) to run on deploys and pull requests when those connections are configured in the workspace
    • add_workflow_step(...) — one run_checklist step per checklist, plus a notification step so failures reach the team
    • toggle_workflow(workflow_id) to activate
  7. Confirm coverage to the user:

    • What is covered, when it runs, where failures are reported, and how to extend it (add a checklist, then add a step)
    • Manage everything later at app.stuntdouble.io

Read the full file on GitHub · 73 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. 9d ago First seen · 73 lines · 47 tokens per session scan A f8b309fb0477

Subscribe to this mod's changes

setup-guardrails is a skill published in the GitHub repository stunt-double/stuntdouble-mcp (1 stars, last pushed 24d ago), licensed MIT. It adds 47 tokens to every session and 890 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.