← ClaudeAtlas

askit-build-subagentlisted

Creates and improves Claude subagents (agents/<name>.md) to the Advanced Skill Library Standard. Use when you need to author a new subagent, scaffold an agents/ delegate, declare its tools and chain, or raise an existing subagent's conformance.
product-on-purpose/agent-skills-toolkit · ★ 2 · AI & Automation · score 71
Install: claude install-skill product-on-purpose/agent-skills-toolkit
# askit-build-subagent ## Purpose Author conformant subagents. Two modes: `create` scaffolds a new `agents/<name>.md` (frontmatter + role body); `improve` raises an existing subagent toward the quality bar. Subagents are Claude-only for plugin distribution (Codex v0.135 plugins cannot ship `[agents.*]`; Standard sec 3.3), so this skill emits no Codex artifact. Authoring depth is in [references/authoring-subagents.md](references/authoring-subagents.md). ## When to use When the user asks to create, scaffold, write, or improve a subagent (an `agents/<name>.md` delegate). ## create mode 1. Brief interview: ask for the subagent name (kebab-case), the bounded job it owns, the narrowest tools it needs, and which components (if any) it may invoke. Skip the interview if these inputs are already in context. 2. Copy `templates/agent.md` into `agents/<name>.md`. 3. Fill the frontmatter: `name` equal to the file basename; a `description` that states what AND when (Standard sec 8.1); `tools` as the narrowest set (sec 9); optional `model`; `metadata.chain` naming the components it may invoke as a comma-separated string (the recommended shape - a YAML list is silently coerced to a string repr by the reference implementation, see `authoring-chain-contracts.md`; omit `chain` if there is none); `metadata.version`, `metadata.tier`, `metadata.status`, and `metadata.agent-targets: [claude]` (sec 3.3 - subagents are Claude-only for plugin distribution). 4. Do **not** write `hooks`, `mcpServers`,