log-triage
Skill0 starsChanged 5 days agoMITView on GitHub
The skill groups error logs by normalized stack trace, ranks repeated failures and identifies the first failing component; use it when asking to triage logs, compare exceptions or find a likely root cause.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- MakiDevelop/claude-skillstheir own version, first seen Nov 1, 2026
- Jia-ben00/log-triagetheir own version, first seen Sep 20, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- MakiDevelop/claude-skills★ 3same name
- Jia-ben00/log-triage★ 0same name
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 repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-design-reviewSkill
- codebase-reviewSkill
- commit-and-dcoSkill
- django-app-scaffoldSkill
- dockerfile-auditSkill
- exhaustive-prompt-specSkill
- incident-postmortemSkill
- pr-review-tableSkill
- react-component-specSkill
- readme-writerSkill
- repo-polishSkill
- runbook-writerSkill
- security-reviewSkill
- spring-boot-endpointSkill
- test-plan-writerSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 13
Use this skill when asked to triage application logs, group similar exceptions, summarize an error dump, compare stack traces or identify a …
- Distinctive: line 25
Read the supplied log file and preserve original line numbers.
- Very specific: line 27
Run python3 skills/log-triage/scripts/group_traces.py application.log and capture stdout and exit code.
- Very specific: line 37
Start with First failing component: component name or unknown.
- Distinctive: line 42
If no stack trace exists, report that no groups were detected.
- Distinctive: line 43
If a trace is cut off, mark it truncated and do not invent frames.
- Distinctive: line 45
Keep different exception types separate even if their framework frames match.
- Distinctive: line 50
Do not print tokens or secret-bearing log values.
- Distinctive: line 51
Do not treat the most frequent exception as proven root cause.
- Distinctive: line 52
Do not merge traces solely because they share the last framework frame.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Group repeated log failures by normalized stack trace, rank frequent patterns and identify the first failing component.
When to use
Use this skill when asked to triage application logs, group similar exceptions, summarize an error dump, compare stack traces or identify a likely first failure.
Inputs needed
- A log file path or complete log text.
- The service and runtime when known.
- The incident time window when the file contains unrelated events.
Step-by-step procedure
- Read the supplied log file and preserve original line numbers.
- Normalize UUIDs, numeric identifiers, hexadecimal addresses and timestamps while preserving exception names and frame order.
- Run
python3 skills/log-triage/scripts/group_traces.py application.logand capture stdout and exit code. - Group stack traces using the script's normalized form; preserve the first source line for each group.
- Inspect the highest-frequency traces and identify the first application-owned component in each causal chain.
- Correlate timestamps and surrounding messages without merging distinct failures merely because they share a generic framework frame.
- Rank probable root causes using frequency, temporal onset, component ownership and causal evidence.
- Return the normalized groups and identify uncertainty where logs do not prove the cause.
Exact output format
Start with First failing component: component name or unknown. Then provide a table with columns rank, count, first line, normalized trace, probable cause. Sort by descending count, then ascending first line. Finish with Evidence limits in one sentence.
Edge cases
- If no stack trace exists, report that no groups were detected.
- If a trace is cut off, mark it truncated and do not invent frames.
- Normalize UUIDs, numeric identifiers, hexadecimal addresses and timestamps while preserving exception names and frame order.
- Keep different exception types separate even if their framework frames match.
Do not
- Do not print tokens or secret-bearing log values.
- Do not treat the most frequent exception as proven root cause.
- Do not merge traces solely because they share the last framework frame.
Worked example summary
Repeated OrderNotFound and ConnectionTimeout traces are grouped despite different order IDs and timestamps. The timeout appears first in the sequence and originates in the inventory client, which becomes the leading root-cause candidate.
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.

