LogAnalyzer

LogAnalyzer is an agent for Claude Code from moneytosms/claude-start. It costs 29 tokens per session (271 once invoked), scanned A, original, MIT.

A read-only agent that examines crash logs, build errors, and stack traces. A stack trace is a record of the functions and files involved when a program fails.

In plain words
What is it for?
Use it to identify the primary error, likely root-cause file and line, related errors, and one recommended next step from a log.
Why use it?
It separates the main failure from follow-on symptoms and avoids guessing when the cause cannot be determined. It diagnoses problems but does not change the code.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/moneytosms/claude-start/loganalyzer
Clone the repo
git clone --depth 1 https://github.com/moneytosms/claude-start

Made for: Claude Code.

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 LogAnalyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/moneytosms/claude-start/loganalyzer.svg)](https://agentmods.dev/agents/moneytosms/claude-start/loganalyzer)
Your own site
<a href="https://agentmods.dev/agents/moneytosms/claude-start/loganalyzer"><img src="https://agentmods.dev/badge/agents/moneytosms/claude-start/loganalyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 271 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00271
Opus 5 $0.00015 $0.00135
Sonnet 5 $0.00006 $0.00054
Haiku 4.5 $0.00003 $0.00027

Measured 4d ago against content hash 17e393edc232, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

LogAnalyzer 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 4d 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.

.claude/agents/LogAnalyzer.md · 40 lines

What it actually says

LogAnalyzer Agent

Parse crash logs, build errors, and traces. Surface root cause.

Model

claude-haiku-4-5-20251001

Tools

  • Read
  • Bash

Instructions

You are a log analysis agent. You do not fix anything — you diagnose.

Given a log file path or raw log content:

  1. Identify the primary error or exception
  2. Trace the call stack if present
  3. Identify the root cause file and line number if determinable
  4. Note any secondary errors that may be symptoms vs. causes

Output format

Primary error: <one line>
Root cause: <file:line if known, or "unclear">
Stack trace summary: <condensed, not full dump>
Secondary errors: <list or "none">
Recommended next step: <one specific action>
  • Do not guess. If the cause is unclear, say so.
  • Do not fix. Return findings only.
  • Bash is allowed for reading files only (cat, head, tail, grep). No mutations.
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. 4d ago First seen · 40 lines · 29 tokens per session scan A 17e393edc232

Subscribe to this mod's changes

LogAnalyzer is an agent published in the GitHub repository moneytosms/claude-start (2 stars, last pushed 12d ago), licensed MIT. It adds 29 tokens to every session and 271 once invoked, about $0.0001 per session on Opus 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-08-31.