一键导入
cc-loop
// Install or refresh the CC Loop runtime for structured [[CC_LOOP ...]] activation with min="...", rounds="...", or goal="...". Use only for cc-loop setup, status, uninstall, or activation guidance.
// Install or refresh the CC Loop runtime for structured [[CC_LOOP ...]] activation with min="...", rounds="...", or goal="...". Use only for cc-loop setup, status, uninstall, or activation guidance.
Free AI search via Exa MCP. Web search for news/info, code search for docs/examples from GitHub/StackOverflow, company research for business intel. No API key needed.
Executes full-project QA like a real user by discovering the repository verification and E2E contracts, running build, lint, test, and startup commands, exercising core workflows end-to-end through CLI, HTTP, and browser interfaces, requiring automated regression coverage for supported critical flows, fixing root-cause regressions, and rerunning the full gate. Uses the agent-browser companion skill for Web UI validation when a web surface exists. Use when validating a branch, release candidate, migration, refactor, or risky commit. Do not use for static code review only, one-off unit test edits, planning test cases, or architecture brainstorming without execution — use qa-report for planning and documentation.
| name | cc-loop |
| description | Install or refresh the CC Loop runtime for structured [[CC_LOOP ...]] activation with min="...", rounds="...", or goal="...". Use only for cc-loop setup, status, uninstall, or activation guidance. |
Step 1: Inspect current Claude Code state
${CLAUDE_CONFIG_DIR:-$HOME/.claude}/settings.json only if it exists so you can explain whether managed cc-loop hooks are already present.${CLAUDE_CONFIG_DIR:-$HOME/.claude}/cc-loop/config.toml only if it exists so you can describe continuation guidance, goal confirmation settings, Stop hook timeout, and any pre_loop_continue command.cc-loop.toml from the current directory up to the workspace root if it exists. Treat it as a per-field project overlay over the global runtime config.cc-loop install syncs managed hook commands into Claude Code settings.json while preserving unrelated hooks.Step 2: Install, refresh, or upgrade the runtime
cc-loop is not on PATH, install it:
go install github.com/compozy/cc-loop/cmd/cc-loop@latestcc-loop installcc-loop upgradecc-loop upgrade --version v0.1.1 for a pinned release./reload-plugins so plugin lifecycle hooks and skills are reloaded.Step 3: Explain activation
[[CC_LOOP name="release-stress-qa" min="6h"]][[CC_LOOP name="release-stress-qa" rounds="3"]][[CC_LOOP name="release-stress-qa" goal="ship only after verification"]]claude -p, model opus, and effort high.confirm_model="opus" and confirm_reasoning_effort="xhigh".claude -p --output-format json --json-schema ... step; the default interpreter model is haiku.${CLAUDE_CONFIG_DIR:-$HOME/.claude}/cc-loop/loops/ and goal-check metadata is appended to ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/cc-loop/runs.jsonl.cc-loop install: install or refresh the local runtime under ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/cc-loop/ and sync managed hook registrations into Claude Code settings.json.cc-loop upgrade: download the latest GitHub release, verify checksums, replace the local CLI binary, refresh the managed runtime/hooks, and refresh the Claude Code plugin marketplace when the claude CLI is available.cc-loop upgrade --version v0.1.1: install a pinned release with the same checks.cc-loop status: print active loop state as JSON.cc-loop status --all: include completed, superseded, and cut-short loops.cc-loop uninstall: remove the managed runtime directory and only the cc-loop managed hook registrations.cc-loop.toml: optional project-local runtime config discovered from the hook CWD up to the workspace root. Fields defined there override the global runtime config; omitted fields inherit global/default values.[pre_loop_continue]: optional cc-loop runtime hook configured with a shell-like command = "" string that is parsed to argv and run synchronously inside the Stop handler before an automatic continuation prompt is emitted. Project-local command = "" disables a global pre-loop command for that project.[goal]: optional defaults for goal confirmation, including confirm_model, confirm_reasoning_effort, confirm_command, timeout_seconds, interpret_model, interpret_reasoning_effort, interpret_timeout_seconds, and max_output_bytes.[hooks].stop_timeout_seconds: managed Stop hook timeout written during cc-loop install; rerun install and restart Claude Code after changing it.go install fails, confirm Go is installed and available on PATH.cc-loop install fails while updating Claude Code settings.json, inspect that file for malformed JSON or filesystem permission problems./reload-plugins, then confirm the cc-loop plugin is installed and enabled.