analyze-logs

analyze-logs is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 53 tokens per session (2,405 once invoked), scanned A, original, MIT.

A workflow for reading structured application log files from the .evlog/logs/ directory. It examines newline-delimited JSON records to find errors, slow requests, and request patterns.

In plain words
What is it for?
Use it to check recent errors, investigate a bug, find slow endpoints, review error rates, or answer questions about application behaviour.
Why use it?
It gives developers a way to investigate what happened in an application without manually searching raw log files. This can reduce the time needed to trace failures and performance problems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the evlog plugin — 3 skills shipped together

Good fit Use it to check recent errors, investigate a bug, find slow endpoints, review error rates, or answer questions about application behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pleaseai/claude-code-plugins/analyze-logs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pleaseai/claude-code-plugins --skill analyze-logs
Clone the repo
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins

Made for: Claude Code.

Or install evlog, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyze-logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/analyze-logs/github.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/analyze-logs)
Your own site
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/analyze-logs"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/analyze-logs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analyze-logs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/analyze-logs"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/analyze-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02405
Opus 5.5 $0.00021 $0.00962
Sonnet 5.5 $0.00011 $0.00481
Haiku 4.5 $0.00005 $0.00241

Measured 1mo ago against content hash 103e03fea4e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

analyze-logs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/evlog/.agents/skills/analyze-logs/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analyze application logs

Read and analyze structured wide-event logs from the local .evlog/logs/ directory to debug errors, investigate performance issues, and understand application behavior.

When to Use

  • User asks to debug an error, investigate a bug, or understand why something failed
  • User asks about request patterns, slow endpoints, or error rates
  • User asks "what happened" or "what's going on" with their application
  • User asks to analyze logs, check recent errors, or review application behavior
  • User mentions a specific error message or status code they're seeing

Finding the logs

Try the CLI first; it reads both file layouts, every dated file, and knows where the project's drain writes. Prefer the copy the project installed (pnpm evlog, or the equivalent for its package manager). The wrappers that fetch on demand (npx, bunx, npm exec) install @evlog/cli when the project has none, which runs a release the lockfile never pinned. Ask before that happens.

pnpm evlog logs --json                       # the last 50 events
pnpm evlog logs errors --since 1h --json     # what failed
pnpm evlog logs slow --over 1s --json        # what was slow, worst first
pnpm evlog logs "$REQUEST_ID" --json         # one request, every event with that id
pnpm evlog logs stats --json                 # per route: count, errors, p50, p95; by status and level
pnpm evlog logs --where 'payment.amount>5000' --where audit.outcome=failure --json

--json is an envelope (sources, view, matched, events; stats carries stats instead); filters are --since, --until, --level, --path, --status (500 or 5xx), --where field=value|field>n|field~regex|field|!field on any dotted field (repeatable), --limit, --dir for a non-default directory, and --url for an app on the memory drain that exposes readMemoryLogs() over HTTP. From a monorepo root it reads every app's .evlog/logs and labels each event. Docs: https://www.evlog.dev/cli/logs. If the CLI is unavailable or the user declines it, read the files directly as below.

Read the full file on GitHub · 198 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 198 lines · 53 tokens per session scan A 103e03fea4e9

Subscribe to this mod's changes

analyze-logs is a skill published in the GitHub repository pleaseai/claude-code-plugins (17 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 2,405 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-31.

Related

analyze-logs compared with skills from other repositories

analyze-logs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analyze-logspleaseai/claude-code-pluginsSkill17yesterdayMITA53Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex