跳到正文
Skillpedia
智能体33k · #8511

ctx-doctor

它能做什么

这个技能检查 context-mode 工具是否已正确设置并正常工作。适合遇到 context-mode 报错,或想确认安装状态是否健康的用户。

适用场景

  • ✓当 context-mode 工具没有按预期工作,而原因不明的时候。
  • ✓当有人想确认钩子、存储和插件注册设置是否正确的时候。
  • ✓当用户想检查自己的 context-mode 版本是否为最新的时候。

技能链接

https://github.com/mksglu/context-mode/blob/main/skills/ctx-doctor/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mksglu/context-mode/blob/main/skills/ctx-doctor/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请运行 context-mode 诊断,并告诉我是否有任何部分出了问题。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会调用诊断工具,它在服务器上运行所有检查,并返回一份普通的状态报告。结果会以通过、失败或警告的行显示。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Context Mode Doctor

Run diagnostics and display results directly in the conversation.

Instructions

  1. Call the ctx_doctor MCP tool directly. It runs all checks server-side and returns a plain-text status report.
  2. Display the results verbatim — they are already formatted with plain-text status prefixes: [OK] PASS, [FAIL] FAIL, [WARN] WARN. Renderer-safe (no markdown task-list syntax) for cross-client compatibility (e.g., Z.ai GLM).
  3. Fallback (only if MCP tool call fails): Derive the plugin root from this skill's base directory (go up 2 levels — remove /skills/ctx-doctor), then run with Bash:
    CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" doctor
    
    Re-display results verbatim with the same [OK]/[FAIL]/[WARN] prefixes.
常见问题

它检查什么?

它检查运行环境、钩子、搜索存储、插件注册,以及 npm 和市场版本。

如果诊断工具无法运行怎么办?

这个技能有备用方案,会运行同一检查的命令行版本。

它会修复问题吗?

它只报告问题。修复是单独的步骤,例如运行升级技能。

详情

作者的原始描述

Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor

repo: mksglu/context-mode

热度

GitHub 星标
33k
排名
#8511
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能