debug
Skill8 starsChanged 10 months agoApache-2.0View on GitHub
Triage and diagnose production or local issues by following logs → traces → metrics (HTTP/gRPC/async). Use when investigating errors, latency spikes, 5xx responses, SLO violations, or regressions in an instrumented app. NOT for adding new instrumentation (use observability); NOT for applying resilience patterns (use resilience).
144 other projects use a version of this.
Adopted by
Most recently taken up by
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- nanocoai/nanoclawtheir own version, first seen Oct 4, 2026
- agentic-community/mcp-gateway-registrytheir own version, first seen Oct 4, 2026
Used with
Projects with it also use add-ollama-tool, add-slack 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.
MicrosoftSkilladd-ollama-tool
Add Ollama MCP server so the container agent can call local models and optionally manage the Ollama model library.
Also in 6 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 6 projects that use this
sskarzSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 5 projects that use this
- +9 more from microsoft
Other versions144 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 144
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- nanocoai/nanoclaw★ 31ksame name
- openai/symphony★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- NVIDIA/Model-Optimizer★ 5.2ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- jsmastery-pro/skills★ 1.4ksame name
- agentic-community/mcp-gateway-registry★ 956same name
- suboss87/FDEOps★ 950same name
- kdlbs/kandev★ 899same name
134 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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectureSkill
- archobsSkill
- designSkill
- finishSkill
- forecastSkill
- intelSkill
- observabilitySkill
- planSkill
- platformSkill
- resilienceSkill
- reviewSkill
- securitySkill
- specSkill
- testingSkill
- typescriptSkill
- workflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 127 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
If you have a traceId, use it.
- Very specific: line 61
If you cannot find/interpret traces, fall back to logs + metrics and consider adding missing telemetry via observability.
- Distinctive: line 65
Use metrics to answer:
- Distinctive: line 71
Start with RED for the boundary (HTTP route / gRPC method / consumer group).
- Distinctive: line 75
If this component degrades, what fails next?
- Distinctive: line 83
If impact is high and evidence points to a recent change:
- Distinctive: line 87
If impact is moderate or unclear:
- Distinctive: line 93
If you found a systemic gap, capture it:
- Distinctive: line 102
When context or time is constrained, these are the load-bearing steps:
- Distinctive: line 116
Prefer a small number of exemplars (2–3) over “grep everything forever”.
- Very specific: line 130
If telemetry is missing: observability
- Distinctive: line 134
When using this skill, return:
- Distinctive: line 138
Time window: start/end and whether it correlates with deploy/config change.
- Very specific: line 145
If root cause is systemic, flag for a follow-up retrospective (../references/structured-thinking-templates.md — Retrospective / Postmortem).
“Common” is measured: kept by at least 6 in 10 of the 127 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
Debug (Log → Trace → Metrics)
Overview
This skill is for debugging with existing telemetry. It does not focus on adding instrumentation (use observability when telemetry gaps block triage).
Goal: turn “something is broken/slow” into:
- a concrete symptom + impact statement,
- an evidence-backed hypothesis (or a small set of competing ones),
- a mitigation (rollback/flag/scale) when needed,
- a short list of fix + follow-up tasks.
Inputs / Outputs
Inputs: Symptom description (what's failing/slow); access to logs, traces, and metrics; environment and time window.
Outputs: Root cause diagnosis with evidence, mitigation action, fix plan, learning capture. Feeds follow-ups to observability, resilience, platform, or architecture.
Workflow
0) Establish ground truth (2–5 minutes)
Capture:
- Environment (
local/dev/staging/prod) and time window (start/end). - Symptom (what’s failing/slow) and impact (SLO/user-visible blast radius).
- One exemplar: request/trace ID, job run ID, message ID, or timestamped log line.
1) Logs (find the exemplar and its correlation IDs)
- Find the first error/timeout log line closest to the symptom window.
- Identify correlation keys (prefer stable IDs):
traceId,requestId,spanIdop(route template / RPC method / job name / message type)- error code/type (typed error envelope, gRPC status, HTTP status)
- Pull the full log story for the exemplar (start → downstream call(s) → failure).
Copy/paste helpers live in references/commands.md.
2) Trace (turn the exemplar into a dependency hypothesis)
If you have a traceId, use it.
- Open the trace and confirm the root span matches the suspected operation (
op). - Identify:
- the slowest span(s),
- the first error span(s),
- retries (multiple similar child spans),
- deadline/time budget signals (deadline exceeded, timeout errors).
- Convert that to a dependency statement:
- “
service Ais timing out callingservice BmethodX” - “DB query
Yis slow / missing index / deadlocked” - “Queue consumer is failing on message type
T(poison message)”
- “
If you cannot find/interpret traces, fall back to logs + metrics and consider adding missing telemetry via observability.
3) Metrics (confirm blast radius + regression)
Use metrics to answer:
- Is this widespread or isolated to one tenant/route/method?
- Is it a new regression (deploy-correlated) or a gradual degradation (resource/saturation)?
- Is it primarily errors or latency?
Start with RED for the boundary (HTTP route / gRPC method / consumer group).
4) Map failure propagation (technical + organizational)
- If this component degrades, what fails next?
- What is likely failing silently (data drift, dropped work, partial writes, stale reads)?
- What is the organizational cascade (handoff queue, approvals, unclear ownership)?
GATE: Failure propagation (step 4) must be mapped before deciding mitigate vs investigate. If you don't know what breaks next, you can't assess the urgency of mitigation.
5) Decide: mitigate vs investigate
If impact is high and evidence points to a recent change:
- rollback / disable flag / reduce load / scale critical dependency
If impact is moderate or unclear:
- tighten the hypothesis with 1–2 targeted checks (another exemplar trace, compare two instances, check downstream health)
6) Capture learnings (don’t lose the fix)
If you found a systemic gap, capture it:
- missing telemetry field contracts →
observability - retries without idempotency / missing time budgets →
resilience - repeated boundary logic across services →
platform - cross-service pattern confusion →
architecture
Minimum viable execution
When context or time is constrained, these are the load-bearing steps:
- Establish ground truth (step 0) — environment, symptom, one exemplar.
- Follow log → trace → metrics (steps 1-3) — this sequence, in this order.
- Map failure propagation (step 4) — what breaks next, what breaks silently.
- Capture learning (step 6) — don't lose the fix; route to the right skill.
Steps that can be cut under pressure: detailed metric blast-radius analysis (step 3 depth), organizational cascade mapping (step 4 breadth).
Guardrails
- Don’t log secrets/PII while triaging (even “temporarily”).
- Don’t use unbounded IDs as metric labels; use logs/traces for per-entity investigation.
- Don’t add retries as a debugging “fix” without idempotency/dedupe.
- Prefer a small number of exemplars (2–3) over “grep everything forever”.
Common failure modes
- Jumps straight to reading code instead of following log → trace → metrics — this skips the evidence and leads to hypothesis-driven debugging without data.
- Skips blast radius assessment (step 3-4) — fixes the symptom without knowing what else is affected or failing silently.
- Fixes the immediate symptom without capturing learning (step 6) — the same failure recurs because the systemic gap is never routed to the right skill.
- Checks only one exemplar and generalizes — different exemplars often reveal different failure modes.
References
- Copy/paste commands:
references/commands.md - Scenario checklists (HTTP/gRPC/consumers):
references/scenarios.md - Retrospective / Postmortem template:
../references/structured-thinking-templates.md - If telemetry is missing:
observability
Output Template
When using this skill, return:
- Symptom: what is failing/slow (include concrete ops: route/method/job/message type).
- Impact: who/what is affected and how badly (errors %, latency p95, backlog size).
- Time window: start/end and whether it correlates with deploy/config change.
- Evidence: exemplar IDs + the key log/trace/metric observations.
- Hypothesis: most likely cause + 1 alternative (if applicable).
- Failure propagation: what breaks next, what breaks silently, organizational cascade points.
- Mitigation: what you did / recommend doing now (rollback/flag/scale).
- Fix plan: code/config changes to make it correct and durable.
- Follow-ups: telemetry gaps, runbook updates, tests, new invariants.
- If root cause is systemic, flag for a follow-up retrospective (
../references/structured-thinking-templates.md— Retrospective / Postmortem).
- If root cause is systemic, flag for a follow-up retrospective (
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.

