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.
npx skills add ralfyishere/rules-with-receipts --skill plan-gategit clone --depth 1 https://github.com/ralfyishere/rules-with-receiptsWrote 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.
[](https://agentmods.dev/skills/ralfyishere/rules-with-receipts/plan-gate)<a href="https://agentmods.dev/skills/ralfyishere/rules-with-receipts/plan-gate"><img src="https://agentmods.dev/badge/skills/ralfyishere/rules-with-receipts/plan-gate/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.
<a href="https://agentmods.dev/skills/ralfyishere/rules-with-receipts/plan-gate"><img src="https://agentmods.dev/badge/skills/ralfyishere/rules-with-receipts/plan-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00108 | $0.01361 |
| Opus 5.5 | $0.00043 | $0.00544 |
| Sonnet 5.5 | $0.00022 | $0.00272 |
| Haiku 4.5 | $0.00011 | $0.00136 |
Grade A, and why
Plan Gate 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plan Gate
Purpose
Prevent rushed execution. A wrong start on complex work wastes more time than any plan costs. The gate: before making the first change on non-trivial work, a plan must exist in writing — visible to the user, not just implied.
Equally important: do not over-plan. A trivial task with a ceremony plan is as much a failure as a complex task with no plan.
When to use this skill
- The task has 3+ dependent steps, touches multiple files/sections, or has unclear requirements.
- The cost of a wrong start is high (large edits, irreversible actions, external-facing output).
- You feel the urge to "just start" on something you can't fully picture the end state of. That urge is the trigger.
When NOT to use this skill
- Single obvious step, reversible, under ~2 minutes of work (typo fix, rename, direct factual answer). Just do it.
- The user provided the plan and asked you to execute it. Confirm you understand it; don't rewrite it.
- Pure exploration/reading with no changes — go straight to
live-state-truthinstead.
Operating procedure
Step 1 — Pick the planning depth. Do this in your head; it takes five seconds.
| Depth | Task size signals | Plan required |
|---|---|---|
| 0 — None | One step, obvious, reversible | None. Execute. |
| 1 — Micro | 2–5 steps, familiar territory, low blast radius | One short paragraph: goal, steps, done-check |
| 2 — Structured | Multi-file / multi-section, some unknowns, moderate stakes | Full template below |
| 3 — Staged | Large, unfamiliar, or risky; can't hold it all in one plan | Template below + hand decomposition to deep-decomposition; plan only stage 1 in detail |
Step 2 — Write the plan (Depth 2–3 template):
## Plan: <one-line goal>
**Success criteria:** How we'll know it worked — observable, checkable.
**Constraints:** Stated by the user + inferred (style, compatibility, deadline pressure).
**Assumptions:** What I'm taking as true without proof. (Each is a risk.)
**Risks:** Top 2–3 ways this goes wrong, and the mitigation for each.
**Steps:** First 3–5 concrete actions. (Later steps may be rough.)
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.
- 3mo ago First seen · 93 lines · 108 tokens per session scan A e264c08de6b9
Plan Gate is a skill published in the GitHub repository ralfyishere/rules-with-receipts (2 stars, last pushed 4mo ago), licensed MIT. It adds 108 tokens to every session and 1,361 once invoked, about $0.0004 per session on Opus 5.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.
Plan Gate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Plan Gateralfyishere/rules-with-receipts | Skill | 2 | 4mo ago | MIT | A | 108 | Claude Code |
| sd-storyboard-enginelixiaoxiao9888-create/manju-laoli-skill | Skill | 3.4k | 4d ago | MIT | A | 428 | Claude Code, Codex |
| bionic-decision-enginewinstonkoh87/Athena-Public | Skill | 655 | 2d ago | MIT | A | 41 | Claude Code, Codex |
| setup-matt-pocock-skillsdevcxl/mattpocock-skills-zh | Skill | 566 | today | MIT | A | 43 | Claude Code, Codex |
| happiness-skillkangarooking/cangjie-skill | Skill | 13k | 1mo ago | MIT | A | 136 | Claude Code, Codex |
| trading-risk-gatewinstonkoh87/Athena-Public | Skill | 655 | 2d ago | MIT | A | 53 | Claude Code |
| config-validatorjmagly/aiwg | Skill | 232 | today | MIT | A | 15 | Claude Code, Codex |