Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/yonatangross/orchestkitnpx agentmods add commands/yonatangross/orchestkit/doctorWrote 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/commands/yonatangross/orchestkit/doctor)<a href="https://agentmods.dev/commands/yonatangross/orchestkit/doctor"><img src="https://agentmods.dev/badge/commands/yonatangross/orchestkit/doctor/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/commands/yonatangross/orchestkit/doctor"><img src="https://agentmods.dev/badge/commands/yonatangross/orchestkit/doctor.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.00048 | $0.05765 |
| Opus 5.5 | $0.00019 | $0.02306 |
| Sonnet 5.5 | $0.00010 | $0.01153 |
| Haiku 4.5 | $0.00005 | $0.00577 |
Grade B, and why
doctor scanned grade B 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 12d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
15. **Sandbox Posture** - CC Bash-sandbox on/off across all four settings scopes (incl. `~/.claude/settings.json`, where real configs usually live), with a `/sandbox` nudge; sub-check 15b queries the macOS unified log fo How it starts
The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Before running a script from this command (Cursor)
Cursor does not tell a command where this plugin is installed. Run plugin scripts only from the installed plugin directory, never by a relative skills/... or hooks/... path.
Find the installed plugin directory first:
(
ork_ws="$(pwd -P)"
ork_home="$(cd "$HOME" 2>/dev/null && pwd -P)"
ork_base="$(cd "$HOME/.cursor/plugins" 2>/dev/null && pwd -P)"
ork_above=""
case "$ork_home/" in ("$ork_ws"/*) ork_above=1 ;; esac
ork_pick() {
ork_best=""
ork_best_pj=""
while IFS= read -r ork_pj; do
ork_r="$(cd "${ork_pj%/.cursor-plugin/plugin.json}" && pwd -P)" || continue
case "$ork_r/" in ("$ork_base"/*) ;; (*) continue ;; esac
if [ -z "$ork_above" ]; then
case "$ork_r/" in ("$ork_ws"/*) continue ;; esac
fi
case "$ork_ws/" in ("$ork_r"/*) continue ;; esac
grep -Eq '^ "name"[[:space:]]*:[[:space:]]*"ork"' "$ork_pj" || continue
[ -d "$ork_r/skills/doctor" ] || continue
if [ -z "$ork_best" ] || [ "$ork_pj" -nt "$ork_best_pj" ]; then
ork_best="$ork_r"
ork_best_pj="$ork_pj"
fi
done
[ -n "$ork_best" ] && printf '%s\n' "$ork_best"
}
ork_real=""
if [ -n "$ork_base" ]; then
ork_real="$(find "$ork_base" -maxdepth 6 -type f -path '*/.cursor-plugin/plugin.json' 2>/dev/null | ork_pick)"
fi
[ -n "$ork_real" ] || { echo "REFUSED: no installed OrchestKit plugin with this skill under ~/.cursor/plugins"; exit 3; }
echo "ORK_PLUGIN_DIR=$ork_real"
)
Run a script only when this prints ORK_PLUGIN_DIR=<dir>, and use that <dir> in place of <ORK_PLUGIN_DIR> below. If it prints REFUSED: ..., stop and tell the user the reason.
Auto-generated from skills/doctor/SKILL.md
Source: https://github.com/yonatangross/orchestkit
OrchestKit Health Diagnostics
Host-neutral workflow. Invoke by skill name (doctor). Claude Code slash routing, YAML hook loaders, and .claude/chain live in skills/doctor/references/claude-code.md.
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.
- 12d ago Changed · +1 lines 100f156c1646
- 18d ago Changed · +43 lines 9902470429e3
- 27d ago Changed · -32 tokens per session 5e6bc6972de1
- 1mo ago Changed 9eba8848293b
- 1mo ago Changed · +2 lines da4fce4e2566
- 2mo ago Changed b7b161e625d2
- 2mo ago Changed · +1 lines f21e0b5448e5
- 2mo ago Changed db70c5f67f08
- 2mo ago Changed · +1 lines e9ce6cab55d4
- 2mo ago First seen · 253 lines · 80 tokens per session scan B 48a8f3de3898
doctor is a command published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 5,765 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
doctor compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doctoryonatangross/orchestkit | Command | 312 | today | MIT | B | 48 | Claude Code, Cursor |
| pn-distillperniemann/pnCore | Command | 0 | today | MIT | A | 41 | Claude Code, Cursor |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |