Rig Challenge

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

A bounded review process in which independent challengers look for counterexamples and logic problems in a proposed change. It records findings, applies validated fixes, and repeats until the findings stop decreasing under its rule.

In plain words
What is it for?
Adversarially checking code or another bounded deliverable against exact acceptance criteria, confirming findings, fixing them, rerunning checks, and keeping evidence of the review.
Why use it?
It prevents the person making a change from being the only reviewer. The recorded source, criteria, findings, and changed paths make the review easier to track.

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) and [Convergence](../../references/convergence.md). Follow [Role dispatch](../../references/evidence.md#role.

Good fit Adversarially checking code or another bounded deliverable against exact acceptance criteria, confirming findings, fixing them, rerunning checks, and keeping evidence of the review.

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-challenge

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 Challenge

README.md
[![agentmods](https://agentmods.dev/badge/skills/borda/ai-rig/rig-challenge/github.svg)](https://agentmods.dev/skills/borda/ai-rig/rig-challenge)
Your own site
<a href="https://agentmods.dev/skills/borda/ai-rig/rig-challenge"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/rig-challenge/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 Challenge

Your own site · 80×15
<a href="https://agentmods.dev/skills/borda/ai-rig/rig-challenge"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/rig-challenge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,306 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.00043 $0.01306
Opus 5.5 $0.00017 $0.00522
Sonnet 5.5 $0.00009 $0.00261
Haiku 4.5 $0.00004 $0.00131

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

Security

Grade A, and why

Rig Challenge 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-challenge/SKILL.md · 60 lines

How it starts

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

Rig Challenge

Read Evidence rules and Convergence. Follow Role dispatch for native-agent fallback and stop on reported scope violations.

Input

  • Bounded task, exact source paths, and acceptance criteria.
  • Optional: a prior ledger and its run ID.

Workflow

  1. Freeze the baseline. Detect gates using rig_gate with action: "detect". If there is no configured gate, pass gate_exemption naming the reason and manual substitute at start. Start a run with rig_evidence (action: "start", skill: "rig-challenge", and paths naming the exact target source files) and record the exact source and acceptance criteria.

  2. Round 1 — independent challenge. Dispatch rig-challenger with the complete source and criteria. The challenger returns structured findings: invariant, counterexample, severity, and file reference. The parent does not challenge its own work. Ensure correctness is covered (the challenger must examine logic/control flow).

  3. Validate. Check each finding against the source. Record a stable signature: file plus normalized invariant. Use rig_loop with action: "start" and reviewer naming the independent challenger; the baseline round's weighted total is W0. If W0 is zero, print the returned progress table and proceed directly to step 8.

  4. Fix. Address validated findings only. One writer per path. Refresh the run scope with rig_evidence (action: "refresh", message giving the reason) after the last fix, then run configured gates.

  5. Re-assess. A fresh challenger receives the prior findings, the complete required source, and the changed paths. It marks resolved signatures fixed or rejected, retains unresolved signatures as open, and may report new signatures.

  6. Score and decide. Append the round with rig_loop (action: "append", reviewer, and every prior signature assessed). Score per Convergence, using the tool's decision.

Read the full file on GitHub · 60 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 564b6d835515
  2. 13d ago Changed · +17 lines 3539a1b927ba
  3. 14d ago Changed · +2 lines fc6e5d9290a2
  4. 18d ago Changed · +2 lines · +21 tokens per session f85bf9908a7c
  5. 1mo ago First seen · 39 lines · 22 tokens per session scan A fc0e00fec2dc

Subscribe to this mod's changes

Rig Challenge is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 43 tokens to every session and 1,306 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 Challenge compared with skills from other repositories

Rig Challenge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Rig ChallengeBorda/AI-RigSkill31yesterdayApache-2.0A43Claude Code, Codex
auto-test-codehuangwb8/skillsSkill512d agoMITA56Claude Code, Codex
git-pr-reviewhuangwb8/skillsSkill512d agoMITA76Claude Code, Codex
code-reviewerhuangwb8/skillsSkill512d agoMITA40Claude Code, Codex
coding-assistantathola/skrillsSkill702d agoMITA13Claude Code, Codex
challengefusengine/agentsSkill341mo agoMITA52Claude Code
code-qualityfusengine/agentsSkill341mo agoMITA41Claude Code