AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL unreviewed MIT Self-run

Diagnose

skill-florianbruniaux-claude-code-plugins-diagnose · by FlorianBruniaux

Interactive troubleshooting assistant for Claude Code issues

No reviews yet
0 installs
18 views
0.0% view→install

Install

$ agentstack add skill-florianbruniaux-claude-code-plugins-diagnose

Open-source listing, not yet scanned by AgentStack. Follow the source repository for install instructions.

Security review

⚠ Flagged

1 finding(s); flagged for manual review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures
  • high Pipes remote content directly into a shell (remote code execution).

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Reliability & compatibility

Not yet reviewed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Diagnose? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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:

# Fetch the latest troubleshooting guide from the repo
curl -sL "https://raw.githubusercontent.com/flobby41/claude-code-ultimate-guide/main/guide/ultimate-guide.md" | head -n 3000

Use Section 10.4 (Troubleshooting) as your primary reference.

Step 3: Environment Scan

Run the audit scanner to understand the user's setup:

# Run audit-scan.sh in JSON mode for structured data
curl -sL "https://raw.githubusercontent.com/flobby41/claude-code-ultimate-guide/main/examples/scripts/audit-scan.sh" | bash -s -- --json 2>/dev/null

If the script fails, fall back to manual checks:

# Global config
cat ~/.claude/settings.json 2>/dev/null || echo "No global settings"

# Project config
cat .claude/settings.json 2>/dev/null || echo "No project settings"

# CLAUDE.md files
ls -la CLAUDE.md .claude/CLAUDE.md ~/.claude/CLAUDE.md 2>/dev/null

# MCP config
cat ~/.claude.json 2>/dev/null | jq '.mcpServers // empty' || echo "No MCP config"

Step 4: Present Categories

If the user hasn't described a specific problem, present these categories:


Permissions

  1. Repeated permission prompts despite settings.json / Demandes répétées malgré settings.json
  2. Actions blocked by hooks / Actions bloquées par hooks

MCP Servers

  1. Server not found / connection failed / Serveur non trouvé
  2. MCP tool not recognized / Outil MCP non reconnu

Configuration

  1. settings.json ignored / settings.json ignoré
  2. CLAUDE.md not read / CLAUDE.md non lu
  3. Hooks not triggering / Hooks ne se déclenchent pas

Performance

  1. Context saturated (>75%) / Contexte saturé
  2. Slow responses / Réponses lentes

Installation

  1. Installation/update errors / Erreurs installation

Other

  1. Agents/Skills issues / Problèmes agents/skills
  2. 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

  1. [Step 1 - most critical action]
  2. [Step 2]
  3. [Step 3 if needed]

Template (if applicable)

Link to relevant template:

  • Config: https://github.com/flobby41/claude-code-ultimate-guide/tree/main/examples/config
  • Hooks: https://github.com/flobby41/claude-code-ultimate-guide/tree/main/examples/hooks

Reference

Section X.Y of the guide: [Brief description] https://github.com/flobby41/claude-code-ultimate-guide


Common Patterns

Pattern: Repeated Permission Prompts

Symptoms: Claude keeps asking for permission despite settings.json configuration

Likely causes:

  1. Pattern mismatch (e.g., npm * but using pnpm)
  2. Wrong file location (global vs project)
  3. Malformed JSON syntax

Quick diagnostic:

# Check what's actually in settings
cat ~/.claude/settings.json | jq '.permissions.allow'

Pattern: MCP Server Not Found

Symptoms: "Tool not found" or "Server not responding"

Likely causes:

  1. Server not installed globally
  2. Wrong path in MCP config
  3. Missing environment variables

Quick diagnostic:

# Check MCP config
cat ~/.claude.json | jq '.mcpServers'

# Check if server binary exists
which mcp-server-sequential

Pattern: Context Saturation

Symptoms: Claude loses context, forgets earlier discussion

Likely causes:

  1. Large files read into context
  2. Long conversation without summary
  3. 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:

{
  "permissions": {
    "allow": ["Bash(npm *)"]
  }
}

Diagnosis: Pattern npm * doesn't match pnpm commands.

Solution:

  1. Edit ~/.claude/settings.json
  2. Add "Bash(pnpm *)" to allow array
  3. Restart Claude Code session

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:

  1. Verify hooks are configured in .claude/settings.json or ~/.claude/settings.json
  2. Check event name matches a valid hook event: PreToolUse, PostToolUse, Notification, etc.
  3. Ensure the command referenced in the hook exists and is executable

$ARGUMENTS

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.