agents/ scaffolding from templates in this repository.
This is not the same as the in-product Agent Templates feature. If you are authoring templates for import into ClawControl via the UI/API, see Agent Templates.
What It Generates
- Role prompts:
agents/<role>.md - Per-agent SOUL/HEARTBEAT:
agents/<role>/SOUL.md,agents/<role>/HEARTBEAT.md - Global files:
AGENTS.md,SOUL.md,HEARTBEAT.md,agents/SOUL.md,agents/HEARTBEAT.md - Runtime config:
clawcontrol.config.yaml
Template Sources
templates/roles/*.template.mdtemplates/agent/SOUL.template.mdtemplates/agent/HEARTBEAT.template.mdtemplates/config/clawcontrol.config.template.yamltemplates/config/agent-entry.template.yamltemplates/global/*.template.md
Variables
Supported placeholders in templates:{{PREFIX}}{{PREFIX_CAPITALIZED}}{{ROLE}}{{ROLE_CAPITALIZED}}{{AGENT_ID}}{{AGENT_NAME}}{{EMOJI}}
Usage
CLI (prefix argument):Prefix Behavior
Prefix is optional:- With prefix
acme: IDs likeacmebuild, names likeAcmeBuild - Without prefix: IDs like
build, names likeBuild
--prefix or a manifest prefix is provided.
Manifest Options
prefix: lowercase prefix (optional)owner: owner string for configroles.<role>.enabled: boolean to include/exclude a roleroles.<role>.emoji: override default emojiroles.<role>.model_tier: override model tierroles.<role>.permissions: merge permission overridesheartbeat.global: extra global heartbeat checks
Safety and Validation
The generator validates:- required templates exist
- manifest YAML syntax
- unresolved template placeholders
- existing output files (
--forcerequired to overwrite)
--dry-run to preview writes.