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 agent-sendgit 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/agent-send)<a href="https://agentmods.dev/skills/shimo4228/claude-harness/agent-send"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/agent-send/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/agent-send"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/agent-send.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.00058 | $0.01824 |
| Opus 5.5 | $0.00023 | $0.00730 |
| Sonnet 5.5 | $0.00012 | $0.00365 |
| Haiku 4.5 | $0.00006 | $0.00182 |
Grade A, and why
agent-send 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 1mo 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-send
Herdr pane で動く agent(Claude Code / Codex など)へ指示を送り、届いたかと終わったかを
1 行と exit code で返す。script は ${CLAUDE_SKILL_DIR}/agent-send.sh。
Herdr は turn を追跡せず、agent の状態を画面から検出する。そのため herdr agent prompt --wait
(--until なし)は turn の完了まで待ち、長い作業では timeout になる。届いたかどうかは
分からない。agent-send は、届いたかを「turn の開始を観測した」で判定し、完了は別のコマンドで待つ。
送る
${CLAUDE_SKILL_DIR}/agent-send.sh prompt <target> --file packet.md # または --text "…"
<target>は agent 名・pane ID・表示名(spawn-session の tab label、例AAP/release)の どれでもよい。内部で pane ID に固定する- 相手が working なら終わるまで待ってから送る(既定 10 分、
--busy-timeout MS)。作業中に送った 指示は queue に入って同じ turn に吸収され、届いたことを証明できない - 本文は 1 回しか送らない。失敗しても再送しない —
timeoutやstalledは「届いていない」の 証拠にならず、再送は二重送信になる - 例外は
--retry-unseen(spawn.sh が最初の指示に付ける)。起動直後の未 focus の pane では、指示が 成功を装わずに消えることがある(herdr #4537。2026-10-10 に 0.9.3 の macOS で 2 回中 1 回)。宛先が Claude Code で transcript がまだ無い(一度もメッセージを処理していない)ときに限り、1 回だけ送り直す
stdout の result= |
exit | 意味と次の手 |
|---|---|---|
landed(via=working / seq / status / transcript) |
0 | 届いた。完了を待つなら下の wait |
accepted via=command |
0 | /effort などの slash command。turn は起きない |
typed |
2 | 本文が入力欄に残り、Enter が入っていない。画面(stderr)を読み、人間の書きかけでなければ herdr agent send-keys <pane> enter を自分で判断する |
no_evidence |
2 | 届いた証拠が無い。画面を読んでから決める。再送する前に transcript か画面で本文の有無を見る |
not_found |
2 | 宛先が無い。herdr agent list で名前と cwd を確かめる |
blocked |
3 | 承認か質問の dialog で止まっている。画面を読み、人間に渡す |
busy |
4 | 期限内に作業が終わらなかった。送っていない |
preflight 失敗(herdr_unreachable / server_down / incompatible / server_too_old) |
5 | Herdr に届かない・止まっている・版ずれ。stderr の理由を人間に渡す |
Enter を自動で押さないのは、blocked の検出が dialog の描画から 0.3 秒ほど遅れ、承認を押しうる ため(herdr #4764)。
終わりを待つ
${CLAUDE_SKILL_DIR}/agent-send.sh wait <target> --timeout 3600000 \
--done-if 'git -C <worktree> log -1 --format=%s | grep -q "<task>"'
Bash tool の run_in_background: true で起動する。 終わると通知が届くので、その間に画面を
読みに行かない。
- 完了は、settled(idle か done)が続けて観測されること(Claude は 2 回、他は 3 回。間隔 30 秒)と、
--done-ifの command が真であること - 状態の読み方
- Claude:
claude agents --jsonの status(Claude Code 自身の報告。背景 subagent の実行中、 Herdr のdone中もbusyを返した — 2026-10-10 実測) - それ以外: Herdr の画面検出
- Claude:
- 画面検出には偽の idle がある(背景 subagent の実行中など)。成果物で判定できるときは
--done-ifを付ける- build の完了: commit が branch に現れた
- 画像生成の完了: 出力ファイルがある
- 背景 process の終了:
! pgrep -f '<pattern>'
- exit 0
done: 成果物を読む / 3blocked: 画面を読み、人間に渡す / 4timeout: 画面と成果物を 見て、延長か打ち切りを決める
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 88 lines · 58 tokens per session scan A 32a6d742b607
agent-send is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 58 tokens to every session and 1,824 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-10-11.
agent-send compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-sendshimo4228/claude-harness | Skill | 4 | 7d ago | MIT | A | 58 | Claude Code |
| agent-adoption-triageshimo4228/agent-adoption-triage | Skill | 2 | 1mo ago | MIT | A | 143 | Claude Code |
| git-commitadongwanai/learn-workbuddy | Skill | 563 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| pi-triagesky-valley/pi | Skill | 94 | yesterday | MIT | A | 57 | Claude Code |
| pi-parity-reviewsky-valley/pi | Skill | 94 | yesterday | MIT | A | 54 | Claude Code |
| zodanivar/zod-skill | Skill | 24 | yesterday | MIT | A | 217 | Claude Code, Codex |
| trailhead-chartToRvaLDz/trailhead | Skill | 37 | yesterday | MIT | A | 138 | Claude Code |