| name | claude-code-harness |
| description | Use when setting up a structured Plan→Work→Review→Release cycle for autonomous agents, integrating Claude Code with Codex/Cursor/OpenCode, enforcing spec-first development gates, or protecting against agent self-modification. Triggers on: 'claude-code-harness', 'harness cycle', 'agent release cycle', 'spec gate', 'plan work review release', 'harness-plan', 'harness-work', 'harness-review', 'harness-release', 'codex integration', 'cursor integration', 'opencode integration', 'multi-tool agent workflow', 'autonomous agent cycle', 'agent tự động release'. |
Claude Code Harness Skill
Source: chachamaru127/claude-code-harness (MIT) — v4.15.0, 2.6k stars
Tier: TIER 3 — PRODUCTIVITY
Framework biến agents thành autonomous delivery pipeline.
Plan→Work→Review→Release cycle tự chạy — human chỉ approve spec một lần.
Khi nào dùng
- Muốn agents tự plan + implement + review + release mà không cần trigger từng bước
- Tích hợp nhiều AI tool (Claude Code + Codex + Cursor) trong cùng repo
- Cần verification gate độc lập (agent không tự review code mình viết)
- Bảo vệ harness rules khỏi bị agent tự sửa (v4.15.0 self-modification protection)
5 Commands cốt lõi
/harness-setup — khởi tạo spec.md + Plans.md, cấu hình tool tier
/harness-plan — draft spec từ intent → human approve contract
/harness-work — implement tasks từ approved spec (TDD)
/harness-review — independent review, không phải agent tự review
/harness-release — package evidence, prepare deployment
Quan trọng: /harness-work bị block nếu spec.md chưa được approve.
Human chỉ cần approve 1 lần → agents tự chạy phần còn lại.
Tool Capability Matrix
| Capability | Claude Code | Codex CLI | OpenCode | Cursor |
|---|