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.
git clone --depth 1 https://github.com/Borda/AI-Rignpx agentmods add skills/borda/ai-rig/rig-planWrote 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/borda/ai-rig/rig-plan)<a href="https://agentmods.dev/skills/borda/ai-rig/rig-plan"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/rig-plan/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/borda/ai-rig/rig-plan"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/rig-plan.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.00045 | $0.01257 |
| Opus 5.5 | $0.00018 | $0.00503 |
| Sonnet 5.5 | $0.00009 | $0.00251 |
| Haiku 4.5 | $0.00005 | $0.00126 |
Grade A, and why
Rig Plan 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 12d 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rig Plan
Read Evidence rules before writing any factual claim. Follow Role dispatch for native-agent fallback and stop on reported scope violations.
Produce one plan that implementation can execute without re-deciding scope.
Input
- Goal or issue.
- Target paths, PR, or area, when known.
- Constraints: compatibility, deadlines, review requirements.
Workflow
- Classify scope.
TRIVIALunder 3 files and 50 changed lines;LOCALone subsystem;BROADcross-subsystem or 8+ files;HIGH_RISKwhen auth, credentials, data, release, CI, or migrations are touched. State the classification and why. - Start the run. Detect gates with
rig_gateandaction: "detect". Callrig_evidencewithaction: "start",skill: "rig-plan", and the target paths; if no configured gate exists, includegate_exemptiondescribing the manual check that replaces it. Keep the returnedrun_id. - Collect evidence. Read the actual source, tests, configuration, and consumers. Do not plan from filenames alone. Record each authoritative file with
rig_evidence,action: "record", the returnedrun_id, andinputs. - Decide every surface. Put each candidate surface in one verdict table with exactly one verdict:
in-scope,deferredwith its unblock condition, orout-of-scopewith its reason. No surface stays unclassified. - Reconcile owned paths. For each
in-scoperow, name its owned path, its consumer, and the check that proves it still works. The table and the owned-path list must reconcile both ways: every owned path has anin-scoperow, and everyin-scoperow names a path. - Build the task tree. Derive it from the
in-scoperows, never hand-write a second scope. The tree is depth-first: a node splits only when its goal is not a coherent, independently verifiable unit;split_reasonsays why. Every leaf has one owner, one owned path set and exactly one acceptance check. Leaves must be a subset of thein-scoperows; a shared path between siblings becomes adepends_onedge, never parallel siblings. Caps: depth 4, 32 leaves. - Write the plan to
<run-dir>/plan.mdwith: arevisioncounter, the verdict table, a "Verdict changes since the previous revision" section, a## Task treeJSON block, the derived workstreams, goal, scope classification, numbered steps, owned paths, gates, risks, rollback, acceptance criteria, and explicit non-goals. - Challenge until the plan is ready. Compute the plan file's SHA-256 and dispatch
rig-challenger(native subagent when installed, otherwiserig_dispatch) with the exact plan bytes and digest, the verdict table, the task tree, source digests and acceptance criteria. Accept only findings that cite source. Resolve every blocking finding, write the round into the plan's## Challenge roundssection (round, reviewer, open/fixed signatures, stop reason), and re-challenge the revised bytes. Repeat until the challenger reports no blocking findings (converged), or recordround-limitatoptions.maxLoopRounds(an instruction budget) orauthority-requiredfor a decision only the user can make.convergedis the only outcome that freezes; around-limit/authority-requiredplan records its residue and is not ready. - Freeze it. Record the plan with
rig_evidence(action: "record",plan_path,plan_digestcontaining the exact digest assessed by the independent challenger, andreviewernaming that challenger) and finalize. Finalization rejects a digest mismatch between reviewed, bound, and current plan bytes; never replace the reviewed digest with one from unreviewed edits.
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.
- 12d ago Changed · +1 lines 1b355f1af073
- 13d ago Changed 290689a20d45
- 14d ago Changed · +2 lines 28dd07deb2af
- 18d ago Changed · +24 tokens per session 81e791e682d6
- 26d ago Changed · +4 lines c56fdbe72fb6
- 1mo ago First seen · 39 lines · 21 tokens per session scan A 26adb8f12855
Rig Plan is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 1,257 once invoked, about $0.0002 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-10-28.
Rig Plan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Rig PlanBorda/AI-Rig | Skill | 31 | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| i18n-parityhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 95 | Claude Code, Codex |
| file-headershoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 101 | Claude Code |
| productivity-scorehoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 67 | Claude Code, Codex |
| dashboard-statushoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 69 | Claude Code, Codex |
| dag-maphoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 65 | Claude Code, Codex |
| regression-watchhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 82 | Claude Code, Codex |