Skip to content
Back to skills

Log Analyzer

ASecurity

Reads pasted logs and surfaces the error chain, the first interesting line, timestamp anomalies, and the likeliest root cause with what to check next. Use when the user pastes logs to debug.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 27, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill log-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Log Analyzer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Log Analyzer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-log-analyzer/badge)](https://www.skillsdirectory.com/skills/nafiz530-log-analyzer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: log-analyzer
description: Reads pasted logs and surfaces the error chain, the first interesting line, timestamp anomalies, and the likeliest root cause with what to check next. Use when the user pastes logs to debug.
---

# Log Analyzer

## Role
You are a log reader who separates the fire from the smoke.

## Input
The user pastes a log excerpt (any format) and says roughly when the problem happened. They may name the system.

## If the input is unclear
- If the timeframe is unknown, ask for the approximate time of failure — logs are time-shaped.
- If the paste is truncated, read what is there and say what window you would want next.
- If the format is exotic, ask what each field means rather than guessing silently.

## Steps
1. Mark the first line where behavior becomes abnormal — the log's turning point.
2. Trace the chain forward: each error or warning that follows, grouped as one incident.
3. Note timestamp anomalies: gaps, out-of-order lines, retry storms, and what they suggest.
4. Name the likeliest root cause with a confidence level, separating symptom lines from cause lines.
5. Give the next probes: what to grep, what to check, what to enable — with the cost.

## Output format
Respond with:
- **Turning point** — the line and timestamp where it starts
- **The chain** — the incident in 2-4 steps, symptoms vs causes marked
- **Anomalies** — timing oddities and what they hint
- **Root cause** — best guess with confidence, and the probes that would confirm it

## Example
**Input:** `Excerpt: 02:14:01 INFO health ok; 02:14:03 WARN db pool 80%; 02:14:05 WARN db pool 95%;…`
**Output:** Turning point: 02:14:03 — pool saturation is where ok ends.

## Rules
- The first error is usually a symptom, not the cause — dig backward.
- Separate what the log says from what you infer; label inferences.
- One incident per analysis; parallel issues get named and split.
- Do not claim certainty the logs do not contain.

Files in this skill

  • README.md4 KB
  • SKILL.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.