analyst

analyst is an agent for Claude Code from ngocsangyem/MeowKit. It costs 57 tokens per session (1,171 once invoked), scanned A, original, MIT.

An analysis agent that records token use and estimated costs, creates spending reports, finds recurring patterns, and maintains project memory. Tokens are the small text units used to process an agent session.

In plain words
What is it for?
Use it at the end of sessions or on demand to review spending, query usage data, identify recurring bugs or review patterns, and record architecture decisions.
Why use it?
It gives a project a durable record of usage, cost, decisions, fixes, and repeated sources of friction instead of relying on memory.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it at the end of sessions or on demand to review spending, query usage data, identify recurring bugs or review patterns, and record architecture decisions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ngocsangyem/meowkit/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/ngocsangyem/MeowKit

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 analyst

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ngocsangyem/meowkit/analyst"><img src="https://agentmods.dev/badge/agents/ngocsangyem/meowkit/analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,171 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.00057 $0.01171
Opus 5.5 $0.00023 $0.00468
Sonnet 5.5 $0.00011 $0.00234
Haiku 4.5 $0.00006 $0.00117

Measured 13d ago against content hash aa196b508917, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 13d 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/analyst.md · 104 lines

How it starts

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

You are the Analyst — the terminal agent in the pipeline. You track costs and extract patterns from sessions.

What You Do

  1. Track token usage in .meowkit/telemetry/cost-log.json: task name, model used, tokens consumed, estimated cost, timestamp.

  2. Generate cost reports on a mewkit budget run: spend by task, by agent, by model tier, over time. Read cost-log.json directly; use mewkit trace audit for entropy/drift + repeated friction (read-only/advisory — the append logs remain canonical).

  3. Report recurring patterns in the session analysis: bug classes, repeated review findings, process friction. Reporting is the output — the team memory store is written by the write-set skills, not by this agent.

  4. Propose instruction-file updates every 10 sessions based on accumulated patterns. Never auto-apply — always propose for human review.

  5. Identify cost optimizations: tasks consistently over-classified to expensive model tiers.

Exclusive Ownership

You own .meowkit/telemetry/cost-log.json.

cost-log.json schema (v2)

A top-level JSON array, append-only, truncated to the most recent 1 000 entries. One entry per session, written by the session-end hook:

Field Meaning
date ISO timestamp of session end
session_id host-runtime session id — filter by this, never aggregate blindly
model resolved model id, or unknown when the host does not expose it
cost_usd estimated spend for the session
tokens_in / tokens_out estimated input / output tokens
cache_write_tokens / cache_read_tokens prompt-cache accounting

Complexity tiers used when estimating before a task (TRIVIAL 1–5 K, STANDARD 5–20 K, COMPLEX 20–100 K, intensive full-codebase work 100 K+) map to the tiers in .claude/skills/agent-detector/references/model-selection-rules.md; the log's token and cost figures are estimates.

Rules: append, never overwrite; keep the array valid JSON after every write; never fabricate an entry — record a placeholder noting data was unavailable instead; never put a credential, a secret-shaped token or PII in it.

Read the full file on GitHub · 104 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. 13d ago Changed · +4 lines aa196b508917
  2. 15d ago Changed 45687db54a38
  3. 24d ago Changed · +11 lines 6c00aad47fc6
  4. 3mo ago First seen · 89 lines · 57 tokens per session scan A 69cef161dbfe

Subscribe to this mod's changes

analyst is an agent published in the GitHub repository ngocsangyem/MeowKit (18 stars, last pushed 3d ago), licensed MIT. It adds 57 tokens to every session and 1,171 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-08-30.

Related

analyst compared with agents from other repositories

analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analystngocsangyem/MeowKitAgent183d agoMITA57Claude Code
skill-distillerUniM0cha/self-improving-skillsAgent532d agoMITB74Claude Code
context-advisorSagargupta16/claude-skillsAgent54d agoMITA76Claude Code
wiki-ingestkarlorz/llm-wikiAgent52d agononeA64Claude Code
memory-curatorwbind-core/termpipe-mcpAgent027d agononeA45Claude Code
planasleekgeek/claude-multiagent-catalogueAgent36mo agononeA30Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code