AgentCapsule — Development skill for Claude Code
Define an agent once as a Role plus bundled Skills, and launch it on Claude Code or Pi.
How to install AgentCapsule
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Humanive/AgentCapsule and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AgentCapsule does
Define an agent once as a Role plus bundled Skills, and launch it on Claude Code or Pi.
Alternatives in Development
- North Star Metric — Define North Star Metric and input metrics constellation 7.8k ★
- Define Schema — Renamed → /portaljs-define-schema 2.3k ★
- Part 2 — Product Requirements Document (prd) Generator — I'll help you create a Product Requirements Document (PRD) for your MVP 2.1k ★
README
AgentCapsule
**Define an agent once. Run it anywhere.**
A Capsule is a portable agent package: a **Role** (who the agent is and what it is responsible for) plus the **Skills** it carries with it. AgentCapsule launches a Capsule on Claude Code or Pi, either as the session's main agent or as a subagent, without writing anything into your project.
capsules/researcher/
├── CAPSULE.md # frontmatter: name + description; body: the Role
└── skills//SKILL.md # optional
Usage
npx agentcapsule list
npx agentcapsule inspect researcher
# researcher is the main agent; your project's CLAUDE.md still applies
npx agentcapsule launch researcher --runtime claude
# your normal agent stays main and can delegate to researcher and reviewer
npx agentcapsule launch --runtime claude --with researcher --with reviewer
# everything after -- goes to the runtime unchanged
npx agentcapsule launch researcher --runtime pi -- --model sonnet
Capsules are found in `--catalog DIR`, else `./capsules` in the current directory, else the examples bundled with this package.
How a Capsule is injected
Nothing is written into your project or global configuration. Session files live in a temporary directory that is removed when the runtime exits.
| Runtime | Main capsule | Subagent capsule | Skill visibility |
|---|---|---|---|
| Claude Code | Role via --append-system-prompt-file; skills via a session plugin (--plugin-dir) |
--agents under its bare name, preloading its plugin skills |
Whole session; namespaced : |
| Pi | Role via --append-system-prompt; skills via --skill |
pi-subagents agent via PI_SUBAGENT_EXTRA_AGENT_DIRS (requires the pi-subagents package) |
Main: whole session. Subagent: only its own skills |
A subagent keeps its bare Capsule name on every runtime, so for that session it shadows any user or project agent with the same name.
Codex is not supported yet: it has no session-only way to load skills from
Related Skills
Photon
Define intent once. Photon turns a single TypeScript file into CLI tools, MCP servers, and web interfaces.
Provledger Dashboard
Launch the read-only provLedger review dashboard (bundled webapp) on localhost.
List Spells
Browse all available spells (yours plus bundled)
Wato Author And Publish Skill
Draft a versioned team skill (SKILL.md plus bundled files) over MCP, move it through review, and publish it fo
Plan And Analyze
Launch the PRD architect agent to define goals, requirements, scope, and generate a Product Requirements Docum
Auditor Executor Protocol
A two-role Auditor/Executor protocol for multi-phase agent-executed work, plus a small CLI (auditkit) that sca
Related Agents
Launch Coordinator
Use to prepare release notes and a rollout/rollback checklist once the CEO review has signed off. Invoke for t
Swe Dev Structured Problem Solver
A research-backed problem-solving harness for software engineering. Uses Wankat and Oreovicz's engineering loo
Harden Issues Seam
Reads a whole set of hardened issues plus the attackers' findings and hunts the gaps between them, for the /ha