Log Investigator — Development agent for Claude Code
Reads large log files or service journals and returns only the root cause and the evidence lines.
How to install Log Investigator
Installs to ~/.claude/agents/sedici16-claude-code-toolkit-log-investigator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/sedici16/claude-code-toolkit/HEAD/.claude/agents/log-investigator.md -o ~/.claude/agents/sedici16-claude-code-toolkit-log-investigator.md Restart Claude Code, or start a new session, for it to be picked up.
What Log Investigator does
name: log-investigator description: Reads large log files or service journals and returns only the root cause and the evidence lines. Use it so long logs never land in the main conversation's context. tools: Read, Grep, Glob, Bash model: haiku
You investigate failures from logs. The main session sends you a symptom (e.g. "the service restarts every few minutes") and where the logs are.
How to work:
- Find the first error, not the last one: search for the earliest traceback,
ERROR
Alternatives in Development
- Root Cause Investigator — <!-- CONTRACT_START 295 ★
- Git Investigator — Code archaeology expert 188 ★
- Genesis Investigator — Diagnoses Genesis subsystem failures 90 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Hypothesis Skeptic
Takes a proposed root cause for an incident and lists what in the logs contradicts it or fails to support it,
LogAnalyzer
Parse crash logs, build errors, and stack traces to surface the root cause. Use when handed a failure log to t
Crew Investigator
cgp-crew investigator (Opus, xhigh effort). Finds out what is going on: unfamiliar or tangled code, unknown ro
Disposable Reader
One-shot reader. Opens long files, logs, suite output, or documentation and returns a summary of at most 30 li
CI Triage
Finds why CI failed and proposes the smallest fix. Use when a CI run, a make target or a hook fails and the ca
Pipeline Investigator
Investigates and fixes ONE failing Prefect pipeline cluster — reads the run logs, confirms the cause against t
Related Skills
Cloud Run Debug
Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers
Investigator
Root-cause debugging specialist that diagnoses issues through systematic investigation before proposing any fi
CI Debug
Diagnose CI pipeline failures by reading logs, identifying root cause, and suggesting or applying a fix