Token导航 LogoToken导航TokenDH.com
AI 工具敏感数据github未标认证来源可访问clear审计通过

doctor系统诊断

Agent Skill

doctor 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,957

周安装

122

GitHub Stars

160

下载量

966
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doctor(系统诊断)
来源仓库:https://github.com/yonatangross/orchestkit
仓库路径:skills/doctor
安装命令:
npx skills add https://github.com/yonatangross/orchestkit --skill doctor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/yonatangross/orchestkit --skill doctor

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合围绕代码变更和仓库状态进行整理与诊断。doctor 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。
  • 可结合原始 README 核验具体调用方式。
  • 安装前建议确认 token 权限及是否会触发文件读写操作。
  • 注意该技能可能访问私有仓库,请确保授权合规。

SKILL.md

OrchestKit Health Diagnostics

Argument Resolution

FLAGS = "$ARGUMENTS"         # Full argument string, e.g., "--verbose" or "--json"
FLAG = "$ARGUMENTS[0]"       # First token: -v, --verbose, --json, --category=X
# $ARGUMENTS[0], $ARGUMENTS[1] for indexed access (CC 2.1.59)

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 when an explicit scope arg or env override is present:
#   /ork:doctor cc      → skip, use cc-only
#   /ork:doctor mcp     → skip, use mcp-only
#   /ork:doctor plugin  → skip, use plugin-only
#   ORK_DOCTOR_SCOPE=all (or any of the above) → skip, use the env value
#
# Otherwise, ask:
AskUserQuestion(questions=[{
  "question": "What should doctor check?",
  "header": "Scope",
  "options": [
    {"label": "Everything (default)", "description": "Full system health — ~20s; runs all 14 categories"},
    {"label": "CC version & features only", "description": "Categories 10 + 13 + 14; ~3s — for 'is my CC up to date?'"},
    {"label": "MCP servers only", "description": "Category 12 (incl. pinning sub-check); ~5s — for 'are MCPs working?'"},
    {"label": "Plugin health only", "description": "Categories 0-3 + 5 (skills, agents, hooks, build); ~8s — for 'after npm run build'"}
  ]
}])

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 /ork:doctor command performs comprehensive health checks on your OrchestKit installation. It auto-detects installed plugins and validates 14 categories:

  1. Installed Plugins - Detects ork plugin
  2. Skills Validation - Frontmatter, references, token budget (dynamic count)
  3. Agents Validation - Frontmatter, tool refs, skill refs (dynamic count)
  4. Hook Health - Registration, bundles, async patterns
  5. Permission Rules - Detects unreachable rules
  6. Schema Compliance - Validates JSON files against schemas
  7. Coordination System - Checks lock health and registry integrity
  8. Context Budget - Monitors token usage against budget
  9. Memory System - Graph memory health
  10. Claude Code Version & Channel - Validates CC >= 2.1.111, detects release channel (stable/beta/alpha), recommends 2.1.111+ for xhigh effort, /ultrareview, stream-json plugin_errors
  11. External Dependencies - Checks optional tool availability (agent-browser)
  12. 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 @latest in .mcp.json (closes #1462)
  13. Plugin Validate - Runs claude plugin validate for official CC frontmatter + hooks.json validation (CC >= 2.1.77)
  14. Effort/Model Compatibility - Warns when xhigh effort is requested without Opus 4.7 (silent fallback otherwise)

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

/ork:doctor           # Standard health check
/ork:doctor -v        # Verbose output
/ork:doctor --json    # Machine-readable for CI

CLI Options

FlagDescription
-v, --verboseDetailed output per check
--jsonJSON output for CI integration
--category=XRun only specific category

Health Check Categories

Detailed check procedures: Load Read("${CLAUDE_SKILL_DIR}/rules/diagnostic-checks.md") for bash commands and validation logic per category. MCP-specific checks: Load Read("${CLAUDE_SKILL_DIR}/rules/mcp-status-checks.md") for credential validation and misconfiguration detection. Output examples: Load Read("${CLAUDE_SKILL_DIR}/references/health-check-outputs.md") for sample output per category.

Categories 0-3: Core Validation

CategoryWhat It ChecksReference
0. Installed PluginsAuto-detects ork plugin, counts skills/agentsload ${CLAUDE_SKILL_DIR}/rules/diagnostic-checks.md
1. SkillsFrontmatter, context field, token budget, linksload ${CLAUDE_SKILL_DIR}/references/skills-validation.md
2. AgentsFrontmatter, model, skill refs, tool refsload ${CLAUDE_SKILL_DIR}/references/agents-validation.md
3. Hookshooks.json schema, bundles, async patternsload ${CLAUDE_SKILL_DIR}/references/hook-validation.md

Categories 4-5: System Health

CategoryWhat It ChecksReference
4. Memory.claude/memory/ exists, decisions.jsonl integrity, queue depthload ${CLAUDE_SKILL_DIR}/references/memory-health.md
5. Buildplugins/ sync with src/, manifest counts, orphansload ${CLAUDE_SKILL_DIR}/rules/diagnostic-checks.md

Categories 6-9: Infrastructure

CategoryWhat It Checks
6. Permission RulesUnreachable rules detection
7. Schema ComplianceJSON files against schemas
8. CoordinationMulti-worktree lock health, stale locks, sparse paths config
9. Context BudgetToken usage against budget

Categories 10-14: Environment

CategoryWhat It ChecksReference
10. CC Version & ChannelRuntime version against minimum required, release channel (stable/beta/alpha)load ${CLAUDE_SKILL_DIR}/references/version-compatibility.md
11. External DepsOptional tools (agent-browser, portless)load ${CLAUDE_SKILL_DIR}/rules/diagnostic-checks.md
12. MCP StatusEnabled/disabled state, credential checks, HIGH-tier @latest pinning warnload ${CLAUDE_SKILL_DIR}/rules/mcp-status-checks.md + ${CLAUDE_SKILL_DIR}/references/mcp-pinning-check.md
13. Plugin ValidateOfficial CC frontmatter + hooks.json validation (CC >= 2.1.77)load ${CLAUDE_SKILL_DIR}/rules/diagnostic-checks.md
14. Effort/ModelDetects xhigh effort configured without Opus 4.7 — see belowinline

Category 14: Effort/Model Compatibility (CC 2.1.111+)

CC 2.1.111 added xhigh effort (Opus 4.7 only). Using it with any other model silently falls back to high — producing no error but losing the extra deepening pass documented in the affected skills.

Detection:

  • If the active model is NOT Opus 4.7, check whether /effort is set to xhigh:

- Read .claude/settings.jsoneffort field - Read $ORCHESTKIT_EFFORT env var (populated by the effort-detector hook)

  • Check for any skill invocation under .claude/chain/*.json that explicitly set effort: xhigh with a non-4.7 model in scope

Warning format:

WARNING: xhigh effort requires Opus 4.7.
  Current model: <model-id>
  Configured effort: xhigh
  Impact: Skills fall back to high — xhigh's extra deepening pass is lost silently.
  Fix: Either switch to Opus 4.7 (`claude --model opus-4.7`) or lower effort to `high`.

Exit code: Non-zero in --json mode; soft warning in interactive mode.

Report Format

Load Read("${CLAUDE_SKILL_DIR}/references/report-format.md") for ASCII report templates, JSON CI output schema, and exit codes.

Interpreting Results & Troubleshooting

Load Read("${CLAUDE_SKILL_DIR}/references/remediation-guide.md") for the full results interpretation table and troubleshooting steps for common failures (skills validation, build sync, memory).

After you fix an issue

CC 2.1.69+: Run /reload-plugins to activate plugin changes in the current session without restarting. CC 2.1.116+: /reload-plugins and background plugin auto-update now auto-install missing plugin dependencies from marketplaces you've already added. If ork:doctor flagged a plugin-load failure due to a missing dep, /reload-plugins resolves it in place — no manual plugin install step needed.

Related Skills

  • ork:configure - Configure plugin settings
  • ork:quality-gates - CI/CD integration
  • security-scanning - Comprehensive audits

References

Load on demand with Read("${CLAUDE_SKILL_DIR}/references/<file>") or Read("${CLAUDE_SKILL_DIR}/rules/<file>"):

FileContent
rules/diagnostic-checks.mdBash commands and validation logic per category
rules/mcp-status-checks.mdCredential validation and misconfiguration detection
references/remediation-guide.mdResults interpretation and troubleshooting steps
references/health-check-outputs.mdSample output per category
references/skills-validation.mdSkills frontmatter and structure checks
references/agents-validation.mdAgents frontmatter and tool ref checks
references/hook-validation.mdHook registration and bundle checks
references/memory-health.mdMemory system integrity checks
references/permission-rules.mdPermission rule detection
references/schema-validation.mdJSON schema compliance
references/report-format.mdASCII report templates and JSON CI output
references/version-compatibility.mdCC version and channel validation
references/mcp-pinning-check.mdHIGH-tier MCP @latest warning logic + tier source-of-truth

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.22%
按下载量换算282

windsurf

23.71%
按下载量换算229

trae

16.77%
按下载量换算162

OpenCode

11.37%
按下载量换算110

Codex

6.96%
按下载量换算67

Antigravity

3.61%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills