yonatangross/orchestkit/orchestkit-2
Claude Code and agent skill by yonatangross/orchestkit
- community
Checking that the SKILL.md file is still in the repository.
Diagnoses OrchestKit and project health: manifests, hooks, skills, agents, MCP servers, CC version and permissions, with severity and remedies. Use to run doctor checks, diagnose issues or check project health before a release.
Install
npx vskill@latest install yonatangross/orchestkit/orchestkit-2SKILL.md
OrchestKit Health Diagnostics
Host-neutral workflow. Invoke by skill name (doctor). Claude Code slash routing, YAML hook loaders, and .claude/chain live in references/claude-code.md.
Argument Resolution
STEP 0: Choose Scope (AskUserQuestion — M118 #1464)
A full doctor run takes ~20s. Most invocations only need one slice. Ask the user up-front so voice-flow shortcuts ("just the MCPs") map cleanly:
Skip the prompt entirely when the scope is unambiguous from the invocation. The fast scopes (3-8s) are 3-7× faster than the full run — voice users say "just the MCPs" and get a 5s answer.
Overview
The doctor command performs comprehensive health checks on your OrchestKit installation. It auto-detects installed plugins and validates 16 categories:
- Installed Plugins - Detects ork plugin
- Skills Validation - Frontmatter, references, token budget (dynamic count)
- Agents Validation - Frontmatter, tool refs, skill refs (dynamic count)
- Hook Health - Registration, bundles, async patterns
- Permission Rules - Detects unreachable rules
- Schema Compliance - Validates JSON files against schemas
- Coordination System - Checks lock health and registry integrity
- Context Budget - Monitors token usage against budget
- Memory System - Graph memory health
- Claude Code Version - Validates CC >= the
supported_floorinshared/cc-support.json(read it; it is the single source). Everything the old "recommends 2.1.154+" note gated (xhigheffort,/ultrareview, stream-jsonplugin_errors) is floor-guaranteed now, so there is nothing left to recommend - External Dependencies - Checks optional tool availability (agent-browser), plus one line per peer skill installed from another marketplace:
typesafe@typesafe-aiinstalled version against the marketplace's, viascripts/check-peer-skill.py(missing marketplace and missing plugin are separate verdicts, the vendor's update commands are the fix text; #4233) - MCP Status - Active vs disabled vs misconfigured, API key presence for paid MCPs. CC 2.1.110: detects duplicate definitions across config scopes. Sub-check warns when HIGH-tier servers resolve to
@latestin.mcp.json(closes #1462) - Plugin Validate - Runs
claude plugin validatefor official CC frontmatter + hooks.json validation (CC >= 2.1.77) - Effort/Model Compatibility - Warns only when
xhigheffort is configured AND the active model is provably unable to run it. Silent otherwise, because the fallback itself is silent - Sandbox Posture - CC Bash-sandbox on/off across all four settings scopes (incl.
~/.claude/settings.json, where real configs usually live), with a/sandboxnudge; sub-check 15b queries the macOS unified log for recent sandbox deny events (fail-closed: a denied log query reports UNOBSERVABLE, never zero) - Operator Settings Posture - Detects security controls that a plugin bundle cannot carry (credential-read deny rules, the
sandboxblock,CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS) and are therefore missing unless the operator wrote them into their own settings
When to Use
- After installing or updating OrchestKit
- When hooks aren't firing as expected
- Before deploying to a team environment
- When debugging coordination issues
- After running
npm run build
Quick Start
CLI Options
| Flag | Description | |
|---|---|---|
-v, --verbose | Detailed output per check | |
--json | JSON output for CI integration | |
--category=X | Run only specific category |
Health Check Categories
Detailed check procedures: LoadRead("rules/diagnostic-checks.md")for bash commands and validation logic per category.MCP-specific checks: LoadRead("rules/mcp-status-checks.md")for credential validation and misconfiguration detection.Output examples: LoadRead("references/health-check-outputs.md")for sample output per category.
Categories 0-3: Core Validation
| Category | What It Checks | Reference | |
|---|---|---|---|
| 0. Installed Plugins | Auto-detects ork plugin, counts skills/agents | load rules/diagnostic-checks.md | |
| 1. Skills | Frontmatter, context field, token budget, links, activation-channel reachability (no orphaned user-invocable skills) | load references/skills-validation.md | |
| 2. Agents | Frontmatter, model, skill refs, tool refs | load references/agents-validation.md | |
| 3. Hooks | hooks.json schema, bundles, async patterns — across all three hook scopes: global, agent-scoped, and skill-scoped. Detects the common hook problems: missing files (registered but not on disk), syntax errors in hooks.json or bundles, permission issues (non-executable scripts), and stale references (entries pointing at renamed/removed handlers) | load references/hook-validation.md |
Activation-channel orphans (repo / pre-release): a user-invocable skill should be reachable by more than a human typing it — via a chain (another skill references/ork:<skill>), a subagent grant (skills:insrc/agents/*.md), or a background trigger. A skill with none is an "island" that silently rots. In a repo checkout, runnpm run test:manifests:channels(gated in CI viatest:manifests). Fix an island by wiring any one channel, or add it toSTANDALONE_ALLOWLISTwith a justification.
Categories 4-5: System Health
| Category | What It Checks | Reference | |
|---|---|---|---|
| 4. Memory | .claude/memory/ graph integrity + queue depth; auto-memory MEMORY.md index budget; per-agent .claude/agent-memory/NAME/MEMORY.md (orphans, staleness, 150-line warn, secret/PII) | load references/memory-health.md and references/agent-memory-dir.md | |
| 5. Build | plugins/ sync with src/, manifest counts, orphans | load rules/diagnostic-checks.md |
Analytics writer liveness (System Health): the local analytics pipeline has several independent JSONL writers under~/.claude/analytics/(skill-usage, agent-usage, hook-timing). A writer can die silently while its siblings stay hot — observed once for four months (skill-usage.jsonl, 2026-03 to 2026-07). The check is a peer comparison: flag any watched file whose last write is ≥48h old while a sibling wrote within 24h (stat -f '%m %N' ~/.claude/analytics/*.jsonl). Thelifecycle/analytics-liveness-checkSessionStart hook runs the same comparison continuously.A flagged writer means the write path was dropped from dispatch, so check both surfaces —src/hooks/hooks.jsonAND the entries map (src/hooks/src/entries/*.ts). A hook present in one but not the other is registered-looking and silently dead: the #959 failure class.telemetry-inspectgives the per-file deep dive, covering the field-level defects this structural check cannot see: constant fields and phantom rows, the two classes fixed in #3034 and #3035 (both closed 2026-07-20). Cite them as prior art, not as open work.(Category numbering in this file is inconsistent between the Overview list above and these tables — the Overview numbers 4 as Hook Health, the tables number 4 as Memory. This check belongs to System Health regardless of which numbering a reader follows.)
Categories 6-9: Infrastructure
| Category | What It Checks | |
|---|---|---|
| 6. Permission Rules | Unreachable rules detection | |
| 7. Schema Compliance | JSON files against schemas | |
| 8. Coordination | Multi-worktree lock health, stale locks, sparse paths config | |
| 9. Context Budget | Token usage against budget |
Categories 10-16: Environment
| Category | What It Checks | Reference | |
|---|---|---|---|
| 10. CC Version | Runtime version against minimum required | load references/version-compatibility.md | |
| 11. External Deps | Optional tools (agent-browser, portless) | load rules/diagnostic-checks.md | |
| 12. MCP Status | Enabled/disabled state, credential checks, HIGH-tier `@latest` pinning warn | load rules/mcp-status-checks.md + references/mcp-pinning-check.md | |
| 13. Plugin Validate | Official CC frontmatter + hooks.json validation (CC >= 2.1.77) | load rules/diagnostic-checks.md | |
| 14. Effort/Model | xhigh effort configured on a model that provably cannot run it (see below). Defaults to silence | inline | |
| 15. Sandbox Posture | CC Bash-sandbox on/off across all four settings scopes + /sandbox nudge (opt-in, Bash-only; info-level). 15b: bounded read-only query of the macOS unified log for recent Sandbox deny events via scripts/check-sandbox-violations.sh (warn-level; fail-closed when the log query itself is denied; explicit skip off macOS) | load references/sandbox-posture.md | |
| 16. Operator Settings Posture | Controls a plugin bundle cannot carry, so they exist only if the operator wrote them: credential-read permissions.deny rules (defence in depth: pretool/read/credential-read-guard already covers the Read tool), the sandbox block incl. network.deniedDomains (the egress guard only asks on the upload shape; a plain GET abstains), and CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS (ork's own agent-teams.ts gates on it). Since CC 2.1.257 it also reports permissions.blockReadsOutsideWorkingDirectories and warns when it is true without ~/.claude in additionalDirectories (the reads ork skills make outside the project would be refused, not prompted). Since #3877 it also names a project-scope sandbox.enabled: false that overrides a user-scope true (sandbox_override, project file:line and user file:line; the project file wins and Bash runs unsandboxed). Since CC 2.1.299 to 2.1.305 it also reports unattended-lane posture under unattended: an idleCompaction: false scope (warned) and, with CLAUDE_CODE_RETRY_WATCHDOG on, each missing watchdog cap (offered). Since #3835 the audit is a script: bash ${CLAUDE_SKILL_DIR}/scripts/check-operator-permissions.sh <project_dir> --json (exit 0 all payload rules enforced, 1 missing with the remedy, 2 could-not-observe); the remedy is setup phase 3.6, consent-gated. Warn-level; prints the JSON to paste | load references/settings-posture.md |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/skills/doctor/SKILL.md
Popularity
- Repository stars
- 126
- Repository forks
- 14
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yonatangross/orchestkit/orchestkit-2)