log-analysis
Skill4 starsChanged 4 months agoMITView on GitHub
Extracts an answer from logs, traces, or metrics — finding the relevant lines in volume, correlating across services, and telling signal from noise. Use this whenever the user points at a log file, asks what happened at a particular time, mentions grepping logs, wants to know how often something occurs, or is trying to reconstruct a sequence of events across services. For fixing what the logs reveal, use debugging; for the write-up afterwards, use root-cause-analysis.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- NVIDIA/nvidia-resiliency-exttheir own version, first seen Aug 28, 2026
- NailShakurov/logziptheir own version, first seen Jun 8, 2026
- 312362115/claudetheir own version, first seen Apr 8, 2026
- UnitOneAI/SecuritySkillstheir own version, first seen Mar 31, 2026
- autohandai/community-skillstheir own version, first seen Mar 9, 2026
- VersoXBT/claude-initial-setuptheir own version, first seen Mar 9, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- NVIDIA/nvidia-resiliency-ext★ 338same name
- 312362115/claude★ 107same name
- UnitOneAI/SecuritySkills★ 78same name
- NailShakurov/logzip★ 12same name
- autohandai/community-skills★ 11same name
- VersoXBT/claude-initial-setup★ 4same name
- agenticdevops/devops-execution-engine★ 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 repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-deploymentSkill
- agent-designSkill
- agent-evaluationSkill
- agent-hardeningSkill
- agent-implementationSkill
- agent-observabilitySkill
- agent-scopingSkill
- api-designSkill
- code-templatingSkill
- dependency-upgradeSkill
- error-handlingSkill
- feature-implementationSkill
- project-scaffoldingSkill
- refactoringSkill
- data-analysisSkill
- data-migrationSkill
- data-modelingSkill
- sql-queriesSkill
- ci-pipelinesSkill
- containerizationSkill
- deployment-strategiesSkill
- infrastructure-as-codeSkill
- debuggingSkill
- issue-investigationSkill
- issue-triageSkill
- network-troubleshootingSkill
- performance-profilingSkill
- api-documentationSkill
- commit-messagesSkill
- diagrammingSkill
- markdown-docsSkill
- plain-languageSkill
- pr-descriptionsSkill
- release-notesSkill
- browser-testingSkill
- integration-testingSkill
- load-testingSkill
- test-dataSkill
- test-driven-developmentSkill
- unit-testingSkill
- deep-researchSkill
- feed-digestSkill
- summarizationSkill
- accessibility-reviewSkill
- code-analysisSkill
- code-lintingSkill
- code-reviewSkill
- auth-designSkill
- dependency-auditSkill
- secrets-managementSkill
- security-analysisSkill
- threat-modelingSkill
- capacity-planningSkill
- disaster-recoverySkill
- incident-responseSkill
- monitoring-setupSkill
- root-cause-analysisSkill
- runbooksSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
5
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 17
Before opening anything, write the question down.
- Distinctive: line 36
If there is no correlating ID, that is your most important finding.
- Distinctive: line 65
The first occurrence: Not the loudest error, the earliest one.
- Distinctive: line 67
The last normal line: before it started, and what immediately follows it.
- Distinctive: line 99
Every log investigation exposes a gap.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Log analysis
Logs are a haystack that grows faster than you can read it. The skill is not reading logs — it is constructing a query narrow enough to answer one question, then widening only as far as needed.
The failure this prevents: scrolling. Scrolling through logs feels like work and finds only what happens to be near the cursor.
1. Ask one answerable question
Before opening anything, write the question down. "What went wrong?" is not answerable. These are:
- Did request
abc-123reach the payment service? - How many 500s between 14:00 and 14:30, and on which endpoint?
- What is the first error after the deploy at 13:47?
- Which tenant accounts for the spike?
Done when: you have a question with a checkable answer.
2. Anchor on time and identity
Two anchors make everything else tractable:
- A time window: bound it tightly, then widen. Start a few minutes before the first known symptom, because the cause usually precedes it.
- An identifier: request ID, trace ID, user, order, tenant. One identifier that threads through services turns a search into a story.
If there is no correlating ID, that is your most important finding. Nothing else you do here will be reliable, and adding one should be the follow-up action.
Done when: you have a window and, ideally, an ID to follow.
3. Cut volume before reading
Filter, then aggregate, then read. Reading first is what wastes the afternoon.
# Shape of the problem before any individual line
grep ERROR app.log | awk '{print $5}' | sort | uniq -c | sort -rn | head
# Rate over time — is it constant, a spike, or a step change?
grep ERROR app.log | cut -c1-16 | uniq -c
# Follow one request across a file
grep 'req_id=abc-123' *.log | sort -k1,2For structured logs, use the query language rather than grep — jq locally, or the platform's
own filtering. Structured logs exist so you can aggregate; grepping them wastes that.
Done when: you know the shape — how many, how often, since when, affecting whom.
4. Read the boundaries of the incident
The most informative lines are rarely the loudest.
- The first occurrence. Not the loudest error, the earliest one. Errors cascade, and the hundred downstream failures are noise around one upstream cause.
- The last normal line before it started, and what immediately follows it.
- What stopped appearing. A log line that vanishes is as meaningful as one that appears — a heartbeat that stopped, a job that never logged completion.
- The gap. Silence in a normally chatty service usually means blocked, not idle.
Done when: you can state the first symptom and what preceded it.
5. Correlate before concluding
- Line up the timeline against deploys, config changes, feature flag flips, scaling events, and scheduled jobs. Most incidents correlate with a change.
- Compare the affected population to an unaffected one — same time, different region or version. A natural control is worth more than any amount of reading.
- Check the clocks. Servers in different timezones, or logs in local time and UTC mixed, will produce a false ordering and a wrong conclusion. Verify before trusting sequence.
Done when: the sequence is confirmed by more than one source.
6. Report what the logs support, and no more
Logs show what was recorded, which is not the same as what happened. Be explicit about the gap:
- Say what you searched: the window, the query, the sources. A finding without its query cannot be checked or repeated.
- Distinguish absence of evidence from evidence of absence. "No error logged" may mean it did not happen, or that the path has no logging, or that logs were dropped under load. Say which you believe and why.
- Note sampling and retention. Sampled traces and rotated logs both hide things.
- Quote line counts, not impressions. "412 occurrences across 3 hosts" beats "lots".
Improving what you found
Every log investigation exposes a gap. Note them as follow-ups: a missing correlation ID, an error logged without context, a swallowed exception, a log at the wrong level. Fixing those is what makes the next incident shorter, and it is the most valuable output of this work.
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.

