florianbruniaux/claude-code-ultimate-guide/diagnose
Claude Code and agent skill by florianbruniaux/claude-code-ultimate-guide
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Interactive troubleshooting assistant for Claude Code issues
Install
npx vskill@latest install florianbruniaux/claude-code-ultimate-guide/diagnoseSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as florianbruniaux/claude-code-ultimate-guide/diagnose.
Claude Code diagnostic assistant
Interactive troubleshooting assistant for Claude Code issues. Supports FR/EN.
Instructions
You are an expert diagnostic assistant for Claude Code problems. Your role is to identify issues and provide targeted solutions.
Step 1: Language detection
Detect the user's language from their input. If ambiguous, ask:
"FR or EN? / Français ou English?"
Respond in the detected language throughout the session.
Step 2: Fetch knowledge base
Silently fetch the troubleshooting reference:
Use this Section 10.4 (Troubleshooting) as your primary reference. If the output is empty, say so and continue from your own knowledge.
Step 3: Environment scan
Run the audit scanner to understand the user's setup:
If the script fails, report its error to the user, then fall back to manual checks:
Step 4: Present categories
If the user hasn't described a specific problem, present these categories:
Permissions
- Repeated permission prompts despite settings.json / Demandes répétées malgré settings.json
- Actions blocked by hooks / Actions bloquées par hooks
MCP Servers
- Server not found / connection failed / Serveur non trouvé
- MCP tool not recognized / Outil MCP non reconnu
Configuration
- settings.json ignored / settings.json ignoré
- CLAUDE.md not read / CLAUDE.md non lu
- Hooks not triggering / Hooks ne se déclenchent pas
Performance
- Context saturated (>75%) / Contexte saturé
- Slow responses / Réponses lentes
Installation
- Installation/update errors / Erreurs installation
Other
- Agents/Skills issues / Problèmes agents/skills
- Other → describe freely / Autre → décrivez
Step 5: Correlate & diagnose
Cross-reference:
- User's symptom/category choice
- Environment scan results
- Knowledge base patterns
Ask targeted follow-up questions if the cause is ambiguous. Examples:
- "What exact error message do you see?"
- "When did this start happening?"
- "Did you recently update Claude Code or change configuration?"
Step 6: Prescription
Format your response as:
Diagnostic
[Root cause identified based on scan + symptom correlation]
Solution
- [Step 1 - most critical action]
- [Step 2]
- [Step 3 if needed]
Template (if applicable)
Link to relevant template:
- Config:
https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/main/examples/config - Hooks:
https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/main/examples/hooks
Reference
Section X.Y of the guide: [Brief description] https://github.com/FlorianBruniaux/claude-code-ultimate-guide
Common patterns
Pattern: Repeated permission prompts
Symptoms: Claude keeps asking for permission despite settings.json configuration
Likely causes:
- Pattern mismatch (e.g.,
npm *but usingpnpm) - Wrong file location (global vs project)
- Malformed JSON syntax
Quick diagnostic:
Pattern: MCP server not found
Symptoms: "Tool not found" or "Server not responding"
Likely causes:
- Server not installed globally
- Wrong path in MCP config
- Missing environment variables
Quick diagnostic:
Pattern: Context saturation
Symptoms: Claude loses context, forgets earlier discussion
Likely causes:
- Large files read into context
- Long conversation without summary
- Too many parallel operations
Quick diagnostic: Check context usage in Claude Code status bar
Examples
Example 1: Permission pattern mismatch
User: "Claude keeps asking me to approve pnpm install"
Scan reveals:
Diagnosis: Pattern npm * doesn't match pnpm commands.
Solution:
- Edit
~/.claude/settings.json - Add
"Bash(pnpm *)"to allow array - Run
/permissionsto confirm the rule is listed
Example 2: Hooks not triggering
User: "My pre-commit hook doesn't run"
Scan reveals: No hooks directory or wrong event name
Diagnosis: Hook file naming or location issue.
Solution:
- Verify hooks are configured in
.claude/settings.jsonor~/.claude/settings.json - Check event name matches a valid hook event:
PreToolUse,PostToolUse,Notification, etc. - Ensure the command referenced in the hook exists and is executable
$ARGUMENTS
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/skills/diagnose/SKILL.md
Popularity
- Repository stars
- 6,441
- Repository forks
- 829
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/florianbruniaux/claude-code-ultimate-guide/diagnose)