doctor
Skill5 starsChanged 12 days agoMITView on GitHub
本机环境体检:一条命令问清这台机器上哪些流程能跑、哪些会降级(缺 Python 包、git、node、gh, traces/ 能否解析,知识库索引在不在),并给出每项缺失的修法。任务开始前环境可疑、换机器、 内网新部署、或流程中途以一句 import 报错退出时用。可反复执行:同一台机器两次跑结论一致。
81 other projects use a version of this.
Adopted by
Most recently taken up by
- JanSzewczyk/spec-driven-developmenttheir own version, first seen Nov 8, 2026
- stunt-double/stuntdouble-mcptheir own version, first seen Nov 8, 2026
- aaroncohn/openspec-conductor-powerupstheir own version, first seen Nov 8, 2026
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- woosikkim/oh-my-claudecode-slimtheir own version, first seen Nov 8, 2026
- Ubuntu-Buddha/claude-code-stranger-dangertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use uninstall, cancel and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkilluninstall
Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.
Also in 6 projects that use this
woosikkimSkillcancel
Clear any stale OMC-Slim state
Also in 3 projects that use this
ibahgatSkillmode
Inspect or switch omi operating mode/profile for speed, depth, autonomy, or strict quality gates.
Also in 3 projects that use this
BlockSkillopen
Open markdown documents in Penpal for collaborative review. Use when you want a human to review a document, plan, or research artifact.
Also in 3 projects that use this
QinghongLinSkilleditor
Read analyst.json and detective.json, make all editorial decisions — what the blog argues, which findings matter, narrative arc and section structure. No visual design. Outputs editor.md (prose) and editor.json (structure with edt_xx IDs).
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 15 projects that use this
Other versions81 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 81
- Yeachan-Heo/oh-my-codex★ 34ksame name
- jihe520/MathModelAgent★ 6.2ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
- fakechris/obsidian_vault_pipeline★ 165same name
- NoobyGains/godmode★ 118same name
- Rich627/whatsapp-claude-plugin★ 114same name
- bluzir/claude-code-design★ 102same name
- jjanczur/tyran★ 81same name
- svy04/ballast★ 73same name
- Hainrixz/agente-pagokit★ 68same name
71 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- askSkill
- diagnoseSkill
- doc-standardsSkill
- evolve-checkSkill
- issue-ingestSkill
- knowledge-groomSkill
- preload-panelSkill
- reference-ingestSkill
- resume-diagnosisSkill
- self-evolveSkill
- skill-reviewSkill
- to-postmortemSkill
- to-referenceSkill
The file
Files
Doctor(本机环境体检)
依赖缺了不在开单时报,而在任务中途以一句 traceback 出现。实测:缺 PyYAML 的机器上点「导出交接包」, 面板只回一句「导出脚本没有给出 JSON 结果」。根因在 traceback 的最后一行,读者要自己认。 全仓有一批脚本在 import 阶段就依赖 PyYAML,缺一个包会同时断掉几条流程。
本 skill 的动作一件:跑体检器,然后按它给的顺序修一项、重跑一次。
何时触发
- 用户问「这台机器能不能用」「装了什么」「为什么报缺依赖」;
- 流程中途出现
ModuleNotFoundError、command not found,或面板报「没有给出 JSON 结果」这类只有结果没有原因的错误; - 换机器、换解释器、内网新部署第一次用;
- 修完一项要复验。
只跑一条命令
python3 scripts/doctor.py # 人读三段:结论 / 证据 / 下一步
python3 scripts/doctor.py --json # 面板或脚本消费退出码:0 无阻断、2 有阻断项、3 不在 ascend-sleuth 检出里、4 命令行参数写错。
不要自己另写探测命令。手敲 python3 -c "import yaml" 只验一个包,也漏掉解释器不一致这一层。
体检器扫的是 scripts/ 下全部脚本的 import,新增第三方包会被它自动发现;能力表写错 id 时它会自报。
怎么读输出
三段各回答一个问题。
| 段 | 回答 | 用法 |
| 结论 | 哪些流程能跑、降级、不能跑 | 第一屏转述这三行,不让用户自己读全表 |
| 证据 | 每项缺什么、影响几个脚本、修法原值 | 修的时候照抄「修:」后面那条命令 |
| 下一步 | 按影响面排序的修复动作 | 一次只做第一条 |
报告末尾那行「体检用的解释器」要带上。面板与终端可能不是同一个解释器:Windows 上按 python3 →
python → py -3 的顺序探活。把包装到另一个解释器上,体检结论不会变。
解释器低于 3.10 时,Python 那一行会标降级:标准库名单在那个版本不存在,依赖判定只能按路径推断, 可能多报。先升级解释器再判结论。
修复循环
- 读结论段,记下第一条阻断项。
- 只修那一项,命令照抄证据段给的「修:」原值。
- 重跑同一条命令。
- 阻断项清零后,再处理降级项。
- 结论与上一次不一致时先停。同一台机器两次跑出不同结果,说明环境在变(PATH、解释器、代理), 先查这个再继续修。
硬规则
- 没跑就不许说「环境没问题」。结论只从脚本输出里取。
- 不许为了让检查变绿去改体检器或绕开它。它是判据,不是待办清单。
- 阻断与降级的判据不同。缺 Python 包是阻断:相关脚本在 import 阶段退出。缺
node、gh、git是降级:对应流程退化,其余照跑。先修阻断项。 - 修不了的项照实说。内网装不了包就给出带 wheel 的离线装法,不再给一条本机执行不了的联网命令。
- 降级项不挡流程时不要顺手修。一次只动一项,修完重跑,否则下一轮分不清是谁改好了。
- 「演进模式」那一行是部署声明,不是缺陷。
record-only属于正常项(只做内容沉淀的部署的 预期形态:只记信号不产卡),不要为了让它变绿去改成full。声明写坏时它报降级,修的是deployment.yaml里的evolution.mode,不是体检器。
它不负责什么
- 内容门禁:索引新鲜度、结构校验、面板契约由各自的检查脚本判,体检器不碰内容。
- 一次跑完所有 CI 命令:那是
python3 scripts/rehearse_evolve_loop.py(逐条复跑 CI 的run:)。 体检器只在「下一步」里指出该跑哪一条,不抄那份清单。 - 装包与改配置:它只读。装包是人的决定,装法由它给出、人执行。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

