claude-code-harness
AGENTS.md3.1k starsChanged 4 months agoMITView on GitHub
Status: Cursor adapter supported. Harness-side containment applies — see docs/CURSOR_INTEGRATION.md#containment-disclosure. PM handoff remains documented in docs/CURSOR_INTEGRATION.md. Cursor is supported after live H4 (2026-07-17) and H7 release-preflight fail-closed gate. No traditional FS jail — containment is harness-side. not_observed != absent. Golden prompt fixtures (static contract, not auto-routing proof): Resolve model from Harness role tier via: Do not claim Claude/Codex hook or Agent Teams parity from Cursor subagents. Core contract (host-neutral): Cursor adapter mapping (smoke target only):
Trending
Steady talk.thin dataabout the whole repository
Who's talking about Chachamaru127/claude-code-harness
- @yug1224.com“Claude Codeの自動開発プロセスに計画・実行・レビューの厳格なサイクルを追加するツールらしい AIによる開発をより計画的で手戻りの少ないものにしたい場合に試したい yug1224 starred …”Bluesky · May 29, 2026 · 1 likes
- sudosubin/agents.nix“claude-code-plugins.github.chachamaru127.claude-code-harness: init at 5.15.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.chachamaru127.claude-code-harness: init at 5.15.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.chachamaru127.claude-code-harness: v5.15.0 → refs/tags/v5.15.0”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.chachamaru127.claude-code-harness: init at 5.15.0”GitHub · Sep 26, 2026
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub and Bluesky (13 times).
On GitHub · 12
- Oct 4, 2026claude-code-plugins.github.chachamaru127.claude-code-harness: init at 5.15.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.chachamaru127.claude-code-harness: init at 5.15.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.chachamaru127.claude-code-harness: v5.15.0 → refs/tags/v5.15.0 — sudosubin/agents.nix0 reactions
- Sep 26, 2026agent-skills.github.chachamaru127.claude-code-harness: init at 5.15.0 — sudosubin/agents.nix0 reactions
- Aug 3, 2026Add resource: Claude Code Harness — hesreallyhim/awesome-claude-code0 reactions
7 more on GitHub
- Aug 3, 2026[Resource]: Claude Code Harness — hesreallyhim/awesome-claude-code0 reactions · 3 comments
- Jun 18, 2026docs: integrate claude-code-harness for disciplined delivery loop — strikersam/autonomous-ai-agency0 reactions · 1 comment
- Jun 18, 2026quick-note:https://github.com/Chachamaru127/claude-code-harness — strikersam/autonomous-ai-agency0 reactions · 9 comments
- Apr 27, 2026[BUG] Permission bubble: cannot select options or reach submit when MCP elicitation has multiple selection groups — rullerzhou-afk/clawd-on-desk0 reactions · 2 comments
- Apr 2, 2026feat: 5観点コードレビューとレビュールール配布を既存コマンドに統合 — keito4/config0 reactions · 5 comments
- Jan 10, 2026New plugins: 56 skills from skills (low risk) — aiskillstore/marketplace0 reactions
- Dec 17, 2025feat: add claude-code-harness plugin — anthropics/claude-plugins-official0 reactions · 1 comment
On Bluesky · 1
- May 29, 2026Claude Codeの自動開発プロセスに計画・実行・レビューの厳格なサイクルを追加するツールらしい AIによる開発をより計画的で手戻りの少ないものにしたい場合に試したい yug1224 starred Chachamaru127/claude-code-harness… — @yug1224.com1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository28 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- .grok/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/skill-subagent-usage.mdcCursor rule
- agent-browserSkill
- breezingSkill
- cc-update-reviewSkill
- ciSkill
- cursor-askSkill
- cursor-doSkill
- cursor-reviewSkill
- cursor-setupSkill
- failure-codifierSkill
- harness-acceptSkill
- harness-loopSkill
- harness-plan-briefSkill
- harness-planSkill
- harness-progressSkill
- harness-releaseSkill
- harness-reviewSkill
- harness-setupSkill
- harness-syncSkill
- harness-workSkill
- japanese-writing-drafterSkill
- maintenanceSkill
- memorySkill
- session-sendSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Do not claim Claude/Codex hook or Agent Teams parity from Cursor subagents.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — Cursor Bootstrap Route (Supported)
Status: Cursor adapter supported. Harness-side containment applies — see
docs/CURSOR_INTEGRATION.md#containment-disclosure. PM handoff remains documented in
docs/CURSOR_INTEGRATION.md.
Support Tier
Cursor is supported after live H4 (2026-07-17) and H7 release-preflight
fail-closed gate. No traditional FS jail — containment is harness-side.
not_observed != absent.
First Commands
| Intent | Skill / workflow | Notes |
| Plan a change | harness-plan | Read root spec.md + Plans.md before adding tasks |
| Implement next task | harness-work | Default solo; use breezing for multi-task team runs |
| Review diff / PR | harness-review | Independent review; do not self-approve implementation |
| Sync drift | harness-sync | Plans vs git vs implementation |
| Setup / init | harness-setup | First-time or repair bootstrap |
Golden prompt fixtures (static contract, not auto-routing proof):
plan this/計画して→harness-planwork on this/実装して→harness-workimplement all Plans.md tasks/全部やって→breezingorharness-work allreview this PR/レビューして→harness-review
Model Routing
Resolve model from Harness role tier via:
bash scripts/model-routing.sh --host cursor --role worker --format jsonPriority:
- Explicit Task/subagent
modeloverride from the caller - Routed default from
scripts/model-routing.sh - Session inherit (
model: inheritin subagent frontmatter)
Do not claim Claude/Codex hook or Agent Teams parity from Cursor subagents.
Breezing (Team Execution)
Core contract (host-neutral):
- Parallel: independent Workers when file groups do not overlap
- Serial: Reviewer verdict, cherry-pick to main, Advisor escalation
Cursor adapter mapping (smoke target only):
- Worker → Task tool /
.cursor/agents/worker.mdsubagent (parallel when safe) - Reviewer →
.cursor/agents/reviewer.md(readonly: true) - Advisor →
.cursor/agents/advisor.mdonadvisor-request.v1only - Multitask / background agents → optional parallel fan-out; not a support claim
Verification
bash tests/test-cursor-adapter-candidate.sh
bash tests/test-bootstrap-routing-contract.sh
bash tests/test-model-routing.shNorth Star (3 層の野望)
- L1 判断専念: AI が plan / 実装 / 比較 / 検証 evidence を準備し、人間 (operator) は最終判断のみ行う。
- L2 ツール非依存: 同一 Harness (R01-R16 guardrails + plan/work/review/release) が Claude / Codex / Cursor のどの host からでも効く。1 つの policy engine が 3 host を native hook 経由で adjudicate する (複製でなく routing)。向きは 2 つ対等 — #1 harness が駆動 (Lead が他ツールを engine として spawn) / #2 host から使う (Cursor「から」 harness を呼ぶ)。
- L3 協調 (将来の本丸): 複数ツールが同一プロジェクトを、人間をコピペ係にせず協調する。Mode 1 = 完全自律オーケストレーション (v1 は Lead=Claude 固定)、Mode 2 = 人間在席の peer co-drive (live notice messaging)。フル peer-Lead 協調は段階導入。
Codex / Cursor hook の事実 (自分の hook 構成を誤解しないための固定知識)
- FACT-1: Codex / Cursor は一級の hook ホストである。hook は config.toml に inline で書かれず、
harness genが生成する.cursor/hooks.json/.codex/hooks.json(gitignore された build artifact) に入る。いずれもbin/harness hook pre-tool --host <h>を呼ぶ。 - FACT-2: 「config.toml に inline hook を ship しない」は「config.toml の中には書かない」の意味であり、「hook が無い」ではない。この 2 つを混同しない。
- FACT-3: hook には 2 層あり、状態が層ごとに異なる。(a) enforcement (PreToolUse →
bin/harness hook pre-tool→ R01-R16 policy engine) は 3 host 対称に配線済み・harness genで生成可能。(b) Mode 2 delivery (inbox-check / monitor で受信) は生成関数が実装 + unit test 済みだが本番 caller がゼロで、harness gen未接続のため生成 hook に inbox-check は入らない。Codex/Cursor delivery は turn 境界 (Stop) 受信が設計で、live monitor は Claude 専用。 - FACT-4: あるホストが capability を欠くと結論する前に、必ず
harness gen出力を実際に materialize して中身を確認する。config のコメントだけで「無い」と断定しない。not_observed != absent。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

