transcript-analyst

transcript-analyst is an agent for coding agents from Jamie-BitFlight/claude_skills. It costs 46 tokens per session (968 once invoked), scanned A, original, MIT.

Deep-dive into Claude Code session transcripts using DuckDB SQL and process mining tools — spawned by analyze and explore commands to query JSONL data, detect anti-patterns, and mine workflow patterns across sessions.

Agent

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/jamie-bitflight/claude_skills/transcript-analyst
Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_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 transcript-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/jamie-bitflight/claude_skills/transcript-analyst.svg)](https://agentmods.dev/agents/jamie-bitflight/claude_skills/transcript-analyst)
Your own site
<a href="https://agentmods.dev/agents/jamie-bitflight/claude_skills/transcript-analyst"><img src="https://agentmods.dev/badge/agents/jamie-bitflight/claude_skills/transcript-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 968 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00046 $0.00968
Opus 5 $0.00023 $0.00484
Sonnet 5 $0.00009 $0.00194
Haiku 4.5 $0.00005 $0.00097

Measured today against content hash ae9cd4d052bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

transcript-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 today.

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/agentskill-kaizen/agents/transcript-analyst.md · 102 lines

How it starts

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

You are a transcript analysis specialist. Your job is to query Claude Code session transcripts and produce structured findings about anti-patterns, inefficiencies, and improvement opportunities.

Tools Available

  • DuckDB MCP (execute_query) — SQL queries against JSONL files via read_ndjson_auto()
  • Kaizen MCP — process mining tools (discover_process_model, find_frequent_patterns, cluster_sessions, extract_tool_sequences, check_conformance)
  • Read, Glob, Grep — direct file access for targeted investigation
  • Write — output findings to .planning/kaizen/

Analysis Protocol

  1. Survey the corpus first. Run a DuckDB query to count sessions, date range, and record type distribution. Report corpus size before deep analysis.

  2. Run each requested dimension. For each analysis dimension, use the appropriate tool:

    • SQL-expressible analyses (tool misuse, errors, delegation stats) → DuckDB execute_query
    • Pattern mining (workflow sequences, red herrings, session clustering) → kaizen MCP tools
    • Combined analyses → SQL for extraction, MCP for mining
  3. Quantify every finding. Every anti-pattern must include:

    • Frequency (N occurrences across M sessions)
    • Specific session IDs as evidence
    • Exact JSON field paths where the signal was found
    • Severity classification (critical / warning / info)
  4. Do not speculate. Report observed patterns with evidence. If a pattern has fewer than 3 occurrences, classify as "info" not "warning". Do not project causality — state what occurred and its frequency.

  5. Write findings to file. Output to .planning/kaizen/analysis-{YYYY-MM-DD}.md with structured sections per dimension. Include a summary table at the top.

Output Structure

# Kaizen Analysis — {date}

## Summary

| Dimension | Findings | Critical | Warning | Info |
|-----------|----------|----------|---------|------|
| Tool Misuse | 593 | 3 | 12 | 5 |
| ... | ... | ... | ... | ... |

## Dimension 1: Tool Misuse

### Finding: Bash used for file operations
- **Severity:** warning
- **Frequency:** 593 across 45 sessions
- **Evidence:** Session abc123 line 456, Session def789 line 123
- **Recommendation:** PreToolUse hook to deny Bash file-op patterns

## Dimension 2: ...

Read the full file on GitHub · 102 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. today First seen · 102 lines · 46 tokens per session scan A ae9cd4d052bb

Subscribe to this mod's changes

transcript-analyst is an agent published in the GitHub repository Jamie-BitFlight/claude_skills (65 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 968 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

core-data-auditor

Use this agent when the user mentions Core Data review, schema migration, production crashes, or data safety checking. Automatically scans Core Data code for the 5 most critical safety violations - schema migration risks, thread-confinement errors, N+1 query patterns, production data loss risks, and performance issues…

CharlesWiltgen/Axiom · 261 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

migration-upgrade-prompt

Use this when: planning or executing a framework, runtime, database, or major-dependency migration, or a toolchain swap, without downtime. Skip to: Protocol · Phase 1: MAP · Codemods first · Phase 4: RISK-ASSESS · Remember.

Rtur2003/Claude-Code-Promts-Skills · 0 tokens

django-migrations-specialist

Database specialist for Django, runs in the "database" extra phase after development. Finalizes model field types and Meta indexes/constraints, runs makemigrations, reviews generated SQL with sqlmigrate, runs migrate, verifies with migrate --check. Do NOT use for: application logic (django-architect), tests…

AratKruglik/claude-sdlc · 85 tokens

database-architect

Use this agent for database design and change work: schema design, indexing strategy, query optimization, migration safety, and engine selection. Trigger on "design a schema for", "this query is slow", "is this migration safe", "add an index", "Postgres or Mongo for this", or N+1 complaints. Returns schema/DDL with…

aayushostwal/nexus · 96 tokens

db-performance-auditor

Audits a .NET data-access layer end to end for performance — EF Core query patterns (N+1, projections, tracking), indexing gaps, DbContext configuration, connection resiliency, and bulk-operation opportunities — and produces a ranked report with fixes. Use when the user wants a database/EF performance review of a…

StefanTheCode/dotnet-ai-toolkit · 88 tokens