/loop-engineering:install-loopfrom loop-engineering
Installs Loop Engineering into a project using the unified CLI @cobusgreyling/loop. Scaffolds report-only loops, runs doctor, and provides cost checks. Prefer this over separate loop-init/loop-audit commands.
Ships in loop-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Leave the repo with a scaffolded report-only loop, a Loop Ready score, and clear next actions — using the single CLI:
npx @cobusgreyling/loop
Do not deprecate or remove existing loop-init / loop-audit usages you find; both doors stay valid. Prefer loop for new work.
Detect context
LOOP.md or STATE.md already exists, run doctor only (skip init unless human asks to re-scaffold):
npx @cobusgreyling/loop doctor . --json
npx @cobusgreyling/loop status .
Pick pattern (default: daily-triage)
| Pain | Pattern |
|---|---|
| Morning chaos / unclear priorities | daily-triage |
| PRs stalling | pr-babysitter |
| CI red / flakes | ci-sweeper |
| CVE / Dependabot noise | dependency-sweeper |
| Post-merge TODOs | post-merge-cleanup |
| Stale release notes | changelog-drafter |
| Noisy issues | issue-triage |
| One GitHub Action, almost no files | thin-loop |
Pick tool — claude | grok | codex | opencode (default claude).
Scaffold
npx @cobusgreyling/loop init . --pattern <pattern> --tool <tool>
Optional harness (only if human wants Foundry): add --with-foundry.
Doctor
npx @cobusgreyling/loop doctor .
0 = healthy · 1 = warnings · 2 = blockedCost check before high-cadence schedules:
npx @cobusgreyling/loop cost -p <pattern> -l L1 -c 1d
Week-one rule
/loop or scheduler command from init output.npx @cobusgreyling/loop badge .These remain fully supported (do not rewrite existing docs/scripts unless asked):
npx @cobusgreyling/loop-init .
npx @cobusgreyling/loop-audit . --suggest
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/budget-negotiatorAn advanced skill for L3 autonomous loops. When the token budget nears exhaustion, the agent analyzes its ROI and autonomously drafts a negotiation request for a budget increase rather than silently failing./loop-budgetCheck token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work./loop-constraintsRead loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.
npx claudepluginhub cobusgreyling/loop-engineering --plugin loop-engineeringOther plugins' skills for the same job