Borrowing it
Nothing to install: this file belongs to Kewton/CommandMate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Kewton/CommandMate/main/.claude/skills/orchestrate-monitor/SKILL.mdgit clone --depth 1 https://github.com/Kewton/CommandMateWrote 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/kewton/commandmate/orchestrate-monitor)<a href="https://agentmods.dev/skills/kewton/commandmate/orchestrate-monitor"><img src="https://agentmods.dev/badge/skills/kewton/commandmate/orchestrate-monitor/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/kewton/commandmate/orchestrate-monitor"><img src="https://agentmods.dev/badge/skills/kewton/commandmate/orchestrate-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 42 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 446 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium Excessive Agency · line 403 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00078 | $0.14801 |
| Opus 5.5 | $0.00031 | $0.05920 |
| Sonnet 5.5 | $0.00016 | $0.02960 |
| Haiku 4.5 | $0.00008 | $0.01480 |
Grade A, and why
orchestrate-monitor scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
19. **ループ変数に `path` 等の特殊名を使わない**:zsh/bash で `path` は `PATH` に tie され、curl/tmux が How it starts
The opening of the file, as written. The whole thing — 540 lines — stays where its author put it; the contents beside it link to each section on GitHub.
orchestrate-monitor
/orchestrate(/pm-auto-issue2dev の並列運用)で実証済みのワーカー監視レシピを、
オペレータ/セッションメモリに滞留していた暗黙知から取り出し、テスト済みスクリプトにしたもの。
判定ロジック(生成中判定・STARTED ガード・prompt 分類・完了検証)は fixture ベースの単体テストで
固定されているので、プロンプトから再発明するのではなく、この中核を移植して使える。
なぜ Skill 化するか: 監視ノウハウは実運用の失敗から学ばれたが、バージョン管理外にあり再現・移転不能だった。 同種の誤報(未起動 idle の COMPLETE 誤報/検証ガード自身の偽陽性)が複数回再発したため、テストで封じる。
構成
.claude/skills/orchestrate-monitor/
├── SKILL.md
└── scripts/
├── monitor-lib.sh # 共有ヘルパー(JSON scalar 抽出・ANSI 正規化・アンカー検出・違反カウント・介入先セッション導出)
├── classify-state.sh # capture --json 1 ポーリング → 状態トークン
├── verify-completion.sh # タスク状態を一次ソースとする完了判定(+STARTED ガード、回帰#1)
├── verify-scope.sh # 偽陽性しないスコープ検証(回帰#2)
├── quality-gate.sh # exit code を実測する品質ゲート
├── monitor.sh # オペレータ用監視ループ(temp ファイル状態)
├── hooks-git.sh # 作業量フックの参考実装(worktree-id → 実 checkout の commit / 変更数)
└── hooks-task.sh # タスク状態フック(worktree-id → 実行契約の裁定済みステータス)
テスト: tests/unit/skills/orchestrate-monitor/。fixture は**実 capture --json を採取した生 payload
(ANSI エスケープを含む)**で、fixture-fidelity.test.ts が ANSI の残存を CI で強制する
(ANSI を剥がした fixture は「製品が出力しない形」を検証してしまう=回帰#3 の再生産)。
npm run test:unit に含まれ、bash -n 構文チェックも syntax.test.ts として同梱される。
使い方
# 1 つ以上の worktree-id を監督する(フラグ無しで正しいセッションへ介入する)
CM="npx commandmate@latest" \
.claude/skills/orchestrate-monitor/scripts/monitor.sh \
--interval 20 --idle-threshold 8 <worktree-id> [<worktree-id> ...]
# 既定インスタンス以外を見るときだけ <worktree-id>@<instance-id> で指定する
.claude/skills/orchestrate-monitor/scripts/monitor.sh w1 w2@codex-2
# 中核だけを個別に使う(Claude が監督中に呼ぶのはこちら)
commandmate capture <id> --json > poll.json
.claude/skills/orchestrate-monitor/scripts/classify-state.sh --json poll.json
# -> NOT_RUNNING | RATE_LIMIT | GENERATING | PROMPT | IDLE
判定順(classify-state.sh)。順序自体がガードであり、各分岐は入力注入か抑止のどちらかを
引き起こすので、早すぎる発火は健全なセッションを壊す:
NOT_RUNNING → is_retrying(→GENERATING) → PROMPT → GENERATING → RATE_LIMIT → IDLE
What ships with it
8 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.
- scripts/classify-state.sh 3.6 KB runs code
- scripts/hooks-git.sh 17 KB runs code
- scripts/hooks-task.sh 4.4 KB runs code
- scripts/monitor-lib.sh 32 KB runs code
- scripts/monitor.sh 35 KB runs code
- scripts/quality-gate.sh 1.0 KB runs code
- scripts/verify-completion.sh 4.1 KB runs code
- scripts/verify-scope.sh 1.2 KB runs code
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 Changed · +8 lines 4cab1bb82deb
- 1mo ago First seen · 532 lines · 78 tokens per session scan A 215eed59e3de
orchestrate-monitor is a skill published in the GitHub repository Kewton/CommandMate (44 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 14,801 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
luvus-module
Write a luvus module (an extension for luvus, mission control for your AI coding agents). Use when the user is building or debugging a luvus module: authoring luvus-module.toml, adding a sidebar dock, Luvus Bar widget, right-click action, event hook, module pane, module settings, or calling luvus back over its UHP.
gpui-mockup
Explore visual directions for a herdr-gpui UI element as real GPUI code. Write 3–4 variants in one Rust file, show them side by side in a native mockup window in the user's own theme and fonts, capture the window to check your work, and iterate on the picks and notes the user sends back. Use instead of the HTML mockup…
skill
Skill "skill" from wavyrai/tmux-ide, covering tmux-ide — claude code skill, when to use, the agent contract, coordinating with other agents and fleet control from the cli.
kanban-orchestrator
Kanban orchestrator: decompose, route, verify. No executing.
arch-check
An architecture and implementation review tool that examines how a codebase is modeled, divided into responsibilities, organized into modules, and connected by dependencies. It also checks for issues such as circular dependencies, over-design, and violations of common design principles.
cross-repo-delegate
A workflow for sending work tickets between separate code repositories. It lets an agent create a ticket for another project, then lets the receiving project list, claim, question, answer, or close that ticket.