install-recursive-mode creates the canonical /.recursive/ control-plane layout inside a target repository. Run it once after installing the Recursive Mode skill package to prepare any repo for recursive-mode runs.
What it does
The installer performs the following actions:- Creates the
/.recursive/control-plane directory tree - Upserts the canonical workflow spec into
/.recursive/RECURSIVE.md - Creates the memory plane under
/.recursive/memory/with all required subdirectories - Initializes
/.recursive/STATE.mdand/.recursive/DECISIONS.md - Preserves any unrelated content in files it touches
Usage
. with the path to your repository root if you are running the script from a different directory.
What gets created
After running the installer, your repository will contain the following scaffold:Each memory subdirectory contains a
.gitkeep file so the directory is tracked by Git even before any memory docs are added.