Closedloop.ai
Getting Started

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 --version must work).
  • Python 3.11+.
  • jq on 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 | bash

The installer will:

  1. Preflight the Claude CLI, Python 3.11+, and jq.
  2. Add the marketplace: claude plugin marketplace add closedloop-ai/claude-plugins.
  3. Install code, code-review, platform, and self-learning at user scope: claude plugin install <plugin>@closedloop-ai --scope user.
  4. Re-enable disabled user-scoped Closedloop plugins when needed: claude plugin enable <plugin>@closedloop-ai --scope user.
  5. Verify installed_plugins.json and claude plugin list --json show user-scoped, enabled entries.
  6. Report installed / updated / up-to-date / failed counts for each plugin.
  7. Enable auto-update by default so the plugins stay current.

What gets installed

PluginPurpose
codeThe hub plugin. Implements the full Closedloop autonomous SDLC: PRD → plan → critics → implementation → tests → visual QA → validation.
code-reviewMulti-agent partitioned code review with deterministic hygiene checks, risk-based routing, caching, and GitHub PR inline comments.
platformClaude Code expert guide, prompt engineering, mermaid diagrams, artifact upload, and skill scaffolding.
self-learningPattern 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.sh

The 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 .githooks

The 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 --json

You 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-ai

Then /exit and restart your Claude Code session.

Next step

Once the plugins are installed, continue to Prepare your repo.

On this page