Rig Plan

Rig Plan is a skill for Claude Code, Codex from Borda/AI-Rig. It costs 45 tokens per session (1,257 once invoked), scanned A, original, Apache-2.0.

An implementation-planning workflow that turns a coding goal into a fixed set of steps, owned files, checks, risks, and acceptance criteria.

In plain words
What is it for?
Use it before making a small, local, or cross-subsystem change when you need an executable plan, explicit non-goals, rollback guidance, and checks that show the change works.
Why use it?
It removes the need to repeatedly decide what is in scope during implementation. It also requires the plan to be based on the actual source, tests, configuration, and users of the code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Read [Evidence rules](../../references/evidence.md) before writing any factual claim. Follow [Role dispatch](../../references/evidence.md#role-dispatch) for nat.

Good fit Use it before making a small, local, or cross-subsystem change when you need an executable plan, explicit non-goals, rollback guidance, and checks that show the change works.

Compare 6 skills 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/Borda/AI-Rig
agentmods
npx agentmods add skills/borda/ai-rig/rig-plan

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 Rig Plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/borda/ai-rig/rig-plan/github.svg)](https://agentmods.dev/skills/borda/ai-rig/rig-plan)
Your own site
<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.

agentmods 80×15 button for Rig Plan

Your own site · 80×15
<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>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,257 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.00045 $0.01257
Opus 5.5 $0.00018 $0.00503
Sonnet 5.5 $0.00009 $0.00251
Haiku 4.5 $0.00005 $0.00126

Measured 12d ago against content hash 1b355f1af073, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/opencode-rig/src/resources/skills/rig-plan/SKILL.md · 46 lines

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

  1. Classify scope. TRIVIAL under 3 files and 50 changed lines; LOCAL one subsystem; BROAD cross-subsystem or 8+ files; HIGH_RISK when auth, credentials, data, release, CI, or migrations are touched. State the classification and why.
  2. Start the run. Detect gates with rig_gate and action: "detect". Call rig_evidence with action: "start", skill: "rig-plan", and the target paths; if no configured gate exists, include gate_exemption describing the manual check that replaces it. Keep the returned run_id.
  3. 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 returned run_id, and inputs.
  4. Decide every surface. Put each candidate surface in one verdict table with exactly one verdict: in-scope, deferred with its unblock condition, or out-of-scope with its reason. No surface stays unclassified.
  5. Reconcile owned paths. For each in-scope row, 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 an in-scope row, and every in-scope row names a path.
  6. Build the task tree. Derive it from the in-scope rows, 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_reason says why. Every leaf has one owner, one owned path set and exactly one acceptance check. Leaves must be a subset of the in-scope rows; a shared path between siblings becomes a depends_on edge, never parallel siblings. Caps: depth 4, 32 leaves.
  7. Write the plan to <run-dir>/plan.md with: a revision counter, the verdict table, a "Verdict changes since the previous revision" section, a ## Task tree JSON block, the derived workstreams, goal, scope classification, numbered steps, owned paths, gates, risks, rollback, acceptance criteria, and explicit non-goals.
  8. Challenge until the plan is ready. Compute the plan file's SHA-256 and dispatch rig-challenger (native subagent when installed, otherwise rig_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 rounds section (round, reviewer, open/fixed signatures, stop reason), and re-challenge the revised bytes. Repeat until the challenger reports no blocking findings (converged), or record round-limit at options.maxLoopRounds (an instruction budget) or authority-required for a decision only the user can make. converged is the only outcome that freezes; a round-limit/authority-required plan records its residue and is not ready.
  9. Freeze it. Record the plan with rig_evidence (action: "record", plan_path, plan_digest containing the exact digest assessed by the independent challenger, and reviewer naming 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.

Read the full file on GitHub · 46 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. 12d ago Changed · +1 lines 1b355f1af073
  2. 13d ago Changed 290689a20d45
  3. 14d ago Changed · +2 lines 28dd07deb2af
  4. 18d ago Changed · +24 tokens per session 81e791e682d6
  5. 26d ago Changed · +4 lines c56fdbe72fb6
  6. 1mo ago First seen · 39 lines · 21 tokens per session scan A 26adb8f12855

Subscribe to this mod's changes

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.

Related

Rig Plan compared with skills from other repositories

Rig Plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Rig PlanBorda/AI-RigSkill31yesterdayApache-2.0A45Claude Code, Codex
i18n-parityhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA95Claude Code, Codex
file-headershoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA101Claude Code
productivity-scorehoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA67Claude Code, Codex
dashboard-statushoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA69Claude Code, Codex
dag-maphoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA65Claude Code, Codex
regression-watchhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA82Claude Code, Codex