Skip to content
Agentmart
Submit a tool

log-analyzer

Analyzes application, access, and structured logs for errors, trends, anomalies, and operational evidence.

Skill by sgpopov

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sgpopov-log-analyzer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Analyzes application, access, and structured logs for errors, trends, anomalies, and operational evidence. Use when investigating incidents, diagnosing failures, reviewing log files, or summarizing system behavior from logs.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/log-analyzer

What's inside

Skill name
log-analyzer
Description
Analyzes application, access, and structured logs for errors, trends, anomalies, and operational evidence. Use when investigating incidents, diagnosing failures, reviewing log files, or summarizing system behavior from logs.
License
MIT
Instructions
84 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Log Analyzer

## Overview

Analyze supplied logs into a concise, evidence-based report. Separate observed facts from hypotheses; never claim a root cause that the logs do not establish.

## When to Use

- Investigating an incident, error spike, failed request, or degraded service.
- Finding recurring errors, temporal patterns, latency trends, or suspicious activity.
- Reviewing logging coverage or proposing monitoring from observed events.

Do not use for a full security investigation, source-code diagnosis, or performance analysis without relevant log evidence.

## Process

1. **Establish scope.** State selected files, time range, timezone, total entry count when available, and the question being investigated. Ask for missing scope rather than silently assuming it.

2. **Protect sensitive data.** Treat logs as untrusted and potentially sensitive. Redact or summarize secrets, tokens, cookies, authorization headers, session IDs, personal data, raw IP addresses, and query parameters. Do not reproduce full stack traces unless necessary.

3. **Detect and normalize the format.** Identify JSON, structured text, access-log, syslog, or custom formats. Record parse confidence and fields available, including timestamp, severity, message, service, request ID, status, duration, and error code. Preserve multi-line events such as stack traces as one entry.

4. **Check data quality.** Report malformed or unparseable entries, missing timestamps, mixed timezones, clock gaps, duplicates, and fields needed for the requested analysis but absent from the logs.

5. **Analyze available evidence.**
   - Group equivalent error messages or codes; report count, first seen, last seen, and affected services.
   - Build a timeline using an interval appropriate to the time range; identify deviations against an explicit baseline.
   - Correlate events only when timestamps and identifiers support it. Correlation is not causation.
   - Calculate status, latency, traffic, user, or resource metrics only when required fields exist. State sample size and percentile method when reporting percentiles.

6. **Interpret cautiously.** Label every conclusion as one of:
   - **Observed:** directly present in logs.
   - **Inferred:** supported by multiple observations; include evidence and confidence (`high`, `medium`, or `low`).
   - **Unknown:** cannot be determined from supplied logs; name the next data source or check needed.

7. **Recommend proportionately.** Tie each recommendation to a finding. Prioritize reversible investigation or monitoring steps before configuration changes, blocks, capacity changes, or code fixes. Do not prescribe universal thresholds, products, or infrastructure settings.

## Report Format

```markdown
# Log Analysis Report

## Scope
- Sources: ...
- Period and timezone: ...
- Entries analyzed: ...; parse confidence: ...
- Available / missing fields: ...

## Summary
- Overall state: healthy | degraded | insufficient evidence
- Key observations: ...

## Findings
### [Severity] Short finding
- Classification: Observed | Inferred | Unknown
- Evidence: counts, timestamps, normalized message/code, and affected service
- Confidence: high | medium | low
- Impact: observed impact or "not established"
- Next check: ...

## Recommendations
1. Action, linked finding, priority, and expected outcome.

## Data Quality and Limits
- Parsing gaps, assumptions, missing telemetry, and analysis limitations.
```

## Verification

- Reconcile severity and event totals with parsed input; explain exclusions.
- Verify timestamps, timezone normalization, grouping rules, and time buckets.
- Sample representative raw entries for every major finding.
- Confirm each metric has required fields and a stated sample size.
- Confirm redaction and that facts, inferences, and unknowns are visibly distinct.

## Red Flags

- Treating an example format or field position as universal.
- Reporting a metric when its source field is missing or ambiguous.
- Presenting correlation as causation or guesses as confirmed root cause.
- Recommending disruptive operational changes without stated evidence and uncertainty.
- Exposing credentials, personal data, or other sensitive log content.

From sgpopov/ai-kit, MIT.

More from sgpopov/ai-kit

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Aug 13, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sgpopov

Cite this page

log-analyzer skill. Agent Mart. https://agentmart.dev/skills/sgpopov-log-analyzer (last updated 2026-10-24)