Help us improve
Share bugs, ideas, or general feedback.
From midnight-expert
This skill should be used when the user asks to "check my setup", "run diagnostics", "doctor", "health check", "verify my installation", "are my plugins working", "check plugin status", "what's broken", "fix my setup", "debug my environment", "check dependencies", "environment check", "troubleshoot setup", or invokes /midnight-expert:doctor. Provides comprehensive health reporting for the midnight-expert ecosystem — plugin installation, MCP servers, external tools, cross-plugin references, and NPM registry.
npx claudepluginhub devrelaicom/midnight-expert --plugin midnight-expertHow this skill is triggered — by the user, by Claude, or both
Slash command
/midnight-expert:doctorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive diagnostic and health report for the midnight-expert ecosystem.
This skill should be used when the user asks to "check dependencies", "verify plugin requirements", "what plugins am I missing", "validate plugin dependencies", "missing plugin dependencies", "unmet requirements", "are my dependencies satisfied", "which dependencies are broken", or invokes /midnight-plugin-utils:dependency-checker. Validates declared dependencies in extends-plugin.json files against installed and enabled plugins.
Runs comprehensive diagnostics on Claude Code environment: plugins, settings, hooks, MCP servers. Identifies issues, supports --fix and --verbose.
Runs health diagnostics on OrchestKit installation, validating plugins, skills, agents, hooks, permissions, schemas, coordination, memory, MCP status, and Claude Code version. Use for troubleshooting plugin issues.
Share bugs, ideas, or general feedback.
Comprehensive diagnostic and health report for the midnight-expert ecosystem.
/midnight-expert:doctor — run diagnostics interactively, offer fixes one at a time/midnight-expert:doctor --auto-fix — install missing dependencies silently, prompt only for upgrades and preference choicesLaunch all 5 diagnostic agents in background AND ask the user a question — in a single message with 6 tool calls (5 Agent + 1 AskUserQuestion).
Each agent has subagent_type: "general-purpose" and run_in_background: true. Each agent must run its bash command and return only the raw output lines. Do not include markdown fences or any other text in the agent prompt beyond the instruction.
Run the following command and return only the output. No other text.
bash "${CLAUDE_SKILL_DIR}/scripts/check-plugins.sh"
Run the following command and return only the output. No other text.
bash "${CLAUDE_SKILL_DIR}/scripts/check-mcp-servers.sh"
Run the following command and return only the output. No other text.
bash "${CLAUDE_SKILL_DIR}/scripts/check-ext-tools.sh"
Run the following command and return only the output. No other text.
bash "${CLAUDE_SKILL_DIR}/scripts/check-cross-refs.sh"
Run the following command and return only the output. No other text.
bash "${CLAUDE_SKILL_DIR}/scripts/check-npm.sh"
Would you also like to check Midnight Tooling status? (Compact CLI, compiler, devnet, proof server)
midnight-tooling:doctor skill (via Skill tool) and wait for it and all 5 background agents to complete.If any background agent fails (returns an error instead of structured output), include a single row in the corresponding report section:
| <section-name> | FAIL | Agent error: <error message> |
Do not skip the section — partial results are better than silence.
Parse all agent output. Each script outputs lines in the format:
CHECK_NAME | STATUS | DETAIL
Map each STATUS to a badge:
pass → PASSwarn → WARNcritical → FAILinfo → INFOPresent a single formatted report. Omit any section where all checks pass and there is an ALL_*_PASS summary line — only show sections with issues or mixed results. If ALL sections pass, show a brief "all clear" summary.
## Midnight Expert — Health Report
### Midnight Tooling (only if user opted in)
(include the delegated report from midnight-tooling:doctor)
### Plugins
| Check | Status | Details |
|-------|--------|---------|
| plugin-name | STATUS | details... |
### MCP Servers
| Check | Status | Details |
|-------|--------|---------|
| server-name | STATUS | details... |
### External Tools
| Check | Status | Details |
|-------|--------|---------|
| tool-name | STATUS | details... |
### Cross-Plugin References
| Check | Status | Details |
|-------|--------|---------|
| source → target:ref | STATUS | details... |
### NPM Registry
| Check | Status | Details |
|-------|--------|---------|
| check-name | STATUS | details... |
Do not show any intermediate bash output to the user. The report above is the only user-facing output.
Read references/fix-table.md for the fix recipes.
For each FAIL or WARN item in the report, determine the appropriate fix from the fix-table. Use the platform info line from check-ext-tools.sh to select macOS vs Linux commands.
If $ARGUMENTS contains --auto-fix:
claude mcp add).mcp.json)If no --auto-fix:
After applying any fixes, re-run only the scripts whose checks had issues to confirm resolution. Do not re-run passing scripts.
Present a final summary:
### Summary
- FAIL: N
- WARN: N
- PASS: N
- INFO: N
[If issues were fixed] Fixed N issue(s) this session.
[If remaining issues] N issue(s) require manual intervention.
[If all green] Midnight Expert ecosystem is healthy and ready for development.
${CLAUDE_SKILL_DIR}/scripts/check-plugins.sh — Plugin installation and version checks${CLAUDE_SKILL_DIR}/scripts/check-mcp-servers.sh — MCP server configuration and connectivity${CLAUDE_SKILL_DIR}/scripts/check-ext-tools.sh — External CLI tool availability and versions${CLAUDE_SKILL_DIR}/scripts/check-cross-refs.sh — Cross-plugin skill/agent reference validation${CLAUDE_SKILL_DIR}/scripts/check-npm.sh — NPM registry and @midnight-ntwrk scope checksreferences/fix-table.md — Fix recipes for all issue types with platform-specific commands