ctx-doctor
What it does
This skill checks whether the context-mode tools are set up and working correctly. It is for people who see errors from context-mode or want to confirm an install is healthy.
When to use it
- ✓When context-mode tools are not working as expected and the cause is unclear.
- ✓When someone wants to confirm that hooks, storage and plugin registration are set up correctly.
- ✓When a user wants to check whether their context-mode version is up to date.
Skill link
https://github.com/mksglu/context-mode/blob/main/skills/ctx-doctor/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Run the context-mode doctor and tell me if anything is broken.”
5 new skills a week. 1 minute to read.
How it works
The skill calls the diagnostic tool, which runs all checks on the server and returns a plain status report. The results are shown as pass, fail or warning lines.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Context Mode Doctor
Run diagnostics and display results directly in the conversation.
Instructions
- Call the
ctx_doctorMCP tool directly. It runs all checks server-side and returns a plain-text status report. - 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). - 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:
Re-display results verbatim with the sameCLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" doctor[OK]/[FAIL]/[WARN]prefixes.
FAQ
What does it check?
It checks runtimes, hooks, the search storage, plugin registration and npm and marketplace versions.
What if the diagnostic tool cannot run?
The skill has a fallback that runs the command-line version of the same check.
Does it fix problems?
It reports problems. Fixing them is a separate step, such as running the upgrade skill.
Details
Original description by the author
Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor
repo: mksglu/context-mode
Popularity
- GitHub stars
- 33k
- Ranking position
- #8511
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
context-mode
33kTeaches your agent to use context-mode tools for reading, searching and running data-heavy tasks, so large outputs stay out of the main conversation.
context-mode
33kTeaches your agent to run data-heavy work in a sandbox and print only the answer, so raw files and web pages do not flood the conversation.
context-mode
33kTeaches your agent to use context-mode tools instead of plain shell commands when output may be large, such as logs, JSON or build results.
ctx-index
33kLets your agent index a local project or folder into a searchable store, so later questions find the right snippets without rereading every file.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.