diagnose
Skill1 starsChanged 6 days agoMITView on GitHub
Find the root cause of an issue by isolating it step by step, and explain it in plain words. Changes nothing.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- agent-services-at/pluginstheir own version, first seen Nov 8, 2026
- venhdev/skillstheir own version, first seen Nov 8, 2026
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- DeevsDeevs/agent-systemtheir own version, first seen Nov 8, 2026
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
- matheus3006/my-claude-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use zoom-out, to-prd and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
victorgarciaesgiSkillzoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
Also in 61 projects that use this
GoogleSkillto-prd
Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Also in 56 projects that use this
GoogleSkillto-issues
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
Also in 53 projects that use this
simo97Skilledit-article
The user will invoke this skill to help them edit an article.
Also in 17 projects that use this
simo97Skillwrite-a-skill
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
Also in 44 projects that use this
AnasX7Skillsetup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
Also in 27 projects that use this
- +4 more from simo97
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- github/awesome-copilot★ 41ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- CherryHQ/cherry-studio-app★ 4.1ksame name
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- formancehq/ledger★ 1.5ksame name
- getagentseal/founder-playbook★ 745same name
- victorgarciaesgi/regle★ 508same name
- amazingloft999-droid/mattpocock-skills★ 422same name
- openvetta/open-vetta★ 302same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- broSkill
- create-my-skillSkill
- glassmorphismSkill
- swiftui-designSkill
- humanizerSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-gainSkill
- ponytail-helpSkill
- ponytail-reviewSkill
- ponytailSkill
- clean-up-git-historySkill
- commit-msgSkill
- fixSkill
- grill-meSkill
- implementSkill
- loopSkill
- subagentsSkill
- update-docsSkill
- verify-appSkill
- sudo-ssh-authSkill
- web-app-secSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read-only: Do not fix, refactor, or commit anything.
- Distinctive: line 16
Evidence over guesses: Every step of the chain from symptom to cause is backed by something observed: a log line, a command output, a …
- Distinctive: line 18
Do not decide for the user: If narrowing further needs something only the user can do or allow (physical access, credentials, a destructive …
- Distinctive: line 25
Write down exactly what happens, what was expected, where, and since when.
- Distinctive: line 27
Check what changed recently: git log, git status, updates, config, environment.
- Distinctive: line 36
When several suspects remain that can be checked independently, run one subagent per suspect in parallel, each with the symptom, its …
- Distinctive: line 37
Keep a short trail of each check and what it showed.
- Distinctive: line 42
When possible, prove it: toggle the cause and watch the symptom appear and disappear.
- Distinctive: line 44
Remove all temporary probes.
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diagnose
One run, one cause: collect evidence, narrow the issue down until nothing is left to narrow, and explain the cause so the user understands it without prior technical knowledge.
The argument after the command is the symptom: an error message, a failing command, a log path, a screen, or a description. Without an argument, take the issue from the conversation.
Principles
- Read-only. Do not fix, refactor, or commit anything. Temporary probes (extra logging, a scratch script, a reproduction) are fine; remove them before the report.
- Isolate till the end. Stop only when the causal chain is complete or available access is demonstrably exhausted. A failed diagnostic attempt is not a stopping condition: retry transient failures, use other available tools or access paths, and investigate any narrower question needed to explain the original symptom in the same task. "Processor error" is not a cause; "the physical processor fails under load, most likely due to its age; it needs to be replaced" is.
- Evidence over guesses. Every step of the chain from symptom to cause is backed by something observed: a log line, a command output, a reproduction, a code path. Mark anything not proven as a hypothesis, with how likely it is.
- Use all access you have. Logs, system tools, the code, git history, configs, the running app, the browser, Computer Use. Run read-only diagnostics yourself instead of asking the user to.
- Do not decide for the user. If narrowing further needs something only the user can do or allow (physical access, credentials, a destructive test, a reboot), ask the user, with concrete options and the one you recommend first.
- Use subagents where it pays off, following the
subagentsskill. Delegate: independent hypotheses or layers checked in parallel, wide searches through big logs/code/history, and comparing against a working case. Keep in the main thread: the chain of reasoning, anything that depends on the previous step's result, and the final conclusion. Do not delegate trivial checks that take one command. Subagents only collect evidence (read-only, same rules as above); you verify their key findings yourself before putting them in the report.
Workflow
1. Pin the symptom
- Write down exactly what happens, what was expected, where, and since when.
- Reproduce it. If it cannot be reproduced, collect what is left of it: logs, crash reports, history, timestamps.
- Check what changed recently:
git log,git status, updates, config, environment.
2. Narrow it down
Repeat until the cause is concrete:
- List the layers the symptom passes through (hardware, OS, network, service, app, module, function, data).
- Pick the check that splits the remaining suspects in half, run it, and drop what it rules out.
- Compare with a working case when one exists: another machine, an older commit (
git bisect), other input, a clean config. - When several suspects remain that can be checked independently, run one subagent per suspect in parallel, each with the symptom, its suspect, and what evidence to return.
- Keep a short trail of each check and what it showed.
3. Confirm
- Show that the cause explains every observed symptom, not just the main one.
- When possible, prove it: toggle the cause and watch the symptom appear and disappear.
- Audit every unresolved finding. Resolve it with available read-only checks, or establish a concrete blocker. "Not checked" is acceptable only when access, missing historical evidence, or an explicit authorization boundary prevents the check. A timeout or finding a likely cause does not justify leaving it unresolved.
- Remove all temporary probes.
4. Report
- 🎯 Cause: — as concrete as the evidence allows, with how sure you are.
- 🛠 What to do: — the fix or replacement, in plain words. If you don't know how to resolve it, say so honestly.
- ❌ Not checked: — what could not be checked, what failed, which alternatives were tried, and exactly what is needed to continue. Include remaining hypotheses. Do not offer to perform already-authorized diagnostics later.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

