Prerequisites
Before installing, confirm you have:- A git repository to bootstrap
- The skills CLI available (
npx skills) - Python 3, PowerShell (
pwsh), or Bash — depending on which bootstrap script you use - An agent environment that supports the skills CLI
Install options
- Skills CLI (preferred)
- Bootstrap scripts
The skills CLI is the preferred way to install and manage recursive-mode in your agent environment.Install the main skillList everything in the packageAdd Install all included skillsInstall a single subskillTo install only one subskill instead of the full package, pass its name with Replace
--full-depth to list nested subskills as well:--skill:recursive-tdd with any of the available subskills: recursive-worktree, recursive-debugging, recursive-review-bundle, or recursive-subagent.What gets installed
Running the bootstrap script creates the following layout in your repository:Full /.recursive/ scaffold layout
Full /.recursive/ scaffold layout
Key files
| File | Purpose |
|---|---|
/.recursive/RECURSIVE.md | The canonical workflow contract. Your agent reads this to understand phase order, audit rules, lock rules, and memory maintenance. |
/.recursive/STATE.md | Tracks current repository state. Updated during closeout phases. |
/.recursive/DECISIONS.md | Ledger of decisions made across runs. |
/.recursive/memory/MEMORY.md | Memory router. Agents read this before loading any memory docs. |
/.recursive/run/ | Each run gets a subdirectory here: /.recursive/run/<run-id>/. |
The memory router
The memory layer under/.recursive/memory/ stores durable project knowledge — domain context, reusable patterns, recurring incidents, and skill guidance — separately from current repository state and individual run artifacts. This separation lets the workflow distinguish between what is true right now, what happened in one run, and what has been learned across many runs.
Agents load only the memory docs relevant to the current task rather than reading the full memory tree on every run.
Subskills included
The package ships these installable subskills alongside the rootrecursive-mode skill:
| Subskill | Purpose |
|---|---|
recursive-worktree | Isolates implementation work in a dedicated git worktree |
recursive-tdd | Strict or pragmatic TDD with recorded RED/GREEN evidence |
recursive-debugging | Structured debugging with durable artifact capture |
recursive-review-bundle | Packages delegated reviews into canonical review bundles |
recursive-subagent | Records and verifies subagent contributions before acceptance |
--skill '*' --full-depth, or install individual subskills by name.