Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add shimo4228/claude-harness --skill implementation-chaingit clone --depth 1 https://github.com/shimo4228/claude-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/shimo4228/claude-harness/implementation-chain)<a href="https://agentmods.dev/skills/shimo4228/claude-harness/implementation-chain"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/implementation-chain/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/implementation-chain"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/implementation-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.05039 |
| Opus 5.5 | $0.00025 | $0.02016 |
| Sonnet 5.5 | $0.00012 | $0.01008 |
| Haiku 4.5 | $0.00006 | $0.00504 |
Grade A, and why
implementation-chain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implementation Chain
実装に着手する前にタスク種別を判定し、対応する chain を plan に front-load する。 実装中は判定をやり直さず、定義済みの chain をそのまま実行する。 commit / push / 公開の権限は task request と substrate が持つ。この skill は追加の人間 gate を作らない。
タスク種別判定(最初の plan ステップ)
| 種別 | 判定基準 | 例 |
|---|---|---|
feat |
新規機能・新規モジュール追加 | API 追加, 新ページ |
fix |
バグ修正(再現可能な不具合) | crash, 誤動作 |
refactor |
振る舞いを変えない構造変更 | 抽出, 改名, 整理 |
chore |
設定 / 依存更新 / コード付随の docs 追従 | settings, CI |
prototype |
学習・スパイク・本番外コード | 検証スクリプト |
writing |
文書自体が一次成果物 | README 改稿, 記事, 論文, llms.txt |
prototype を選ぶ場合は 「prototype として扱う理由」を plan に必須記載(fix/feat の悪用防止)。
harness 自体の変更: 対象が ~/.claude の rules / skills / hooks / agents / settings なら、種別に関わらず Plan で skill: harness-boundary を 1 回通す(どの層に置くか・モデルに任せられないか・runtime 交換後も残すか。1 行の判断で足りる)。
README の種別判定: README 自体の改善・書き直しが目的なら writing(Writing Chain → readme-writer)。コード変更に付随する README 追従更新はコードチェーンの Doc Sync で、readme-writer の Incremental モードを使う。
大きい feat の Plan の補助: 探索が互いに独立した複数の領域にまたがるときは Explore agent を並列で使い、 各 agent に「主ループが読むべきファイル 5〜10」を返させて読む。設計代替は主ループが並べて比較し、推奨を 添えてユーザーに選ばせる(収束の所在は Matrix の Plan 行)。
実行者の決定(Plan の最後): 実装するのは、そのタスクの文脈を持つ session。
Opus の session は、著者とタスクを詰めたその session が自分で実装する — plan に行を足す必要は無い。起票して
triage に回すのは、その場で終えないと決めたものだけ(triage の build は skill task-triage §3)。
Fable の session は実装を Opus に委譲する(トークン効率 — ADR-0100)。委譲先は plan を渡した
Agent(model: "opus") か skill: spawn-session の Opus session で、どちらを使うかは session が決める。fork は
親の model を継ぐので委譲にならない。plan の最後に「実行者の決定」を 1 行書き(hooks/plan-executor-notice.sh が
Fable の session でだけ想起させる)、この session で実装するのは次のどれかのときだけ: (a) 設計文書・ADR・
skill / rule の散文、(b) 委譲できない具体的な理由、(c) 著者の明示指示。そのときも Review 群は下の
「Review の実行モデル pin」で Opus に降ろす。委譲するときの文脈は plan と packet で渡す(packet の形は
task-triage が正本)。
(失効条件: Fable と Opus の費用比が変わる、または substrate が session ごとの model routing を自分で行う
ようになったら、Fable の段を外す — ADR-0100 Review-when。)
Chain Matrix(種別 × ステップ)
各セルの値: Y 必須 / C 条件付き / - 省略可。
| ステップ | feat | fix | refactor | chore | prototype |
|---|---|---|---|---|---|
Plan(メインループ。docs/plans/<slug>.md に直接書く。sub-agent は探索と代替案の生成まで — plan 本文と採否は主ループが書く。rich context と介入点 1 の対話が要件) |
Y | Y | Y | - | - |
| Phase 0 External Research | Y | - | - | - | - |
| TDD(メインループ。RED → GREEN → REFACTOR) | C | C | - | - | - |
| Refactor Clean | - | - | Y | - | - |
| Code Review | Y | Y | Y | C | - |
| Security Review | C | C | - | C | - |
| Doc Sync (context files) | C | C | C | C | - |
| Verify (build / types / lint / tests / secrets / deps / doc sync / git status) | Y | Y | Y | Y | - |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 19d ago Changed 96a8837d36a0
- 26d ago Changed · -15 lines 028c9fe1444c
- 1mo ago Changed · -1 lines 186f42564da6
- 1mo ago Changed · +8 lines 8c2ef07c1caa
- 1mo ago Changed · -127 tokens per session a149a69c0a6c
- 1mo ago Changed · +3 lines · -3 tokens per session 3d772ee10bde
- 1mo ago Changed 2a02ae8836e8
- 2mo ago Changed · +3 lines · -4 tokens per session a6f8c7a8ccfa
- 2mo ago Changed · +12 lines 8f54e5af2c0f
- 2mo ago First seen · 187 lines · 196 tokens per session scan A 4a5c971452e7
implementation-chain is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 11d ago), licensed MIT. It adds 62 tokens to every session and 5,039 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
implementation-chain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| implementation-chainshimo4228/claude-harness | Skill | 4 | 11d ago | MIT | A | 62 | Claude Code |
| agent-adoption-triageshimo4228/agent-adoption-triage | Skill | 2 | 1mo ago | MIT | A | 143 | Claude Code |
| git-commitadongwanai/learn-workbuddy | Skill | 575 | 2d ago | MIT | A | 0 | Claude Code, Codex |
| pi-triagesky-valley/pi | Skill | 96 | today | MIT | A | 57 | Claude Code |
| pi-parity-reviewsky-valley/pi | Skill | 96 | today | MIT | A | 54 | Claude Code |
| zodanivar/zod-skill | Skill | 25 | 6d ago | MIT | A | 217 | Claude Code, Codex |
| trailhead-chartToRvaLDz/trailhead | Skill | 39 | today | MIT | A | 138 | Claude Code |