Diagnose and fix Claude Code setup and runtime issues.
From claude-code-expertnpx claudepluginhub markus41/claude --plugin claude-code-expertDiagnose and fix Claude Code setup and runtime issues.
/cc-troubleshoot [issue-type]
/cc-troubleshoot # Run full diagnostics
/cc-troubleshoot auth # Authentication issues
/cc-troubleshoot mcp # MCP server issues
/cc-troubleshoot hooks # Hook issues
/cc-troubleshoot config # Configuration issues
/cc-troubleshoot permissions # Permission issues
/cc-troubleshoot performance # Performance issues
/cc-troubleshoot install # Installation issues
/cc-troubleshoot plugins # Plugin issues
When invoked, activate the claude-code-debugger agent to run systematic diagnostics:
Focus only on the specified area with deeper analysis.
=== Claude Code Diagnostics ===
[PASS] Node.js v20.11.0
[PASS] Claude Code v1.2.3
[PASS] API Key configured (54 chars)
[PASS] settings.json valid
[WARN] 3 unresolved issues in lessons-learned.md
[FAIL] MCP server "postgres" not responding
[FAIL] Hook script .claude/hooks/guard.sh not executable
=== Recommended Fixes ===
1. Fix MCP server: Check DATABASE_URL env var
2. Fix hook: chmod +x .claude/hooks/guard.sh
When possible, offer to automatically fix issues: