diagnose

diagnose is a skill for Claude Code, Codex from FlorianBruniaux/claude-code-plugins. It costs 10 tokens per session (1,331 once invoked), scanned D, original, MIT.

An interactive troubleshooting assistant for Claude Code that supports English and French. It uses a troubleshooting guide and an environment scan to investigate configuration and setup problems.

In plain words
What is it for?
Diagnosing Claude Code issues by checking versions, global settings, project files, scripts, and other parts of the installation.
Why use it?
It turns a broad Claude Code problem into a guided check of the relevant environment and known troubleshooting information.

Skill for Claude CodeCodex

Part of the code-quality plugin — 7 skills, 8 commands, 6 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/florianbruniaux/claude-code-plugins/diagnose
Any agent
npx skills add FlorianBruniaux/claude-code-plugins --skill diagnose
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Made for: Claude Code, Codex.

Or install code-quality, the plugin that ships this one along with the rest of its 7 skills, 8 commands, 6 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/diagnose.svg)](https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/diagnose)
Your own site
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/diagnose"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/diagnose.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.01331
Opus 5 $0.00005 $0.00665
Sonnet 5 $0.00002 $0.00266
Haiku 4.5 $0.00001 $0.00133

Measured 4d ago against content hash a5281a82f19e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

diagnose scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sL "https://raw.githubusercontent.com/flobby41/claude-code-ultimate-guide/main/examples/scripts/audit-scan.sh" | bash -s -- --json 2>/dev/null

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

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

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL "https://raw.githubusercontent.com/flobby41/claude-code-ultimate-guide/main/guide/ultimate-guide.md" | head -n 3000
plugins/code-quality/skills/diagnose/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 3. Server not found / connection failed / Serveur non trouvé 4. MCP tool not recognized / Outil MCP non reconnu

Configuration 5. settings.json ignored / settings.json ignoré 6. CLAUDE.md not read / CLAUDE.md non lu 7. Hooks not triggering / Hooks ne se déclenchent pas

Read the full file on GitHub · 216 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 216 lines · 10 tokens per session scan D a5281a82f19e

Subscribe to this mod's changes

diagnose is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 2d ago), licensed MIT. It adds 10 tokens to every session and 1,331 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 3 findings (downloads and executes remote code, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

vc-autopilot

Emit and validate the provisional goal block for Autopilot Mode. Owns the 9-field format and resume detection from a pasted goal block.

withkynam/vibecode-pro-max-kit · 34 tokens

vc-problem-solving

Apply systematic problem-solving techniques when stuck. Use for complexity spirals, innovation blocks, recurring patterns, assumption constraints, simplification cascades, scale uncertainty.

withkynam/vibecode-pro-max-kit · 36 tokens

report

Read the delivery log and say which rules actually fire, which never have, and what to prune or fix. Use when the user asks whether ballast is doing anything, wants to clean up their rule catalog, or on a periodic review.

svy04/ballast · 49 tokens

squid-self-improve

Analyze developer corrections from the current coding session and persist lessons learned as rules in AGENTS.md files or memory. Use at the end of a session after the developer corrected your work, when they say "squid-self-improve", ask to capture what was learned, or ask you to reflect on mistakes and extract…

iusztinpaul/squid · 73 tokens

prompt-template-guide

查看、创建、修改、删除或排查 DeterminFlow Prompt Template 与 system prompt section 时必须加载此技能;也适用于 section 顺序、workflowonly/chatonly、cache break、自定义 templatevariables、系统变量渲染以及 Agent Definition 的 prompttemplate 绑定。.

alikon-art/DeterminFlow · 62 tokens

script-library-guide

创建、更新、删除、引用或排查 DeterminFlow Script Library 脚本时必须加载此技能;也适用于 Workflow Script 节点、inline 与 library 选择、SCRIPT.md、scriptargv、共享 workspace、WFVAR/scriptout 输出协议、Plugin 脚本 owner 冲突与 Task 身份冻结。.

alikon-art/DeterminFlow · 76 tokens