/ctx:ctx-doctorfrom ctx
Troubleshoot ctx behavior. Runs structural health checks, analyzes event log patterns, and presents findings with suggested actions.
Ships in ctx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Diagnose ctx problems by combining structural health checks with event log analysis.
/ctx-status)/ctx-drift)ctx hook message)/ctx-pause)Follow this triage sequence:
Run ctx doctor --json to get the full structural health report.
ctx doctor --json
Parse the JSON output. Note any warnings or errors.
If the doctor report shows event logging is enabled, query recent events:
ctx hook event --json --last 100
If the user is asking about a specific hook:
ctx hook event --hook <hook-name> --json --last 20
If event logging is not enabled, note: "Enable event_log: true in
.ctxrc for hook-level diagnostics."
Based on findings, check additional sources:
.claude/settings.local.json to verify hook registrationctx hook message list to check for silenced hooks.ctxrc to check configurationctx remind list for pending remindersStructure your report as:
## Doctor Report
### Structural health
- Summarize ctx doctor results
### Event analysis (if available)
- Patterns, gaps, or anomalies in event data
- Specific hook behavior observations
### Suggested actions
- [ ] Actionable items based on findings
Present actionable next steps but do NOT auto-fix anything. The user decides what to act on.
| Source | Command | What it reveals |
|---|---|---|
| Structural health | ctx doctor --json | All mechanical checks |
| Event log | ctx hook event --json --last 100 | Recent hook activity |
| Event log (filtered) | ctx hook event --hook <name> --json | Specific hook |
| Reminders | ctx remind list | Pending reminders |
| Hook messages | ctx hook message list | Custom vs default |
| RC config | Read .ctxrc | Configuration |
If event logging is not enabled, the skill still works with reduced
capability. Run ctx doctor for structural checks and note that
event-level diagnostics require event_log: true in .ctxrc.
What SKILL.md sets; muted values are Claude Code's defaults
54 skills in this plugin
/ctx-agentLoad full context packet. Use at session start or when context seems stale or incomplete./ctx-architectureBuild and maintain architecture maps. Use to create or refresh ARCHITECTURE.md and DETAILED_DESIGN.md. Supports principal mode for deeper analysis: vision, future direction, bottlenecks, implementation alternatives, gaps, upstream proposals, and intervention points./ctx-architecture-enrichEnrich architecture artifacts with code intelligence data. Takes existing /ctx-architecture output as baseline, verifies and quantifies with GitNexus MCP (blast radius, execution flows, domain clustering, registration sites). Run after /ctx-architecture, not instead of it./ctx-archiveArchive completed tasks. Use when TASKS.md has many completed items cluttering the view.npx claudepluginhub activememory/ctx --plugin ctxOther plugins' skills for the same job