Subagents are composed from three layers: partials, templates, and skills. Each layer can be ejected and modified independently.
agentsinc eject agent-partials # Role-specific partials (intro, workflow, output)
agentsinc eject templates # Global Liquid templates shared across all subagents
agentsinc eject skills # Fork skills for local editing
agentsinc eject all # Everything at onceRun agentsinc compile after editing any ejected files to rebuild your subagents.
Each subagent has six partials that can be customized:
intro.md— Role description and identityworkflow.md— Step-by-step process the agent followsexamples.md— Example interactionscritical-requirements.md— Hard rules the agent must followcritical-reminders.md— Repeated emphasis on key behaviorsoutput-format.md— How the agent structures its responses
Partials apply to specific roles. Use these to customize how a particular subagent behaves.
Templates apply globally across all subagents. Use these for shared conventions like coding style, commit formats, or project-wide rules.
Skill-to-subagent mappings and load behavior (preloaded vs dynamic) are configured in .claude-src/config.ts. Use agentsinc edit to modify selections interactively, or edit the config file directly.
After making changes, run agentsinc compile to rebuild your subagents.