Claude Code Agent Development
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
Turn an existing pi skill into an isolated subagent and wire it into a project's implementation pipeline.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard skill-to-subagent --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/authoring-toolkit/.pi/skills/skill-to-subagent .claude/skills/skill-to-subagent && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "skill-to-subagent" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/authoring-toolkit/.pi/skills/skill-to-subagent into .claude/skills/skill-to-subagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-to-subagent", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/authoring-toolkit/.pi/skills/skill-to-subagentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard skill-to-subagent --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/authoring-toolkit/.pi/skills/skill-to-subagent .agents/skills/skill-to-subagent && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "skill-to-subagent" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/authoring-toolkit/.pi/skills/skill-to-subagent into .agents/skills/skill-to-subagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-to-subagent", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard skill-to-subagent --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/authoring-toolkit/.pi/skills/skill-to-subagent .cursor/skills/skill-to-subagent && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "skill-to-subagent" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/authoring-toolkit/.pi/skills/skill-to-subagent into .cursor/skills/skill-to-subagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-to-subagent", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/BlackBeltTechnology/pi-agent-dashboard.git --path packages/authoring-toolkit/.pi/skills/skill-to-subagent--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard skill-to-subagent --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/authoring-toolkit/.pi/skills/skill-to-subagent .gemini/skills/skill-to-subagent && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "skill-to-subagent" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/authoring-toolkit/.pi/skills/skill-to-subagent into .gemini/skills/skill-to-subagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-to-subagent", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard skill-to-subagentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/authoring-toolkit/.pi/skills/skill-to-subagent .github/skills/skill-to-subagent && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "skill-to-subagent" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/authoring-toolkit/.pi/skills/skill-to-subagent into .github/skills/skill-to-subagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-to-subagent", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install BlackBeltTechnology/pi-agent-dashboard skill-to-subagent --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/authoring-toolkit/.pi/skills/skill-to-subagent .opencode/skills/skill-to-subagent && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "skill-to-subagent" agent skill from https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/develop/packages/authoring-toolkit/.pi/skills/skill-to-subagent into .opencode/skills/skill-to-subagent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-to-subagent", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skill-to-subagentTurn an existing pi skill into an isolated subagent and wire it into a project's implementation pipeline.
Skill To Subagent is an agent skill from BlackBeltTechnology/pi-agent-dashboard. Turn an existing pi skill into an isolated subagent and wire it into a project's implementation pipeline. Decides fitness first, writes the bridge agent, routes the model, tunes context inheritance, and wires a spawn checkpoint. Use on "wrap this skill as a subagent", "turn X into a subagent", "should this be a subagent or a skill", "subagentize this", "add a subagent to the pipeline".
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Subagents. The repository describes itself as: Real-time web dashboard for pi coding-agent sessions. Multi-session view, live chat mirroring, integrated terminal, diff viewer, pi-flows execution, and mobile-first remote… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7a2d171. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Skill To Subagent loads about 2k tokens when it runs. Until then it costs about 102 tokens; SKILL.md has 847 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from BlackBeltTechnology/pi-agent-dashboard at commit 7a2d171, republished under its MIT licence (© BlackBeltTechnology). 847 words, ~2,003 tokens.
.claude/skills/skill-to-subagent/SKILL.md (or your agent's skills folder).A skill is instructions loaded into the main agent's context (progressive disclosure: name+description always present, body on trigger). A subagent is a worker spawned beside the main agent in an isolated context window that returns a distilled report, then burns its context. They are orthogonal.
Converting a skill to a subagent is worth it when the skill's work is read-heavy or write-light, self-contained, and returns a distilled artifact — because running it inline would bloat the parent's context and degrade its reasoning. It is harmful when the work is coherence-critical (decisions later steps depend on), because a subagent only sees a compressed snapshot and can make conflicting assumptions.
This skill is the repeatable procedure for that conversion, plus wiring the result into a project's implementation loop. It is tech-stack independent (the target project can be any language) but pi-platform-specific.
When NOT to use:
skill-creatorApply the discriminator first. It is the whole game.
Does the phase need shared coherence with the surrounding work?
(i.e. do later steps depend on decisions made here?)
YES ──▶ INLINE SKILL (full context; review, fix, decide, mutate)
NO, and it is read-heavy / write-light and returns a distilled
artifact ──▶ SUBAGENT (isolated, ≤2KB report)Then confirm fitness — a subagent must clear all of these, or it is negative value:
ask_user loops mid-task (those belong in the parent).If it fails any, keep it an inline skill. Most "writer" and "reviewer" phases fail the coherence test and should stay inline.
.mdThe skill stays the single source of truth. The agent is a thin spawn shell that loads it. Write to <project>/.pi/agents/<Name>.md (project tier) or a package's agents/ dir (shipped tier).
---
description: <when the parent should spawn this>. Wraps /skill:<name>. Returns a distilled report, never raw dumps.
model: "@research" # role ALIAS, resolved at spawn (see Step 3)
inherit_context: false # see Step 4
tools: [read, grep, find, ls, bash] # least-privilege; add write/edit only if it emits files
---
You are the <Name> subagent. Load and follow `/skill:<name>`.
Your single job: <one scoped task>, return a short structured report, then burn
this context so the parent stays sharp.
INPUTS the parent MUST supply in the spawn prompt (inherit_context is false —
you get no parent chatter; work only from these):
• <input 1 — e.g. the diff scope / file paths>
• <input 2 — the intent, 1-2 lines>
OUTPUT CONTRACT (≤ 2000 tokens):
## <Result heading>
<distilled findings — cite path + line ranges, quoted code ≤ 10 lines>
## Notes (what you did not check)
Do NOT paste whole files. Cite path + heading. Then stop.Use role aliases, never literal model ids — the agent then tracks the operator's role config and stays portable across machines.
| Function | Role | Why |
|---|---|---|
| Deterministic pipeline / glue / lookup / exploration | @fast | Cheap, fast; cost dominates |
| Long-context synthesis (transcripts, big docs) | @research | Strong synthesis / long window |
| Reasoning-heavy analysis (security audit, root-cause) | @research (or a reasoning model role) | Careful step-by-step over code |
| Map-reduce | chunk workers @fast, merge @compact/@research | Cheap per chunk, strong merge |
| Mechanical writing (doc rows, merges) | @compact | Cheap-but-capable |
| Visual / screenshot review | @vision | Multimodal |
inherit_contextfalse + explicit inputs (default, most reliable). The child starts clean; the parent passes every input in the spawn prompt. Dodges the compression-drop trap. Use for self-contained batch/analysis jobs.true only when the child's judgement genuinely needs the surrounding decision context — and even then, still pass exact paths + intent in the prompt, because the inherited snapshot is compressed and can drop the one detail the specialist needs.pi has no automatic delegation — a subagent runs only on an explicit Agent tool call. Make delegation mechanical by adding a checkpoint table to the project's implementation skill (and/or AGENTS.md): map an observable signal in the diff/task to a spawn, so the main agent reaches for it without needing to remember.
| Signal in the task / diff | Spawn |
|---|---|
| touches auth / secrets / PII / untrusted input / perf budget | `Audit` (fix inline) |
| a change landed and docs/ prose needs updating | `DocScribe` |Keep the builder/decider inline in that table's preamble — only read/write-light phases get spawned.
Spawn on a real task and check the output, do not trust it blind.
": " trap — an unquoted description containing an inner ": " (colon-space) parses as a nested mapping and the loader silently drops the agent. Quote the whole value, or reword to remove the ": ".inherit_context: true gives a lossy snapshot; never rely on it to carry a specific path/snippet. Pass inputs explicitly.tools; add write/edit only if the subagent legitimately emits files..md frontmatter parses (no ": " trap); model is a role aliastools are least-privilege; inherit_context matches the input strategy© BlackBeltTechnology, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in packages/authoring-toolkit/.pi/skills/skill-to-subagent of BlackBeltTechnology/pi-agent-dashboard.
Open the folder on GitHubat commit 7a2d171
Skill To Subagent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Skill To Subagent this skillBlackBeltTechnology/pi-agent-dashboard | 315 | — | ~2k | Automated safety check: Pass | MIT | |
| Claude Code Agent Developmentanthropics/claude-plugins-official | 38k | 7 repos | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Subagent Driven DevelopmentAsvarox/allkaraoke | 261 | 37 repos | ~1.2k | Automated safety check: Pass | None | |
| Dispatching Parallel Agentsultralisp/ultralisp | 258 | 40 repos | ~1.5k | Automated safety check: Pass | None | |
| Paseo Advisor Second Opiniongetpaseo/paseo | 20k | 1 repos | ~756 | Automated safety check: Pass | Custom licence | |
| Task Observerrebelytics/one-skill-to-rule-them-all | 3.2k | 1 repos | ~11k | Automated safety check: Pass | CC-BY-4.0 |
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
Asvarox/allkaraoke
A skill your agent uses when executing implementation plans with independent tasks in the current session
ultralisp/ultralisp
A skill your agent uses when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
getpaseo/paseo
Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.
rebelytics/one-skill-to-rule-them-all
Monitors task execution for skill improvement opportunities.
openobserve/openobserve
Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.
BlackBeltTechnology/pi-agent-dashboard
Browser automation via the agent-browser CLI. An agent skill from BlackBeltTechnology/pi-agent-dashboard.
BlackBeltTechnology/pi-agent-dashboard
Diagnose failed GitHub Actions runs for pi-agent-dashboard: the 11-file workflow taxonomy, affected-test selection, the release pipeline, known failure modes, and how to read gh run logs and…
BlackBeltTechnology/pi-agent-dashboard
Diagnose problems in the running pi-agent-dashboard system: server.log, /api/health, bridge WebSocket connectivity, vitest triage, known-issue FAQ entries.
BlackBeltTechnology/pi-agent-dashboard
Disciplined implementation in pi-agent-dashboard: the rebuild matrix (extension→reload, server→restart, client→build+restart, openspec-apply→full rebuild) plus the project's code discipline rules.
BlackBeltTechnology/pi-agent-dashboard
Monitor and control the pi-dashboard server. An agent skill from BlackBeltTechnology/pi-agent-dashboard.
BlackBeltTechnology/pi-agent-dashboard
Turn a pi session into a Markdown "how-we-did-it" collaboration guideline: reads the session's JSONL transcript and synthesizes a reusable playbook of which prompts worked, what had to be steered…
Categories
Turn an existing pi skill into an isolated subagent and wire it into a project's implementation pipeline. Skill To Subagent is an agent skill from BlackBeltTechnology/pi-agent-dashboard. Turn an existing pi skill into an isolated subagent and wire it into a project's implementation pipeline.
Skill To Subagent fits situations like: tasks that involve Subagents.
Run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a claude-code`. Or copy the skill folder (packages/authoring-toolkit/.pi/skills/skill-to-subagent in BlackBeltTechnology/pi-agent-dashboard) into .claude/skills/skill-to-subagent in your project. Claude Code loads it when a task matches its description.
Run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a codex`. Or copy the skill folder (packages/authoring-toolkit/.pi/skills/skill-to-subagent in BlackBeltTechnology/pi-agent-dashboard) into .agents/skills/skill-to-subagent in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill skill-to-subagent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-to-subagent, .gemini/skills/skill-to-subagent, .github/skills/skill-to-subagent and .opencode/skills/skill-to-subagent in your project.
SKILL.md names no scripts, command-line tools or credentials: Skill To Subagent is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Skill To Subagent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Skill To Subagent: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Subagent Driven Development (Asvarox/allkaraoke, 261 stars), Dispatching Parallel Agents (ultralisp/ultralisp, 258 stars) and Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
BlackBeltTechnology (a GitHub organization) maintains it in BlackBeltTechnology/pi-agent-dashboard, which has 315 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 10, 2026.
Source: BlackBeltTechnology/pi-agent-dashboard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.