From harness
GStack + GSD + Superpowers + build-loop을 cmux pane + codex CLI 기반으로 통합하는 자율 빌드 파이프라인. /build <topic> 한 줄로 spec → 페이즈 분해 → TDD 루프 → 통합까지 진행. claude orch가 plan/refactor를 담당하고 long-lived codex worker가 코드 작성. 컨텍스트는 /compact로 관리.
How this skill is triggered — by the user, by Claude, or both
Slash command
/harness:cmux-pipelineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`/build <topic>` 한 줄로 spec → 페이즈 분해 → contract → TDD 루프 → 통합 → learn 까지 자동 실행. 기존 harness skill 들과 독립.
MANUAL_VERIFICATION.mdREADME.mdnotes/build-loop-analysis.mdnotes/build-loop-codex-prompt-template.mdnotes/codex-cli-flags.mdnotes/external-skills-io.mdreferences/failure-handling.mdreferences/resume.mdreferences/stage-contract.mdreferences/stage-decompose.mdreferences/stage-integrate.mdreferences/stage-learn.mdreferences/stage-loop.mdreferences/stage-spec.mdscripts/build-gc.shscripts/build-list.shscripts/build-status.shscripts/codex-launch.shscripts/lib/resolve-surface.shscripts/manifest.sh/build <topic> 한 줄로 spec → 페이즈 분해 → contract → TDD 루프 → 통합 → learn 까지 자동 실행. 기존 harness skill 들과 독립.
6-stage:
/office-hours + /autoplan/gsd-new-project 또는 /gsd-map-codebase, /gsd-plan-phase --prdcontract-negotiator agent → contract.mdsuperpowers:verification-before-completionwisdom-extractor agent → docs/wisdom/claude orch (현재 세션)이 plan/spec/test scenario/refactor를 담당하고, long-lived codex worker가 cmux pane에서 test code/구현 작성. 컨텍스트는 codex /compact 명령으로 관리.
Don't use:
/feature 가 더 적합한 경우| Command | Action |
|---|---|
/build <topic> | 새 run 시작 |
/build --resume <run-id> | paused/failed run 재개 |
/build --status [<run-id>] | run 상태 |
/build --list | 모든 run 목록 |
/build --gc [<days>] | N일 이상 run 삭제 (default 30) |
| Option | Default | 설명 |
|---|---|---|
--checkpoint=<stages> | spec,decompose,contract | 정지점. none 으로 풀-오토 |
--skip=<stages> | `` | spec,decompose 스킵 가능 |
--greenfield / --brownfield | auto-detect | GSD 진입점 |
--phase-timeout=<sec> | 1200 | phase timeout |
--compact-every=<n> | auto | N 페이즈마다 강제 /compact |
--no-confirm | false | confirm 없이 진행 |
--dry-run | false | preflight 만 |
--verbose | false | codex pane scrollback tail |
--model=<name> | (codex default) | codex 모델 override |
--keep-workspace | false | 정상 완료/abort 후에도 cmux workspace 유지 (post-mortem 디버깅용). 기본은 자동 close. |
자세한 내부 구조는 references/ 참조.
/build 가 호출되면 claude orchestrator는 다음 절차를 따른다.
workspace-create.sh 로 전용 cmux workspace 를 먼저 만들고, 모든 pane-create.sh 호출은 --workspace <created-workspace> 를 명시한다.manifest.options.workspace_id 에 기록한다. retry/relaunch 는 이 manifest 값만 신뢰한다.생성과 close 가 대칭이다. 생성 시점은 Stage 4 (Loop) 진입 직전 (references/stage-loop.md 절차 2). 자동 close 시점은 4가지:
| 시점 | 트리거 | 동작 |
|---|---|---|
| Stage 6 (Learn) 완료 | stage-learn.sh 가 manifest.stages.learn.status = completed 로 마킹한 직후 | manifest.options.keep_workspace 가 false 면 workspace-close. status = completed. |
| 사용자 abort | failure-handling.md 의 2회 실패 / contract 실패 prompt 에서 [a] 선택 | manifest.status = aborted, workspace-close. resume 불가. |
/build --gc | old run 디렉토리 삭제 직전 | manifest 의 workspace_id 가 살아있으면 close 후 rm -rf. orphan workspace 누적 방지. |
preflight orphan sweep | 새 run 시작 시 preflight.sh 가 cmux 의 cmux-pipeline:<run-id> 패턴 workspace 들을 스캔 | manifest 가 없거나 status in (completed, aborted) 인 것만 close. running/paused 는 보존. |
paused 상태는 resume 가능하므로 close 하지 않는다. 디버깅용으로 정상 종료 후에도 workspace 를 살리고 싶으면 --keep-workspace 사용.
--resume <run-id>, --status, --list, --gc)--list → bash skills/cmux-pipeline/scripts/build-list.sh--status → bash skills/cmux-pipeline/scripts/build-status.sh [<run-id>]--gc → bash skills/cmux-pipeline/scripts/build-gc.sh [<days>]--resume <run-id> → see Resume workflow (references/resume.md)bash skills/cmux-pipeline/scripts/preflight.shRUN_ID=$(bash .../scripts/manifest.sh gen-run-id "<topic>")bash .../scripts/manifest.sh init "$RUN_ID" "<topic>"bash .../scripts/manifest.sh update "$RUN_ID" '<jq expr>'git checkout -b feat/<topic-slug>references/stage-spec.mdreferences/stage-decompose.mdreferences/stage-contract.mdreferences/stage-loop.mdreferences/stage-integrate.mdreferences/stage-learn.md각 stage 끝에 checkpoint가 활성화되어 있으면 ▶ Stage N 완료 + resume 안내 출력하고 종료.
references/failure-handling.md 참조--verbose 시 codex pane scrollback tailnpx claudepluginhub gprecious/harness --plugin harnessProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.