req-2-plan installs and manages the local r2p workflow integration for supported agent platforms.
The npm package exposes one lifecycle command:
r2pUse it to install platform templates, audit installed files, remove integrations, and print the installed workflow version.
- Node.js 18+
- Python 3 available as
python3orpython
The lifecycle commands (r2p install, r2p uninstall, r2p installed, r2p doctor, r2p version) use only the Python standard library.
The daily workflow shortcuts installed by r2p install use the Python dependency in requirements.txt:
python3 -m pip install --user -r requirements.txtIf you installed from npm and do not have this repository checkout, install the dependency directly:
python3 -m pip install --user "pyyaml>=6.0"npm install -g req-2-planCheck the lifecycle CLI:
r2p version
r2p installed
r2p doctorSupported platforms:
claudecodexgemini
Install one platform:
r2p install --platform claudeInstall another platform:
r2p install --platform codex
r2p install --platform geminiInstall multiple platforms at once:
r2p install --platform claude,codex,geminiIf a platform was already installed, reinstall with explicit confirmation:
r2p install --platform claude --confirmr2p install writes platform-specific templates into the target agent home directory and shared command wrappers under:
~/.req-to-plan/bin/
It also writes a manifest:
~/.req-to-plan/install/<platform>.yaml
The manifest records every managed path so uninstall can remove only files created by r2p and restore backups for files that existed before install.
After install, platform templates call the shared wrappers:
r2p-start "Add rate limiting"
r2p-continue
r2p-tier-lock --work-id WF-YYYYMMDD-slug --base light --confirm
r2p-status
r2p-switch --work-id WF-YYYYMMDD-slug
r2p-reopen --from WF-YYYYMMDD-slug --stage spec --reason "Fix upstream gap"The wrappers are installed into ~/.req-to-plan/bin/. Add that directory to PATH if you want to run the shortcuts directly from your shell:
export PATH="$HOME/.req-to-plan/bin:$PATH"List installed platforms:
r2p installedCheck for missing files or version drift:
r2p doctorUninstall a platform:
r2p uninstall --platform claudeUninstall multiple platforms:
r2p uninstall --platform claude,codex,geminiShared wrappers in ~/.req-to-plan/bin/ are removed only when no installed platform still needs them.