Skip to content
Skillpedia
Agents33k · #8511

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.md

Copy 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

Use this skill to help me: https://github.com/mksglu/context-mode/blob/main/skills/ctx-doctor/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  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.
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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills