/host-aios:understand-subagentsfrom host-aios
WHAT: Claude Code subagents — isolated contexts, persistent memory, worktree isolation, GAN scoring WHEN: Understanding or creating subagents
Ships in host-aios. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Pure Claude Code subagents — no external systems.
Official docs: https://code.claude.com/docs/en/sub-agents
Read reference.md for full details.
Measured at a clean seat on Claude Code 2.1.325, headless (claude -p): a session started a helper agent with the Agent
tool and told it to start one more; the helper's own Agent call ran, and the second helper answered. Nothing in Claude
Code stops a launch from inside a child, so where an AIOS forbids one — an agent a lead starts for a child project
launches none (the how-to-lead-an-aios skill, rule subagent-worktree-isolation) — the rule is what holds it. Read a
launch from the transcript, never from the agent's reply: it is a tool call of the Agent tool whose event's parent
tool-use id names the dispatch of the agent that made it.
Measured at the same seat, on the same version:
<session>/subagents/agent-<agent_id>.jsonl beside the
session's <session>.jsonl, which holds none of them; a headless session's streamed output
(--output-format stream-json) carries them, each marked by its parent tool-use id.agent_id and agent_type, and its transcript_path is the
session's, not the helper's: a hook that judges by what the agent has done reads
<session>/subagents/agent-<agent_id>.jsonl, since a skill the session opened was never in the helper's context.agent_transcript_path, the helper's own transcript,
beside transcript_path, the session's, and stop_hook_active as Stop does.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
63 skills in this plugin
/adding-a-skillWhen you make/add ANY skill (an AC, a CoR, a chain, a domain), do NOT just write the file — place it in the skilltree (coordinate-addressed), and because every directory is automatically an AIOS, give a new domain/role its own AIOS. Version it so the tree self-expands and search forwards to the newest. Use this whenever you create or improve a skill./adversarial-testingRun BEFORE writing or trusting any test. Turns tests from confirmations of the implementation into questions that could come out against it: claims named, competing explanations named, a must-admit and a must-refuse case for every check, failures settled by counterexamples, "better" decided on a population enriched on both sides, verdicts recorded with their reach. Use when writing tests, reading a green run, claiming "done/verified/stronger/better", or judging another check, search or procedure./npx claudepluginhub sancovp/host-aios --plugin host-aios