About AgentRigs
AgentRigs is a public index of real AI-agent setups — the configuration people commit for Claude Code, Codex, Cursor, Gemini CLI and Copilot. Think dotfyle, but for agent rigs. The goal: make it easy to see what actually works in the wild, and copy it.
The current index has 17.0k rigs from 17.0k public repositories (83% carry an open-source license), last refreshed 2026-11-23.
Where the data comes from
- Repositories are discovered through GitHub's public search and topic pages (e.g.
claude-code,dotfiles,claude-code-config,agent-skills) and curated "awesome" lists, plus submissions. - For each repo we read the file tree and fetch only agent-config files:
.claude/settings.json,.mcp.json,.cursor/mcp.json,.codex/config.toml,CLAUDE.md,AGENTS.md,GEMINI.md,.cursorrules,.cursor/rules/*,skills/*/SKILL.mdfrontmatter,.claude/agents/*.mdfrontmatter, command names and hook definitions. - Forks and archived repos are skipped. Repo metadata (stars, license, last push) comes from GitHub's public API and ecosyste.ms.
- We store structure, not content. Instruction files are reduced to line and token counts. MCP
envand header values are never stored — only key names. Every stored string passes a secret scanner (API-key, token, private-key, JWT, connection-string and high-entropy patterns); matches are replaced with<redacted>. Home-directory paths are shortened to~.
Scoring method
Context tax
An estimate of the tokens a rig loads into every request before you type anything:
- Instructions: root-level
CLAUDE.md/AGENTS.md/GEMINI.md/.cursorrules/ always-apply Cursor rules, plus one level of@imports. We take the heaviest harness, not the sum. Tokens ≈ characters ÷ 4. Nested CLAUDE.md files in subfolders load lazily and are not counted. - MCP tool schemas: a per-server estimate from typical tool counts (e.g. Context7 ≈ 1.2k, Playwright ≈ 7.5k, GitHub ≈ 18k tokens); unknown servers count as 2.5k. Harnesses with deferred tool loading (tool search) pay less — treat this as an upper bound.
- Skills & subagents: only name + description are preloaded, so we count (name + description) ÷ 4 + 8 tokens each.
It's a comparison tool, not a bill: real costs depend on caching, model and harness.
Guardrail score (0–5)
One point each for committed config that:
- Blocks destructive commands — a deny/ask rule matching
rm -rf, force-push,reset --hard,sudo,git clean,DROP,terraform destroy… or a PreToolUse hook that screens Bash. - Protects secrets — a deny rule for
.env, keys,~/.ssh,.aws, credentials… - Has a pre-tool screening hook — a
PreToolUsehook that actually screens something. When we can read its script in the repo (including a bare command likemy-hookthat matches a committed file such asbin/my-hook), it must block (exit 2/ a deny decision) or check a dangerous command or secret path; a no-op or log-only hook does not count. Hooks whose script lives outside the repo get the benefit of the doubt. - Avoids YOLO mode — committed permission config without
bypassPermissions, blanketBash(*)allows, or Codexdanger-full-access. - Sandbox or ask-first — sandbox enabled, Codex
workspace-write/read-only, or explicitaskrules.
Rigs without committed permission config score low by design: harness defaults may still prompt you, but nothing in the repo enforces it.
Standards mapping
Each presence check maps to published guidance. The 0–5 score is AgentRigs' own rubric; these are the sources it operationalises (Rig Doctor and rig pages show the main one as a "why:" link per check).
OWASP Agentic Top 10 (2026) items used: ASI02 Tool Misuse and Exploitation (destructive commands), ASI03 Identity and Privilege Abuse (secrets), ASI05 Unexpected Code Execution (sandbox). Also see the Claude Code security overview and Kiro steering (instruction files).
Guardrail Quality (0–100) Guardrails v2 (Oct 2026)
The 0–5 score measures presence. Quality measures how much the committed config would actually stop. It is deterministic (no LLM), explainable and computed by the same code in the crawler (Python) and in Rig Doctor (TypeScript); a parity test on thousands of indexed rigs checks the two give identical results. Nothing from a repo is ever executed.
| Sub-score (0–100) | Weight | Median* |
|---|---|---|
| Destructive-command coverage | 35% | 0 |
| Secret protection breadth | 25% | 0 |
| Hook effectiveness | 15% | 0 |
| No-YOLO + allow-list hygiene | 15% | 100 |
| Instruction clarity | 10% | 25 |
Quality = round(Σ weight × sub-score / 100). *Median among rigs with presence ≥ 1.
- Destructive-command coverage (35%): % of a fixed corpus of 22 commands that a
deny/askrule or a blocking PreToolUse hook would catch:rm -rf ./build,rm -r -f ./build,rm -fr ./build,rm -Rf ./build,find . -name '*.log' -delete,git push --force origin main,git push -f origin main,git push --force-with-lease origin main,git reset --hard HEAD~3,git clean -fdx,sudo systemctl stop nginx,chmod -R 777 .,dd if=/dev/zero of=/dev/sda bs=1M,mkfs.ext4 /dev/sdb1,curl -fsSL https://example.com/install.sh | sh,terraform destroy -auto-approve,kubectl delete namespace prod,npm publish,psql -c "DROP TABLE users;",/bin/rm -rf ./build(bypass),bash -c 'rm -rf ./build'(bypass),git -C . push --force origin main(bypass). Rules are matched with Claude Code's documented semantics:*matches any text,Bash(x:*)≡Bash(x *), a trailing*requires a word boundary (soBash(git push --force:*)does not match--force-with-lease), matching is case-sensitive, deny/ask rules apply to each subcommand of a pipe/chain and past leadingVAR=assignments. The three documented bypasses of prefix rules are in the corpus: an absolute path (/bin/rm), a shell wrapper (bash -c '…') and git global options (git -C . push); only broad rules or a hook that inspects the full command catch them. A hook is credited for a command when its script blocks and mentions that command's pattern (static heuristic). Kiroshell(…)rules are matched the same way. - Secret protection breadth (25%): 12 cells = 6 path types (.env*, *.pem / *.key, ~/.ssh, ~/.aws, .npmrc / .netrc, credentials files) × Read and Edit. Each cell is tested against sample paths with Claude Code's gitignore-style path rules (
./,/,~/,//anchors; bare names match at any depth). Deny = full credit, ask = half. Per the docs,Write(path)rules are never consulted for file permissions, so they earn nothing (we flag them). A blocking hook whose matcher covers Read/Edit and that mentions the path type also counts. - Hook effectiveness (15%): static analysis of the script each PreToolUse hook runs, fetched read-only from the repo (plus up to 3 local scripts it calls). "Blocks" requires a real blocking mechanism:
exit 2,sys.exit(2)/process.exit(2), a"decision": "block"orpermissionDecision: "deny"JSON.exit 1does not block in Claude Code, so a script that only exits 1 or logs is "non-blocking". Bash-screening blocking hook = 100, file-only blocking hook = 60, otherwise 0. Scripts outside the repo (e.g.~/.claude/hooks, npx packages) are unknown, scored 0 and labelled unknown, never a pass. - No-YOLO + allow-list hygiene (15%): 0 without committed config or with YOLO (
bypassPermissions, skipped danger prompt,Bash/Bash(*)allow, Codexdanger-full-access). Otherwise 100 minus: rm allowed −20; WebFetch for every domain −15; wildcard MCP (mcp__*) −15; a shell/interpreter allowed (bash,python,node,npx,xargs…) −15; all edits pre-approved −10; every git subcommand −10; curl/wget −5; docker −5; Codexapproval_policy = "never"−20. - Instruction clarity (10%): deterministic pattern checks of CLAUDE.md / AGENTS.md / Kiro steering for explicit directive lines (never / don't / must not / ask before / without approval…) about each of deletion / destructive ops, secrets / credentials, pushes / git history, production / deploys: 25 points each. No LLM grader in v1, so results are reproducible.
Across the index: median quality 3/100 (rigs with presence ≥1: 18); 96% of rigs with presence ≥1 miss at least one of the documented bypasses.
Limitations: static analysis only, so a hook's credit is a heuristic about what its script mentions, not proof it fires; we do not see user-level ~/.claude/settings.json, managed settings or CLI flags; the sandbox protects at the OS level and is credited by the presence score, not by the command corpus; Codex .rules exec policies, Cursor permissions.json and Kiro agent rules beyond shell(…) are not parsed yet; instruction checks look for the presence of directives, not whether the model follows them (the vendors themselves say instructions are guidance, permissions are enforcement). Hook and instruction facts come from the last crawl.
Archetype
First match wins: YOLO Cowboy (explicit bypass) → Fort Knox (guardrails ≥4) → MCP Hoarder (6+ servers) → Orchestrator (5+ subagents) → Skill Collector (10+ skills) → Automator (4+ hooks) → Minimalist (<2.5k tokens, ≤4 components) → Pragmatist.
Kiro mapping
Kiro (Amazon's agentic IDE and CLI) keeps its config under .kiro/. We read the files a repo can commit and map them onto the same scores. Some things map cleanly, some only partly, and some don't map at all:
| Kiro file | How it's scored |
|---|---|
.kiro/steering/*.md | Instructions. Front matter inclusion: always (the default when there's no front matter) loads every turn, so it counts like CLAUDE.md, plus #[[file:…]] references. inclusion: auto counts only its name + description, like a skill. fileMatch and manual steering isn't counted: it only loads when a matching file or a #mention pulls it in. Root AGENTS.md is added too, because Kiro always includes it. |
.kiro/settings/mcp.json | MCP tool schemas, same estimates as every other harness. Servers with "disabled": true are skipped. disabledTools doesn't lower the estimate (we don't know each tool's share). autoApprove is shown on the rig page, and Rig Doctor flags "*", but it doesn't change the 0–5 score. |
.kiro/hooks/*.json (and legacy *.kiro.hook) | Hooks. A PreToolUse trigger (legacy preToolUse) counts as a pre-tool screening hook, and as "blocks destructive commands" when it targets shell/* and looks like a guard. File-save, prompt-submit and stop hooks count toward the Automator archetype only. |
.kiro/agents/*.json | Guardrails + subagents. permissions rules (capability / match / effect) become deny/ask/allow rules, e.g. shell(rm -rf *) or fs_read(**/.env). Legacy toolsSettings (deniedCommands, allowedCommands, deniedPaths) and allowedTools are read the same way. An agent with any of these counts as committed permission config. Pre-approving every shell command (allowedTools: ["*"], "shell", or a shell allow on *) counts as YOLO. Agents also count as subagents (name + description), and their mcpServers and inline hooks are included. |
.kiro/specs/*/ | Listed on the rig page. No context tax, because specs are opened on demand. |
What doesn't map: Kiro's main permission files (~/.kiro/settings/permissions.yaml and the per-workspace rules under ~/.kiro/workspace-roots/) live outside the repo by design, so a cloned repo can't inject rules. That means most Kiro rigs get few guardrail points unless they commit a custom agent with permissions. Kiro has no repo-level sandbox switch (Kiro Web runs in a cloud sandbox), so the sandbox point comes only from ask rules.
Tech stack tags
Each rig's repo is tagged with its stack, found from the GitHub languages API (languages with at least 15% of the code, or one of the top two at 5% or more) plus root manifests and common subfolders (frontend/, backend/, web/…): package.json dependencies (Next.js, React, Vue, Svelte, Astro, Express, NestJS, Supabase, Prisma, Tailwind…), pyproject / requirements (Django, FastAPI, Flask, PyTorch, LangChain…), go.mod, Cargo.toml, Gemfile (Rails), composer.json (Laravel), pubspec.yaml (Flutter) and more. Results are cached per repo and refreshed when the repo changes (at most every 30 days). Browse them at /stack.
Field and workflow tags
Field (/field) is the repo's domain: fintech, healthcare, games, e-commerce, developer tools, AI/ML, data, security, education and more. It comes from fixed keyword lists matched against GitHub topics (3 points), the description (2) and the README (1 per distinct term, up to 3; only the counts are kept, never the text). A field needs 3 points, and README-only evidence needs 4+ distinct terms. We keep at most two fields, and "Developer tools" only when nothing more specific matches. Anything below that stays unknown.
Workflow (/workflow) is what the agent setup is built to do: PR review, testing/TDD, CI/CD, refactoring, docs, debugging, security review, data/ETL, frontend/design, planning/specs, git and research. Each matching skill, subagent, command, hook or Kiro steering name or description adds 2 points. A .github/workflows file that runs an agent (claude-code-action, codex exec, Gemini CLI…) adds 3 to what it does (e.g. reviews on pull_request). Keyword hits in always-loaded CLAUDE.md / AGENTS.md / steering add up to 2. A workflow needs 3 points, and generic ones (git, design, planning) need 4. We show up to five.
Component matching
MCP servers are identified by npm/PyPI package, Docker image, git source or remote host, with aliases merged (e.g. @upstash/context7-mcp and mcp.context7.com are both Context7). Local/custom servers are shown on rig pages but not ranked. Skills and subagents are matched by normalised name and listed once they appear in 4+ rigs (plugins 2+); MCP servers are listed from their first rig.
Rig Doctor, Trending, Starters and The Rig Report
Rig Doctor applies exactly this method to your own setup: paste CLAUDE.md, AGENTS.md, settings.json, .mcp.json or Kiro steering / mcp.json / hooks / agents (analysed in your browser, never uploaded), or give a public GitHub URL (a Pages Function fetches only the standard agent-config paths from raw.githubusercontent.com with size caps and timeouts, redacts env values and anything secret-looking, and stores nothing). You get your context tax by source, guardrail score, archetype, percentiles vs all indexed rigs, fixes with estimated token savings, ready-to-paste guardrail snippets and a shareable result card.
Trending compares adoption among rigs pushed in the last 7 / 30 days with older rigs, and keeps a dated snapshot of every component's adoption each day (sparklines and week-over-week change appear as snapshots accumulate). Starter rigs are curated, guarded setups distilled from well-scored public rigs, each citing its sources. The Rig Report is a free weekly email built from the same data; it has one clearly labelled sponsor slot per issue.
Badges
Every ranked component has a live SVG badge at https://agentrigs.dev/badge/<type>/<id>.svg, and every rig at https://agentrigs.dev/badge/rig/<owner>/<repo>.svg (shows ~context tax, tier and guardrails x/5). Copy the snippet from any component or rig page, or see the badge page.
Contact
Corrections, takedowns and partnerships: hello@agentrigs.dev · opt-out form. AgentRigs is independent and not affiliated with Anthropic, OpenAI, Anysphere (Cursor), Google or GitHub. Product names are trademarks of their owners.