diagnose
Skill6 starsChanged 3 months agoMITView on GitHub
Bundle a redacted, support-grade snapshot of the current nyann state for inclusion in a bug report or support request. Combines explain-state + doctor + git config (token-redacted) + installed hook contents + nyann user-config (token-redacted) + check-prereqs into a single JSON or human-readable summary. TRIGGER when the user says "nyann is broken", "nyann diagnose", "diagnose nyann", "diagnose this repo", "support bundle", "what's wrong with nyann", "help me file a bug report", "what should I include in a nyann bug report", "/nyann:diagnose". Do NOT trigger on "is this repo healthy" — that's `doctor` (read-only audit). Do NOT trigger on "what does nyann see here" — that's `explain-state` (lighter snapshot, no health, no hook contents). Do NOT trigger on "fix this repo" — that's `retrofit`.
126 other projects use a version of this.
Adopted by
Most recently taken up by
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- timmo001/skillstheir own version, first seen Oct 5, 2026
- 5dive-ai/skillstheir own version, first seen Oct 5, 2026
- gilsmt/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use zoom-out, to-issues 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.
Hollis36Skillzoom-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 38 projects that use this
ninehillsSkillto-issues
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
Also in 34 projects that use this
Hollis36Skillto-prd
Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.
Also in 38 projects that use this
kayamanSkilledit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Also in 11 projects that use this
kayamanSkillrequest-refactor-plan
Guides creating a detailed refactor plan with tiny commits via user interview, then files it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.
Also in 9 projects that use this
AnasX7Skillscaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Also in 13 projects that use this
- +2 more from kayaman
Other versions126 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 126
- github/awesome-copilot★ 40ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- getagentseal/founder-playbook★ 711same name
- amazingloft999-droid/mattpocock-skills★ 422same name
- openvetta/open-vetta★ 287same name
- microsoft/AutoSaddler★ 236same name
- alex-on-ai/WebReaper★ 149same name
- aurorasoft2/Matt_Pocock_Skills★ 133same name
- avibebuilder/claude-prime★ 120same name
- KerberosClaw/kc_ai_skills★ 79same name
116 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 repository41 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-team-sourceSkill
- bootstrap-projectSkill
- check-prereqsSkill
- cleanup-branchesSkill
- commitSkill
- diff-profileSkill
- doctorSkill
- explain-diffSkill
- explain-stateSkill
- fleet-retrofitSkill
- fleetSkill
- gen-ciSkill
- gen-claudemdSkill
- gen-dependency-updaterSkill
- gen-devcontainerSkill
- gen-templatesSkill
- gh-protectSkill
- hotfixSkill
- iac-applySkill
- iac-planSkill
- inspect-profileSkill
- learn-profileSkill
- migrate-profileSkill
- new-branchSkill
- optimize-claudemdSkill
- prSkill
- record-decisionSkill
- releaseSkill
- retrofitSkill
- route-docsSkill
- settingsSkill
- setupSkill
- shipSkill
- suggestSkill
- syncSkill
- sync-team-profilesSkill
- undo-bootstrapSkill
- undoSkill
- wait-for-pr-checksSkill
- watchSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 114 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Read-only support bundle. Aggregates everything a maintainer needs to reproduce or pinpoint a nyann bug into one paste-friendly output.
- Distinctive: line 42
Every field flows through redaction.
- Very specific: line 52
Run bin/diagnose.sh --target .
- Distinctive: line 54
If the user wants to share publicly, suggest:
- Distinctive: line 60
Before handing the bundle off, look at:
- Very specific: line 79
Per-tier degradation: if gh is missing, the bundle still emits with host.gh = "missing".
“Common” is measured: kept by at least 6 in 10 of the 114 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
Read-only support bundle. Aggregates everything a maintainer needs to reproduce or pinpoint a nyann bug into one paste-friendly output.
When to trigger
- User reports nyann broke on their repo and wants to file a bug
- User asks for a "support bundle", "diagnostic dump", or wants to know what to include in an issue
- User says nyann is misbehaving and wants help collecting evidence
What gets bundled
bin/diagnose.sh collects, in one structured JSON object:
nyann_version— from.claude-plugin/plugin.jsonhost—uname -srm, bash version, jq/git/gh versionsrepo—bin/explain-state.sh --jsonoutput (stack, profile, branching, hooks, CLAUDE.md, recent commits)health—bin/doctor.sh --jsonoutput (drift report + health score)git—git config --listlines +git status --porcelain, with embedded URL credentials redacted vianyann::redact_urlhook_files— first 8 KB of.git/hooks/pre-commit,.git/hooks/commit-msg,.husky/pre-commit,.husky/commit-msg,.pre-commit-config.yaml(eachnullwhen absent)nyann_config—~/.claude/nyann/preferences.json+team_profile_sources[]with URLs redactedprereqs—bin/check-prereqs.sh --json
Every field flows through redaction. The bundle is safe to paste into a public GitHub issue.
Execution flow
Phase 1: Explain what diagnose collects
Tell the user: "I'll run bin/diagnose.sh against this repo. It collects state, drift, hooks, and configuration into one bundle. URL credentials and tokens are redacted before output."
Phase 2: Run the bundle
Run bin/diagnose.sh --target . --json (default mode is human-readable; --json for the paste-into-issue version).
If the user wants to share publicly, suggest:
- Pipe to a file:
bin/diagnose.sh --target . --json > nyann-diagnose-$(date +%Y%m%d).json - OR use the human-readable mode (
bin/diagnose.sh --target .) for a quick eyeball summary
Phase 3: Surface the obvious problems
Before handing the bundle off, look at:
health.summary.broken_links> 0 → user has broken internal linkshealth.summary.missing> 0 → user has missing hygiene filesrepo.claude_md.bytes> 8192 → CLAUDE.md over the hard capprereqs[].statusofmissingfor anykind: hard→ nyann lacks a required tool
Mention the obvious ones; the maintainer will look at the bundle for the rest.
Phase 4: Where to file
Direct the user to the right surface:
- Bug report: https://github.com/thettwe/nyann/issues/new; paste the JSON bundle into a
<details>block - Security issue: see
SECURITY.md; do NOT open a public issue
Key constraints
- Read-only. Mirrors doctor's contract: never writes, never persists, never opens a network call beyond what
doctor --jsonalready does. - Redaction is the contract. Any URL with embedded credentials passes through
nyann::redact_urlbefore emission. Tokens never reach stdout. - Truncated hook content (8 KB cap) so a multi-MB hook script doesn't bloat the bundle.
- Per-tier degradation: if
ghis missing, the bundle still emits withhost.gh = "missing". If~/.claude/nyann/preferences.jsondoesn't exist,nyann_config = null. If the target isn't a git repo,git,health, andrepoare stub-empty but the bundle still emits.
When to hand off
- "Fix the issues" / "remediate" →
retrofitskill (targeted fixes) ordoctorskill (audit first, then decide). - "Just check health, not a full bundle" →
doctorskill. - "What does nyann see here?" →
explain-stateskill (lighter, no health or hook contents).
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.

