Install the Claude Code plugins
Install the Closedloop.ai Claude Code plugins and keep them auto-updated.
The Closedloop plugins are the agent and orchestration layer that runs inside Claude Code. They are installed globally per-user and cached under ~/.claude/plugins/cache/closedloop-ai/.
Prerequisites
- Claude Code CLI (
claude --versionmust work). - Python 3.11+.
jqon your PATH.- Bash 3.2+.
One-line install
The recommended install is a single command that installs every plugin at user scope and enables auto-update.
curl -fsSL https://raw.githubusercontent.com/closedloop-ai/claude-plugins/main/install.sh | bashThe installer will:
- Preflight the Claude CLI, Python 3.11+, and
jq. - Add the marketplace:
claude plugin marketplace add closedloop-ai/claude-plugins. - Install
code,code-review,platform, andself-learningat user scope:claude plugin install <plugin>@closedloop-ai --scope user. - Re-enable disabled user-scoped Closedloop plugins when needed:
claude plugin enable <plugin>@closedloop-ai --scope user. - Verify
installed_plugins.jsonandclaude plugin list --jsonshow user-scoped, enabled entries. - Report
installed / updated / up-to-date / failedcounts for each plugin. - Enable auto-update by default so the plugins stay current.
What gets installed
| Plugin | Purpose |
|---|---|
code | The hub plugin. Implements the full Closedloop autonomous SDLC: PRD → plan → critics → implementation → tests → visual QA → validation. |
code-review | Multi-agent partitioned code review with deterministic hygiene checks, risk-based routing, caching, and GitHub PR inline comments. |
platform | Claude Code expert guide, prompt engineering, mermaid diagrams, artifact upload, and skill scaffolding. |
self-learning | Pattern capture and organizational knowledge sharing. Marked deprecated in the marketplace. |
Install Python runtime dependencies
Several plugins use Python tooling. Install the runtime dependencies once per machine:
# Run from the claude-plugins repo root if you cloned it,
# or after the installer places scripts under ~/.claude/plugins/cache/closedloop-ai/
bash ~/.claude/plugins/cache/closedloop-ai/code/*/scripts/install-dependencies.shThe script detects your OS, verifies Python 3.11+, installs jq and awk if missing, and installs Python dependencies. On systems with PEP 668 ("externally managed") Python, it finds or offers to create a virtual environment at .venv.
Pass --yes or -y to skip confirmation prompts.
Development install (for contributors)
git clone https://github.com/closedloop-ai/claude-plugins.git
cd claude-plugins
git config core.hooksPath .githooksThe core.hooksPath line enables the repo's pre-push hook, which enforces CHANGELOG.md updates whenever you change a plugin.
Verify the install
claude plugin list --jsonYou should see the installed Closedloop plugins listed with scope: "user" and enabled not set to false: code, code-review, platform, and self-learning.
What the plugins add to your tooling
After install you have new slash commands and skills available in every Claude Code session:
/code:code– start a planning/execution loop against a workdir./code:amend-plan– conversationally amend an existing plan./code:plan-with-codex– run a multi-round plan debate between Claude and Codex./code-review:start– run multi-agent code review on the current diff./process-learnings,/export-closedloop-learnings,/push-learnings,/pull-learnings,/prune-learnings,/goal-stats– self-learning pipeline.
Skills are discovered automatically by Claude Code from context and do not need to be invoked by name.
Update path
Plugin versions live under plugins/<name>/.claude-plugin/plugin.json in the repository. Auto-update is on by default. To force a refresh:
claude plugin marketplace update closedloop-aiThen /exit and restart your Claude Code session.
Next step
Once the plugins are installed, continue to Prepare your repo.