rig-onboard

rig-onboard is a skill for Claude Code, Codex from agent-rig/rig. It costs 67 tokens per session (3,549 once invoked), scanned A, original, MIT.

An onboarding tool that examines a project, creates its project profile, and installs selected Rig skills, agents, scripts, and continuous-integration workflows.

In plain words
What is it for?
Use it to detect a project's technology stack, set up Rig, choose the pieces to install, and prepare the project for Rig-based work.
Why use it?
It removes the manual work of adapting Rig to an unfamiliar codebase. The setup is agreed with the user and left documented in the project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it to detect a project's technology stack, set up Rig, choose the pieces to install, and prepare the project for Rig-based work.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent-rig/rig/rig-onboard"><img src="https://agentmods.dev/badge/skills/agent-rig/rig/rig-onboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,549 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.00067 $0.03549
Opus 5.5 $0.00027 $0.01420
Sonnet 5.5 $0.00013 $0.00710
Haiku 4.5 $0.00007 $0.00355

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

Security

Grade A, and why

rig-onboard 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-onboard/SKILL.md · 231 lines

How it starts

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

Rig onboarding

You are onboarding the current working project (the "target") into Rig. Your job is to detect what the project is, agree a project profile with the user, copy in the pieces they want, and leave them with a working, documented setup. Be interactive but efficient — detect aggressively, ask only what you cannot infer.

0. Locate the kit (RIG_DIR)

The kit lives in a directory (RIG_DIR) separate from the target project — you copy files out of it. Resolve RIG_DIR in this order:

  1. An explicit local path in the invocation args.

  2. This skill's own location (.../rig/skills/rig-onboard/) → RIG_DIR is two levels up (the repo root that contains skills/, agents/, ci/).

  3. ~/dev/rig, then ~/rig.

  4. Remote (the zero-setup path). If none of the above exist — which is the case when the user just pointed you at a GitHub URL for this skill — clone the kit to a temp dir and use that as RIG_DIR:

    RIG_DIR="$(mktemp -d)/rig"
    git clone --depth 1 <RIG_REPO_URL> "$RIG_DIR"
    

    Derive <RIG_REPO_URL> from the URL you were given: strip any /blob/<branch>/… or raw.githubusercontent.com/… suffix back to the repo root (e.g. https://github.com/agent-rig/rig). Cloning is strongly preferred over fetching files one-by-one — the kit is ~40 small text files and a shallow clone grabs them all at once. If git isn't available, fall back to fetching individual raw files as you need them.

Then confirm the resolved RIG_DIR with the user before copying anything. Never copy a file onto itself — if the target project is the kit, stop and say so.

1. Detect the stack (no questions yet)

Read, don't ask. Gather:

  • Runtime / package manager: presence of bun.lockb/bunfig.toml → bun; pnpm-lock.yaml → pnpm; yarn.lock → yarn; package-lock.json → npm; else inspect package.json. Note the monorepo tool (turbo.json, nx.json, workspaces) and package layout (packages/*, apps/*).
  • Test command: read package.json scripts (test, test:integration, test:e2e). Detect whether tests boot a database (docker in test setup, testcontainers, a test-setup.ts preload, a Postgres dep).
  • VCS: git remote get-url origin → project.repo; git symbolic-ref refs/remotes/origin/HEAD or the default branch → vcs.defaultBranch + vcs.baseRef. Check branch protection / merge queue only if gh is available.
  • Tracker: is a Linear MCP server connected? Do existing branch names / recent PR titles carry a ticket prefix (e.g. ABC-123)? If neither, default tracker.provider: "none".
  • Review bot: scan recent PRs (if gh available) for a bot reviewer ("codex", "claude"). Otherwise review.bot: "none".
  • Agent(s) / delivery target: which coding agent does this project use? Map from repo markers to delivery targets (may be more than one):
    • .claude/ or CLAUDE.md → claude-code (native: .claude/skills/, .claude/agents/).
    • AGENTS.md, .agents/, .cursor/, .github/copilot-instructions.md, GEMINI.md, or .windsurf/ → agents-md (universal: skills land in .agents/skills/<name>/ — the standard cross-agent "Agent Skills" layout that Codex, Cursor, Gemini CLI, Copilot, and Rovo Dev auto-discover natively, so no per-skill index file is needed; agents/scripts/review patterns stay under .rig/, the same home as the config profile, since nothing else standardizes those; plus a minimal ## Rig pointer block injected into AGENTS.md). If none detected, default to claude-code; if unsure, ask.
    • .pi/ → pi (pi: skills go to .agents/skills/, which pi scans natively; personas to .pi/agents/ in pi-subagents frontmatter; a /rig dispatcher to .pi/prompts/). Detect alongside the others — a repo worked on from both Claude Code and pi wants both targets.
  • Existing .claude/ or .agents/skills/: note any skills/agents already present so you can warn before overwriting. Also check for a legacy .rig/skills/*.md flat-file layout from a pre-.agents/skills/ onboarding — see "Re-running" below.

Read the full file on GitHub · 231 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 · +21 lines d768b6e253a4
  2. 1mo ago First seen · 210 lines · 67 tokens per session scan A 8ca976c89830

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

hooksmith

Use when designing or reviewing safe Grok Build hooks for linting, tests, formatting, notifications, command guards, lifecycle automation, or project hook trust decisions.

DominikTobureto/awesome-grok-build · 35 tokens

template-shell

Shell helper scripts for the template research framework. Covers system health checks, local CI reproduction, uv bootstrap, and rsync backup/restore contracts under scripts/shell/.

docxology/template · 36 tokens

integration-testing

Validate the entire OBS + PIPE + GitOps + K8s flow end-to-end, and full system behavior from user's perspective. Implements DORA AI Capabilities 4, 5, 6, 7.

paruff/uFawkesAI · 47 tokens

ci

GitLab CI/CD pipeline review and scaffolding for Terraform and Helm/EKS deployments, including individual stages, jobs, manual gates on prod stages, and pipeline credentials. Use when user says 'review my pipeline', 'check my gitlab-ci', 'scaffold a pipeline', 'is my CI correct', 'is my pipeline gated before prod'…

anmolnagpal/devops-skills · 137 tokens

github-actions

GitHub Actions workflow review, scaffolding, and security hardening. Use when user says 'review my workflow', 'check my actions', 'scaffold a workflow', 'is my CI correct', 'pin actions', 'OIDC to AWS', or when working in .github/workflows/.yml files.

anmolnagpal/devops-skills · 66 tokens

pin-guardrail

Pin a shell guardrail (a hook, a git hook, a checker script) with a behavioral test suite, prove the suite is real by mutating the code, and wire it into CI with its mutation ledger. Use when asked to "add tests for this hook", "pin that guard", "mutation-test this script", "this hook has no test", "wire the suite…

craigcossairt/trellis · 94 tokens