If you primarily use OSpec through AI, start with a short /ospec prompt first. Use the CLI install steps on this page when you need explicit local setup or troubleshooting.
Install the official OSpec CLI package @clawplays/ospec-cli and run the ospec command.
- Node.js
>= 18 - npm
>= 8
npm install -g @clawplays/ospec-cliospec --version
ospec --helpIf you primarily use OSpec through AI / /ospec, start like this:
/ospec open Stitch for this project.
/ospec open Checkpoint for this project.
These requests should be handled as: check whether the plugin is already installed globally, install only when missing, then enable it in the current project.
Strict AI rule:
- Check whether the plugin is already installed globally with
ospec plugins info <plugin>orospec plugins installed. - If it is already installed, do not reinstall it just because this is a different project.
- Reuse the existing installed plugin and run
ospec plugins enable ...in the new project. - Only run
ospec plugins install <plugin>when the plugin is not installed yet or the user explicitly asks to reinstall or upgrade it. - Only run
ospec plugins update --allwhen the user explicitly asks to update every installed plugin on the machine.
Command line fallback:
ospec plugins list
ospec plugins install stitch
ospec plugins install checkpointThen enable them in the target project:
ospec plugins enable stitch [path]
ospec plugins enable checkpoint [path] --base-url <url>Notes:
ospec plugins listshows the plugins you can useospec plugins install <plugin>performs the explicit global installospec plugins update <plugin>updates one globally installed plugin packageospec plugins update --allupdates every globally installed plugin package recorded by OSpec- in AI /
/ospecflows, "open Stitch / Checkpoint" should first check whether the plugin is already installed globally, then install only when missing, and finally enable it in the current project - plugin installation is global and shared across projects; enable is project-local
- once a plugin is already installed globally, later projects should reuse it and only run enable
- the plugin package's own npm dependencies are installed together with
ospec plugins install <plugin> - Checkpoint also installs its required target-project review dependencies during
ospec plugins enable checkpoint ... - after enable, the plugin's detailed docs are synced into
.ospec/plugins/<plugin>/docs/
ospec init [path]andospec update [path]sync the managedospecandospec-changeskills for Codexospec update [path]repairs older OSpec projects with an existing OSpec footprint, restores missing packages for already-enabled plugins, and auto-upgrades already-enabled plugin packages when a newer compatible version is availableospec update [path]does not upgrade globally installed plugins that are not enabled in the current projectospec plugins update --allis the explicit machine-wide plugin update command- Claude Code sync also runs when
CLAUDE_HOMEor an existing~/.claudehome is present