Skill file
---
name: log-analysis
description: "Reads application or server logs to find errors, patterns and likely causes, and says what to check next. Use when debugging from logs."
---
# Log analysis
Look for the first error, not the loudest one.
## How to work
1. Identify the time window and the system.
2. Find the first error and what happened just before it.
3. Group repeated messages and count them.
4. Correlate with deploys, traffic and dependencies.
5. State the likely cause and the next check.
## Rules
- Do not print personal data or secrets from logs.
- Say how sure you are.
## Output
Timeline, key errors with counts, likely cause, next steps.
How to use it
- Download the skill.
- Put its folder (with SKILL.md inside) in .claude/skills/log-analysis/ for just this project, or in ~/.claude/skills/ for every project.
- Restart your tool and ask for what the skill does. It loads on its own when it fits.
Try it
Here are the logs from the failed deploy. What happened?
Reads application or server logs to find errors, patterns and likely causes, and says what to check next. Use when debugging from logs.