install-loop
GitHub通过统一CLI安装Loop Engineering,生成报告模式的配置与就绪评分。支持检测上下文、选择模式/工具、脚手架初始化及健康检查。首周仅报告禁止自动修复,兼容旧版命令,确保操作安全可控。
Trigger Scenarios
Install
npx skills add cobusgreyling/loop-engineering --skill install-loop -g -y
SKILL.md
Frontmatter
{
"name": "install-loop",
"description": "Install Loop Engineering into a project via the unified CLI front door (@cobusgreyling\/loop). Prefer this over invoking loop-init \/ loop-audit separately. Week-one is report-only; never enable auto-merge or unattended fixes unless the human explicitly asks and doctor is healthy."
}
Install Loop Engineering
Goal
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.
Steps
-
Detect context
- If
LOOP.mdorSTATE.mdalready exists, run doctor only (skip init unless human asks to re-scaffold):npx @cobusgreyling/loop doctor . --json npx @cobusgreyling/loop status . - Otherwise continue.
- If
-
Pick pattern (default:
daily-triage)Pain Pattern Morning chaos / unclear priorities daily-triagePRs stalling pr-babysitterCI red / flakes ci-sweeperCVE / Dependabot noise dependency-sweeperPost-merge TODOs post-merge-cleanupStale release notes changelog-drafterNoisy issues issue-triage -
Pick tool —
grok|claude|codex|opencode(defaultgrok). -
Scaffold
npx @cobusgreyling/loop init . --pattern <pattern> --tool <tool>Optional harness (only if human wants Foundry): add
--with-foundry. -
Doctor
npx @cobusgreyling/loop doctor .- Exit
0= healthy ·1= warnings ·2= blocked - Follow the top 3 printed actions; do not invent extra architecture.
- Exit
-
Cost check before high-cadence schedules:
npx @cobusgreyling/loop cost -p <pattern> -l L1 -c 1d -
Week-one rule
- Report only. No auto-fix, no auto-merge.
- Tell the human the first
/loopor scheduler command from init output. - Suggest badge only when score is strong:
npx @cobusgreyling/loop badge .
Compatibility
These remain fully supported (do not rewrite existing docs/scripts unless asked):
npx @cobusgreyling/loop-init .
npx @cobusgreyling/loop-audit . --suggest
Stop conditions
- Stop after doctor + first-run instructions unless the human asks for L2+.
- Never expand into fleet/memory/foundry unless score ≥ 80 and human opts in.
Version History
- 07996dc Current 2026-07-31 00:09


