Install the skill package
Add recursive-mode to your agent environment with the skills CLI:This installs the root
recursive-mode skill. To see everything included in the package before installing, run:Bootstrap your repository
Run the installer against your target repository. Choose the script that matches your environment:Replace
<SKILL_DIR> with the path where the skill was installed. Run this command from your repository root, or pass the path explicitly with --repo-root <path>.The bootstrap script creates the entire
/.recursive/ scaffold in your repository, including:/.recursive/RECURSIVE.md— the canonical workflow spec/.recursive/STATE.md— current repository state/.recursive/DECISIONS.md— decisions ledger/.recursive/memory/MEMORY.md— durable memory router/.recursive/memory/skills/SKILLS.md— skill memory router/.recursive/memory/{domains,patterns,incidents,episodes,archive}/— memory shards/.recursive/memory/skills/{availability,usage,issues,patterns}/— skill memory shards/.recursive/run/— directory for run artifacts
Verify the scaffold
Confirm the scaffold was created correctly by listing the You should see: If your agent needs a lightweight index of what to read under
/.recursive/ directory:AGENTS.md, DECISIONS.md, RECURSIVE.md, STATE.md, memory/, and run/.The canonical workflow contract that your agent will follow lives in:/.recursive/, it should start with /.recursive/AGENTS.md.Start your first run
Once the repository is bootstrapped and your requirements or plan live in repository files, start a run with a short command:Other valid entry commands:The agent creates a run directory under
/.recursive/run/<run-id>/ and begins progressing through the audited phases defined in /.recursive/RECURSIVE.md.