bootstrap

bootstrap is a skill for Claude Code from infragate/capa. It costs 146 tokens per session (5,537 once invoked), scanned B, original, MIT.

A skill that scans an existing project for agent add-ons and gathers them into shared folders and a capabilities configuration file. It looks across tools such as Claude, Cursor, Codex, and Gemini.

In plain words
What is it for?
Use it to inventory MCP servers, skills, rules, hooks, sub-agents, and plugins, then create or update the project’s shared configuration.
Why use it?
It reduces the manual work of finding scattered project settings and consolidating them.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it to inventory MCP servers, skills, rules, hooks, sub-agents, and plugins, then create or update the project’s shared configuration.

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

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 bootstrap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/infragate/capa/bootstrap"><img src="https://agentmods.dev/badge/skills/infragate/capa/bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,537 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00146 $0.05537
Opus 5.5 $0.00058 $0.02215
Sonnet 5.5 $0.00029 $0.01107
Haiku 4.5 $0.00015 $0.00554

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

Security

Grade B, and why

bootstrap scanned grade B with 1 finding 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

- **For each MCP server**, prefer the most complete config from any source (e.g., if `.cursor/mcp.json` has env vars and `.claude/settings.json` doesn't, take Cursor's). Replace literal secrets with `${VarName}` placehol
skills/bootstrap/SKILL.md · 296 lines

How it starts

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

Bootstrap

Turn an existing project that has accumulated MCP servers, skills, rules, hooks, and sub-agents across several provider-specific directories into a clean, reproducible capabilities.yaml managed by capa.

When to use

The user has a repo that already works with at least one AI coding agent (Claude Code, Cursor, Codex, Gemini, Copilot, etc.) but has never run capa init. They want capa to take over so the configuration is shared across providers and version-controlled in one place.

Trigger words and shapes: "bootstrap capa", "capify", "set capa up on this repo", "convert my .claude/.cursor config to capa", "I have a bunch of skills and rules already — onboard them".

If capabilities.yaml already exists at the repo root, this skill is the wrong tool — point the user at the capabilities-manager skill instead, which knows how to extend an existing file.

How this relates to capabilities-manager

Bootstrap is the one-time on-boarding helper. It produces a capabilities.yaml from scratch. capabilities-manager is the long-term editor — adding skills, registering MCP servers, configuring hooks on an already-bootstrapped project. Read capabilities-manager for schema details and YAML examples rather than re-deriving them here; this skill focuses on discovery and migration, and defers all schema questions to it.

When you (the agent) need to know the exact shape of a skills: entry, a hooks: entry, the canonical event names, the difference between @ and :: in def.repo, or any other schema-level detail — load the capabilities-manager skill rather than guessing. Bootstrap calls schema decisions out by name, but never inlines the schema reference.

The flow at a glance

  1. Preflight — verify capa is installed, decide whether to branch, check for an existing capabilities.yaml.
  2. Discover — sweep the repo for every flavor of agent config, including symlinks and submodules.
  3. Plan — present the inventory to the user, propose moves, get sign-off before touching files.
  4. Migrate — move provider-specific items into shared top-level dirs.
  5. Synthesize — write capabilities.yaml and update .gitignore.
  6. Verify — run capa install and surface anything that didn't take.
  7. Inspect tools — for each registered MCP server, ask capa what tools it exposes. Servers expose all their tools by default (expose: all), and with the default search mode the agent finds them by task, so usually nothing needs to be added; narrow with except / exactly or curate tools: only when the project needs it. Servers with zero tools usually mean unfinished auth — tell the user and wait.

Read the full file on GitHub · 296 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · +22 lines fc3467e15cbf
  2. 1mo ago First seen · 274 lines · 146 tokens per session scan B 387dcbf7828a

Subscribe to this mod's changes

bootstrap is a skill published in the GitHub repository infragate/capa (719 stars, last pushed yesterday), licensed MIT. It adds 146 tokens to every session and 5,537 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

frontmcp-development

Use when building any FrontMCP server component other than a tool (for tools, use create-tool). Covers @Resource static resources and parameterized URI templates; @Prompt reusable prompts (RAG, multi-turn); @Provider singleton dependency-injection providers (database pools, API clients); @Agent autonomous LLM agents…

agentfront/frontmcp · 196 tokens

pipefy-ai-agents

Use this skill when the user wants to create, read, update, delete, or troubleshoot AI agents (conversational agents with behaviors). Includes pre-flight validation and pipe-scoped knowledge bases (list, plain text/document/data lookup CRUD, access probe) attached via dataSourceIds. For traditional automations and AI…

pipefy/ai-toolkit · 80 tokens

pipefy-api-fallback

Use this skill when a toolkit operation fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow…

pipefy/ai-toolkit · 86 tokens

git-cheatsheet

Use this skill when working with git commands, version control, or repository management.

LobsterTrap/lola · 15 tokens

pipefy-members-email-webhooks

Use this skill when the user wants to manage pipe membership, send or read card inbox emails, use email templates, or manage webhooks.

pipefy/ai-toolkit · 35 tokens

reskill-usage

Teaches AI agents how to use reskill — a Git-based package manager for AI agent skills. Covers CLI commands, install formats, configuration, publishing, and common workflows.

kanyun-inc/reskill · 40 tokens