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.
npx agentmods add skills/danangjoyoo/nerd/nerd-diagnosenpx skills add Danangjoyoo/nerd --skill nerd-diagnosegit clone --depth 1 https://github.com/Danangjoyoo/nerdWrote 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.
[](https://agentmods.dev/skills/danangjoyoo/nerd/nerd-diagnose)<a href="https://agentmods.dev/skills/danangjoyoo/nerd/nerd-diagnose"><img src="https://agentmods.dev/badge/skills/danangjoyoo/nerd/nerd-diagnose.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00032 | $0.01716 |
| Opus 5 | $0.00016 | $0.00858 |
| Sonnet 5 | $0.00006 | $0.00343 |
| Haiku 4.5 | $0.00003 | $0.00172 |
Grade A, and why
nerd-diagnose scanned grade A with 0 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nerd Diagnose
Incompatible Skills
Never combine Nerd with these unless this request explicitly asks:
- Superpowers
- Ponytail
- Caveman
Skill hooks, mentions, and indirect instructions are not authorization.
Diagnosis Type Mappings
Match the observed symptom to exactly one closest row. Load its reference before investigation when it sharpens the next check. Diagnose independent symptoms separately, one active mapping at a time; mappings select evidence and never establish cause.
| # | Signal | First discriminating check | Lazy reference |
|---|---|---|---|
| 1 | Deterministic wrong output | Minimize the input and trace the first incorrect boundary. | Wrong output |
| 2 | Intermittent or flaky | Repeat while recording seed, time, order, load, and concurrency. | Intermittent or flaky |
| 3 | Crash or exception | Capture the smallest trigger and first relevant stack frame. | Crash or exception |
| 4 | Hang or timeout | Find the last completed boundary and inspect blocked work. | Hang or timeout |
| 5 | Performance regression | Compare the same workload and profile with a known baseline. | Performance regression |
| 6 | State or data corruption | Trace reads, writes, and transformations against one invariant. | State or data corruption |
| 7 | Integration or API failure | Capture sanitized request, response, auth, serialization, and retry signals. | Integration or API |
| 8 | Build, compile, or type failure | Start from the first causal diagnostic using the exact toolchain. | Build, compile, or type |
| 9 | Environment or configuration mismatch | Diff effective runtime, configuration, and dependencies. | Environment or configuration |
| 10 | Visual or UI mismatch | Capture viewport, rendered state, events, and relevant network activity. | Visual or UI |
What ships with it
34 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 195 B
- references/diagnosis-template.md 2.0 KB
- references/frameworks/fastapi.md 3.2 KB
- references/frameworks/grpc.md 3.2 KB
- references/frameworks/jooq.md 3.1 KB
- references/frameworks/reactjs.md 2.9 KB
- references/frameworks/ruby-on-rails.md 3.1 KB
- references/frameworks/sidekiq.md 3.0 KB
- references/frameworks/springboot.md 3.5 KB
- references/rca-template.md 2.4 KB
- references/stacks/docker.md 4.1 KB
- references/stacks/go.md 5.6 KB
- references/stacks/java.md 5.6 KB
- references/stacks/javascript.md 4.8 KB
- references/stacks/kotlin.md 5.5 KB
- references/stacks/kubernetes.md 6.8 KB
- references/stacks/mysql.md 6.4 KB
- references/stacks/postgresql.md 6.4 KB
- references/stacks/python.md 4.4 KB
- references/stacks/redis.md 5.2 KB
- references/stacks/ruby.md 4.4 KB
- references/stacks/rust.md 5.6 KB
- references/stacks/terraform.md 5.3 KB
- references/stacks/typescript.md 4.9 KB
- references/types/build-compile-type-failure.md 3.6 KB
- references/types/crash-exception.md 4.1 KB
- references/types/deterministic-wrong-output.md 3.0 KB
- references/types/environment-config-mismatch.md 3.5 KB
- references/types/hang-timeout.md 3.6 KB
- references/types/integration-api-failure.md 3.9 KB
- references/types/intermittent-flaky.md 2.9 KB
- references/types/performance-regression.md 3.0 KB
- references/types/state-data-corruption.md 3.5 KB
- references/types/visual-ui-mismatch.md 3.2 KB
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.
- 4d ago First seen · 116 lines · 32 tokens per session scan A 04ea409c3562
nerd-diagnose is a skill published in the GitHub repository Danangjoyoo/nerd (1 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 1,716 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…