JavaScript is disabled. Some features may not work.
ctx-doctor — ★ 18.0K GitHub Stars — Install Guide | SkillsNav
🇺🇸 English🇨🇳 中文
SkillsNav
Home

ctx-doctor

★ 18K repomlN/AIntermediateClaude MCP
🤖 AI Summary

`ctx-doctor` runs server-side diagnostics via an MCP tool and displays the plain-text status report verbatim in the conversation, falling back to executing a local CLI script if the MCP call fails.

How to Install

Claude Code:
git clone --depth 1 https://github.com/mksglu/context-mode.git && cp context-mode/skills/ctx-doctor ~/.claude/skills/ctx-doctor -r
# 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="/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="/build/cli.js"; node "$CLI" doctor ``` Re-display results verbatim with the same `[OK]`/`[FAIL]`/`[WARN]` prefixes.

Details

Category AI/ML → ml
Sourcemksglu/context-mode
SKILL.mdView on GitHub →
Repo Stars★ 18.0K
Est. per Skill~2.0K (shared across 9 skills from this repo)
DifficultyIntermediate
Risk LevelN/A

Related Skills

Works Well With

Skills from the same repository — often designed to work together