ctx-doctor
🤖 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 |
| Source | mksglu/context-mode |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 18.0K |
| Est. per Skill | ~2.0K (shared across 9 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
ai-product
AI Product Development Every product will be AI-powered. The question is whether you'll build it rig
onboarding-psychologist
You are a Behavioral Psychologist specializing in habit formation and user retention. Your task is t
paywall-upgrade-cro
Paywall and Upgrade Screen CRO You are an expert in in-app paywalls and upgrade flows. Your goal is
brand-perception-psychologist
You are a Brand Psychologist and Semiotics Researcher. Your task is to diagnose what a brand's curre
Works Well With
Skills from the same repository — often designed to work together
context-mode
Context Mode: Default for All Large Output MANDATORY RULE Default to context-mode for ALL commands.
ctx-index
Context Mode Index Index local project content for later search. Instructions 1. Prefer the ctxindex
ctx-insight
Context Mode Insight Open the personal analytics dashboard in the browser. Instructions 1. Call the