Generates three project-specific behavioral mode skills (planner, debugger, qa-tester) from project memories and bundled templates, and makes them selectable via switching-modes...
Create three project-specific, behavioral mode skills under ./.{AGENT_NAME}/skills/:
{slug}-mode-planner{slug}-mode-debugger{slug}-mode-qa-testerEach mode must:
SKILL.md under ~500 lines; use progressive disclosure).The modes must be written so they do not reference any specific benchmark, puzzle set, or domain-specific toy terms. They must read as general-purpose operating procedures.
For concrete “golden” examples of what the generated mode SKILL.md files should look like after adaptation, see references/examples.md.
Activate memories
$activating-memories../.{AGENT_NAME}/skills/memories/Choose a project slug
project_overview.name must be ≤ 64 chars and match its directory name.-mode-qa-tester (15 chars), so {slug} must be ≤ 49 chars.Read the bundled templates
assets/planner-template.mdassets/debugger-template.mdassets/qa-tester-template.mdGenerate three mode skills For each template:
{slug} mode namesuggested_commands-skl for the canonical list)./.{AGENT_NAME}/skills/{slug}-mode-planner/SKILL.md./.{AGENT_NAME}/skills/{slug}-mode-debugger/SKILL.md./.{AGENT_NAME}/skills/{slug}-mode-qa-tester/SKILL.mdMake the modes selectable via $switching-modes
./.{AGENT_NAME}/skills/switching-modes/ exists, update its mode registry to include the three new modes../.{AGENT_NAME}/skills/switching-modes/SKILL.md (if present)../.{AGENT_NAME}/skills/switching-modes/SKILL.md that:./.{AGENT_NAME}/state.json with { "mode": "<mode-name>" }assets/switching-modes-stub.md to avoid bikeshedding$switching-modes {slug}-mode-planner$switching-modes {slug}-mode-debugger$switching-modes {slug}-mode-qa-testerValidate the generated skills
name.description is third-person and includes “Use when …”.skills-ref validate on each generated skill directory.Each mode skill must be a valid Agent Skill.
Example for planner:
---
name: {slug}-mode-planner
description: Behavioral mode for planning and design work in {slug}. Use when scoping changes, producing design docs, or deciding between approaches.
---
Include these sections (in any order):
Keep the body concise. If the mode needs lengthy reference material, create references/ files and link them.
When adapting templates:
../memories/project_overview-skl/SKILL.md, not copy/paste.{AGENT_NAME}: infer from the local agent folder present (e.g. .claude, .codex). If none exist, ask the user what agent folder to use.-v2) or ask the user which to keep.suggested_commands-skl and ask the user to confirm the correct test command(s) if missing.