rig-task

rig-task is a skill for Claude Code from agent-rig/rig. It costs 150 tokens per session (6,292 once invoked), scanned A, original, MIT.

An end-to-end workflow for implementing one coding task from its specification through testing, review, and a pull request. A pull request is a proposed code change submitted for review before it is merged.

In plain words
What is it for?
Use it for a tracker issue or a one-off implementation: review the requirements, code with TDD, open a pull request, respond to review feedback, and finish with a clean review.
Why use it?
It organizes the full lifecycle of a small task and keeps coding, review, fixes, and CI checks connected. TDD, or test-driven development, means writing a failing test before the implementation.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it for a tracker issue or a one-off implementation: review the requirements, code with TDD, open a pull request, respond to review feedback, and finish with a clean review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent-rig/rig/rig-task
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 agent-rig/rig --skill rig-task
Clone the repo
git clone --depth 1 https://github.com/agent-rig/rig

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent-rig/rig/rig-task"><img src="https://agentmods.dev/badge/skills/agent-rig/rig/rig-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,292 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.00150 $0.06292
Opus 5.5 $0.00060 $0.02517
Sonnet 5.5 $0.00030 $0.01258
Haiku 4.5 $0.00015 $0.00629

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

Security

Grade A, and why

rig-task 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 1mo 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/rig-task/SKILL.md · 402 lines

How it starts

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

rig-task — implement one unit of work end-to-end

Take a single unit of work — a tracker issue or an ad-hoc "implement this" with no issue filed — code it test-first, open a PR, drive it to a clean review, and hand back. Never auto-merges unless --auto-merge is passed (then CI gates the merge — see Step 5). This is the orchestrator over the kit's building blocks: it delegates isolation to /rig-worktree, review to /rig-review, and the fix loop to /rig-review fix, so each concern lives in one place.

It's the single-unit sibling of /rig-epic (one unit vs many interleaved), and mirrors its lifecycle: start gets you to an open PR, finish drives the review to clean. By default a bare invocation runs both in one continuous session — the phases exist for when you want to open the PR, let CI / the review bot run, and finish later. /rig-sprint calls this once per item.

Configuration

Reads .rig/config.json (defaults in parentheses):

  • tracker.provider — linear | github | none (none). Selects how the spec is loaded and the PR is linked. none → the item is an ad-hoc task description; no ticket calls.
  • tracker.ticketPrefix — e.g. ABC-; used to infer a ticket from the branch.
  • tracker.githubIntegration — when true, GitHub drives PR/merge transitions (In Review, Done); rig still sets the start-of-work "In Progress" (Step 1), which GitHub can't observe before a PR exists. When false/absent, you may move states freely.
  • tracker.labelMapFile (.claude/label-mapping.md) — label source of truth.
  • tracker.board — GitHub Projects v2 identity (owner, projectNumber, statusOptions, closingKeyword). Used at PR-open (Step 4) to link the PR and move the board via the rig-tracker adapter. Absent → no board steps.
  • vcs.baseRef (origin/main), vcs.defaultBranch (main), vcs.branchConvention ({user}/{ticket}-{slug}), vcs.protectedBranchMergeQueue (false).
  • runtime.packageManager / runtime.installCommand — passed to /rig-worktree.
  • test.command (npm test), test.integrationCommand, test.e2eCommand.
  • review.patternsFile (.claude/REVIEWER.md), review.bot (none), review.botRetrigger, review.maxRounds (5).
  • style.guideFile (.claude/STYLE.md) — the house style for the commit message, the PR body, and the hand-back line.
  • agents.architect / agents.qa / agents.coder / agents.reviewer (default rig-<role>) — the registered agent names for each role.

Read the full file on GitHub · 402 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. 1mo ago Changed · +65 lines d0ca8d453909
  2. 1mo ago First seen · 337 lines · 150 tokens per session scan A 3c5e46864902

Subscribe to this mod's changes

rig-task is a skill published in the GitHub repository agent-rig/rig (3 stars, last pushed 1mo ago), licensed MIT. It adds 150 tokens to every session and 6,292 once invoked, about $0.0006 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.