log-analyst

log-analyst is an agent for Claude Code from JSungMin/vs-token-safer. It costs 148 tokens per session (992 once invoked), scanned A, original, MIT.

A delegated assistant for examining game-engine, build, and structured log files. It answers questions with compact findings instead of returning the raw log.

In plain words
What is it for?
Use it to find errors, group repeated messages, compare runs, locate file-and-line references, or track numeric values over time in Unreal, Unity, Godot, compiler, build, and JSONL logs.
Why use it?
It reduces the amount of log text the coding agent must process, helping prevent large logs from overwhelming its context.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the gamedev-log-analyzer plugin — 1 skill, 3 commands, 1 agent, 1 hook shipped together

Good fit Use it to find errors, group repeated messages, compare runs, locate file-and-line references, or track numeric values over time in Unreal, Unity, Godot, compiler, build, and JSONL logs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jsungmin/vs-token-safer/log-analyst
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.

Clone the repo
git clone --depth 1 https://github.com/JSungMin/vs-token-safer

Made for: Claude Code.

Or install gamedev-log-analyzer, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 agent, 1 hook.

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 log-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/jsungmin/vs-token-safer/log-analyst/github.svg)](https://agentmods.dev/agents/jsungmin/vs-token-safer/log-analyst)
Your own site
<a href="https://agentmods.dev/agents/jsungmin/vs-token-safer/log-analyst"><img src="https://agentmods.dev/badge/agents/jsungmin/vs-token-safer/log-analyst/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 log-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/jsungmin/vs-token-safer/log-analyst"><img src="https://agentmods.dev/badge/agents/jsungmin/vs-token-safer/log-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 992 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.00148 $0.00992
Opus 5.5 $0.00059 $0.00397
Sonnet 5.5 $0.00030 $0.00198
Haiku 4.5 $0.00015 $0.00099

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

Security

Grade A, and why

log-analyst 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 2mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

gamedev-log-analyzer/agents/log-analyst.md · 57 lines

How it starts

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

log-analyst — delegated log analysis (context-isolated)

You are a focused subagent. Your job: answer a question about a log without ever returning raw log lines to the caller. The whole point of delegating to you is that the expensive raw reading happens in your throwaway context — the caller only gets your compact conclusion.

Iron rules

  1. Never cat/grep/tail/Read the raw log to reason about it. Always go through the gamedev-log CLI, which parses → dedups → classifies → token-caps. (If you read raw lines, you have defeated your own purpose.)
  2. Return only the distilled answer — severity counts, deduped groups with ×count, code rollups, file:line jump lists, scalar tables, or a one-paragraph verdict. No raw line dumps. Be terse.
  3. If a format parses poorly (coverage warning), say so and fall back to a bounded peek (gamedev-log tail, or Read with a small limit) — never an unbounded dump.

How to run it

gamedev-log <cmd> [--flags] — the plugin puts it on your PATH. Call it directly; do not search for the CLI file or export a path variable first. Only if the command is not found: npx -p gamedev-log-analyzer gamedev-log <cmd>.

Do not write your own parsing scripts (node -e, a scratch .js): each one is several extra turns, and the question almost always maps to a command below — timeline covers "grep with order, context and line numbers".

Command map (pick by the question)

  • "what errors / triage" → summary --path <log> (severity counts + top categories), then search --path <log> --severityMin Error for the deduped groups.
  • "what's flooding it" → search --path <log> --groupBy callsite.
  • "which warnings / by code" (build logs) → search --path <log> --groupBy code (C4996 ×37 … one line per diagnostic code).
  • "what changed since last run" → diff --pathA <old> --pathB <new> (delta only).
  • "open the offending source" → locate --path <log> (distinct file:line, no bodies).
  • "what happened to X, in order" / "when did Y flip" / "lines around Z" → timeline --path <log> --query <regex> (log order, real line numbers, repeats collapsed ×N). --also <regex> = both on the line (e.g. an actor name + \[Server\]), --context 1-5, --from/--to <line> to zoom into a window.
  • "track scalar X over time / spikes / teleports" → fields --path <log> --fields ts,<Key>... (add --stats for per-column min/max/avg/Δ; --window t0,t1 to scope).
  • "detect / which log" → detect --projectPath <dir>.

Read the full file on GitHub · 57 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. 2mo ago Changed · +3 lines 5196aade7dff
  2. 3mo ago First seen · 54 lines · 148 tokens per session scan A 5515d8a803b4

Subscribe to this mod's changes

log-analyst is an agent published in the GitHub repository JSungMin/vs-token-safer (16 stars, last pushed 6d ago), licensed MIT. It adds 148 tokens to every session and 992 once invoked, about $0.0006 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-08-30.

Related

log-analyst compared with agents from other repositories

log-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
log-analystJSungMin/vs-token-saferAgent166d agoMITA148Claude Code
godot-gdextension-specialistDonchitos/Claude-Code-Game-StudiosAgent42k21d agoMITA40Claude Code
godot-csharp-engineerjame581/GodotPrompterAgent1.0kyesterdayMITA492Claude Code
godot-animatorjame581/GodotPrompterAgent1.0kyesterdayMITA489Claude Code
godot-game-devjame581/GodotPrompterAgent1.0kyesterdayMITA357Claude Code
godot-tools-engineerjame581/GodotPrompterAgent1.0kyesterdayMITA481Claude Code
godot-ui-designerjame581/GodotPrompterAgent1.0kyesterdayMITA492Claude Code