惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Palo Alto Networks Blog
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
GbyAI
GbyAI
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
量子位
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
Recent Announcements
Recent Announcements
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
P
Privacy International News Feed
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
博客园 - 叶小钗
L
Lohrmann on Cybersecurity
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
P
Proofpoint News Feed
NISL@THU
NISL@THU
博客园 - Franky
C
Cybersecurity and Infrastructure Security Agency CISA
The Register - Security
The Register - Security
M
MIT News - Artificial intelligence
Know Your Adversary
Know Your Adversary
A
Arctic Wolf
F
Full Disclosure
T
Threat Research - Cisco Blogs
P
Privacy & Cybersecurity Law Blog
The Hacker News
The Hacker News
博客园 - 【当耐特】
D
Docker
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Jina AI
Jina AI
Help Net Security
Help Net Security
V
Visual Studio Blog
小众软件
小众软件
B
Blog
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
N
News and Events Feed by Topic
Forbes - Security
Forbes - Security
N
Netflix TechBlog - Medium
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
GitHub - yonk-labs/claude-session-analyzer: See what Claude Code is really doing to your context — per-session & per-skill token/cost/time analysis and a Textual TUI over local transcripts. Find the prompt or skill quietly slowing you down. Python.
TheMadHatter · 2026-06-25 · via Hacker News: Show HN

See what Claude Code is really doing to your context — and which prompt or skill is quietly slowing you down.

Claude Code already writes a full JSONL transcript of every session to ~/.claude/projects/. csa reads those transcripts and turns them into tokens, cost, time, and per-skill behavior — no wrapper, no instrumentation, no extra capture step. The data is already there; this just reads it.

A big global CLAUDE.md, dozens of skills, and a pile of MCP servers ride in your context on every turn. One skill can balloon a single turn by 100k+ tokens. A "helpful" skill can interrupt you with questions you never asked for. You usually can't see any of it. Now you can.


Quickstart

pipx install claude-session-analyzer       # recommended (isolated CLI)
# or: uv tool install claude-session-analyzer
# or: pip install claude-session-analyzer

csa            # corpus profile: spend, bloat ratio, top sessions
csa --tui      # the interactive browser (main surface)

csa is a command-line app, so pipx/uv tool keep it out of your global site-packages — but plain pip install claude-session-analyzer works too.

From source (for development)
git clone git@github.com:yonk-labs/claude-session-analyzer.git
cd claude-session-analyzer
uv venv .venv && uv pip install --python .venv/bin/python -e .
# or: python3 -m pip install -e .

The text CLI is stdlib-only. The TUI's one dependency is Textual.


What you get

csa                  # one-shot text report over every session
csa --tui            # interactive: projects → sessions → drill down
csa --local          # only the current directory's sessions (the cwd's project)
csa --session FILE   # per-turn breakdown of one transcript
csa /other/projects  # point at a different root

--local works for both the text report and --tui — it maps the current directory to its Claude Code project and scopes everything to it.

The CLI report

======================================================================
USAGE PROFILE  (1,240 sessions under ~/.claude/projects)
======================================================================
  OUT (generated)    :      42,118,540 tok
  IN  fresh (full $) :      14,002,221 tok
  IN  cache-read     :  10,540,883,002 tok   <- standing context, replayed
  IN  cache-write    :     280,114,907 tok
  BLOAT (read/fresh) :           752.8x
  EST. SPEND         :      ~$8,431.55

TOP 15 SESSIONS BY SPEND
        $       out     in+cache  turns   wall  tok/s  project
   612.40 2,901,033 1,201,557,011    225  7740m    6.3  ~/acme-api
   498.10 2,344,981 1,004,219,540    204  9060m    4.3  ~/web-app
   ...

BLOAT is the headline: for every token you actually type, ~750 tokens of standing config (CLAUDE.md + skills + MCP tool defs) replay each turn. It's cheap per token (cache-read is ~10% price) but it's a huge, constant footprint.


The TUI

It opens on a Projects overview — sessions rolled up per project. Drill into one project to see its sessions, or press a for every session across all projects. (csa --tui --local skips straight to the current directory's sessions.) Sample data below is illustrative.

1 · Projects — sessions rolled up per project (landing screen)

┌ csa · projects ─────────────────────────────────────────────────────────────┐
│ 52 projects · 1,240 sessions · ~$8,432 · Enter a project · a=all sessions      │
├──────────────────────────┬──────────┬──────────┬───────┬──────────┬───────────┤
│ project                  │ sessions │       $ ▼│  out  │ in+cache │ last used │
├──────────────────────────┼──────────┼──────────┼───────┼──────────┼───────────┤
│ ~/acme-api               │    41    │ $2,788   │ 9.2M  │   3.1B   │ 2026-06-21│
│ ~/web-app                │    33    │ $1,799   │ 6.1M  │   2.0B   │ 2026-06-20│
│ ~/data-pipeline          │    10    │ $1,386   │ 2.4M  │   1.0B   │ 2026-06-18│
└──────────────────────────┴──────────┴──────────┴───────┴──────────┴───────────┘
  Enter open project · a all sessions · s skills · t tools · q quit

2 · Browser — sessions in a project (or all), sortable

┌ csa ───────────────────────────────────────────────────────────────┐
│ 1,240 sessions · ~$8,432 token-value · s skills · t tools · m MCP · 1-9 sort  │
├─────────┬──────┬──────────┬───────┬──────┬───────┬──────────┬─────────────────┤
│      $ ▼│  out │ in+cache │ turns │ wall │ tok/s │ model    │ project         │
├─────────┼──────┼──────────┼───────┼──────┼───────┼──────────┼─────────────────┤
│ $612.40 │ 2.9M │   1.2B   │  225  │ 129h │  6.3  │ opus-4-8 │ ~/acme-api      │
│ $498.10 │ 2.4M │   1.0B   │  204  │ 151h │  4.3  │ opus-4-8 │ ~/web-app       │
│ $372.30 │ 882k │ 564.7M   │   60  │  43h │  5.7  │ opus-4-8 │ ~/data-pipeline │
│ $187.30 │ 896k │ 285.3M   │  140  │  26h │  9.7  │ sonnet-4 │ ~/web-app       │
└─────────┴──────┴──────────┴───────┴──────┴───────┴──────────┴─────────────────┘
  Enter open · s skills · t tools · m MCP · q quit

3 · Session — control panel + sortable turns

Opens on a control panel of session stats — friction, skill loads, MCP calls, how often it asked you, and more. Press g to swap it for the time-bucketed bar graphs. The turns table (now with the prompt of each turn) is always below.

┌ ~/acme-api ─────────────────────────────────────────────────────────────────┐
│ 3f9c0e1a · opus-4-8 · 225 turns · out 2.9M · peak-ctx 358,958 · $612.40       │
│ 6.3 tok/s · g=stats⇄graphs · a=all turns · t=tools · m=MCP · Enter for commands│
├───────────────────────────────────────────────────────────────────────────────┤
│ started 2026-06-18 09:14   ended 2026-06-21 17:40   (7740m elapsed wall-clock) │
│                                                                                │
│ turns 225   tool calls 1840   skill loads 12   MCP calls 47 (plugin_playwright│
│   ×29, stele×14, …)   subagents 9   asked you 6                                │
│                                                                                │
│ friction 41/225 turns · corrections 7 · walkbacks 3 · self-corrections 12 ·   │
│   error-turns 5 (18 tool errors) · retry-loops 9   (suspicion, not proof)     │
│                                                                                │
│ skills used: brainstorming×4, writing-plans×3, test-driven-development×2, …     │
├────┬──────┬──────┬───────┬─────────┬───────┬─────┬──────┬──────┬───────────────┤
│  # │ gap  │ dur  │   out │     ctx │     $ │ t/s │ tools│ fric │ prompt        │
├────┼──────┼──────┼───────┼─────────┼───────┼─────┼──────┼──────┼───────────────┤
│  1 │   0s │ 726s │ 29.1k │  92,008 │ $2.09 │  40 │  12  │  S·  │ Build the …   │
│  2 │ 599s │  95s │  6.1k │  96,894 │ $0.20 │  65 │   0  │   ·  │ Also add …    │
│  3 │ 117s │1217s │ 64.2k │ 384,334 │ $9.96 │  53 │  44  │  WEL │ current pri…  │
└────┴──────┴──────┴───────┴─────────┴───────┴─────┴──────┴──────┴───────────────┘
  g graphs · Enter a turn · t tools · m MCP · a all · Esc back · q quit

Press g for the bar graphs. Each row is a real clock-time bucket (no more "+120m" mystery) — click a bucket to filter the turns below to that window:

│ when         │ tokens          │ spend          │ turns            │
│ 06-18 09:14  │ ████████ 412k   │ ██████ $88.10  │ ██████████ 41    │
│ 06-19 09:14  │ ██ 96k          │ █ $14.20       │ ███ 12           │
│ 06-20 09:14  │ ██████████ 511k │ ███████ $140   │ █████ 22  ←spike │

fric flags (suspicion, not proof): C=you corrected it next · W=you pivoted to a different approach next · S=it walked itself back · E=2+ tool errors · L=retried the same command.

4 · Turn detail — the commands

┌ turn 3 commands ────────────────────────────────────────────────────────────┐
│ Turn 3 · gap 117s · dur 1217s · in 1.9k / out 64.2k tok · ctx 384,334 · $9.96 │
│ skills: claude-api                                                            │
│ time 1217s = exec 320s · you 0s · model-think 897s  (you = time on AskUser…)  │
│ friction (suspicion, not proof): 2 tool-error(s), tool-loop, user-walkback-next│
│ ✗ 2 failing call(s): Bash, Bash  (Enter to read the error)                    │
│ next user pivoted: "instead, use a different tool to load prices…"            │
│ exec = tool run · wall = call→next step · Δ = model think + idle after         │
│                                                                               │
│ prompt: current pricing per million tokens for Opus 4.x, Sonnet 4.x…          │
├────┬─────────────┬──────┬──────┬──────┬─────────────────────────────────────┤
│  # │ tool        │ exec │ wall │  Δ   │ summary                             │
├────┼─────────────┼──────┼──────┼──────┼─────────────────────────────────────┤
│  1 │ Skill       │   3s │  46s │  43s │ claude-api                          │
│  2 │ Bash ✗      │   8s │  40s │  32s │ time python3 profile.py --top 15    │
│  3 │ ToolSearch  │   0s │  29s │  29s │ select:mcp__plugin_abe_abe__debate… │
│  4 │ Write       │   0s │  25s │  25s │ csa/pricing.py                      │
└────┴─────────────┴──────┴──────┴──────┴─────────────────────────────────────┘

The header shows the 3-way split of turn duration: how much was tool execution (321s), how much was the model thinking between calls (897s), and how much was you answering AskUserQuestion prompts. Failing calls (✗) now show in the table — previously the data was tracked but the ✗ marker was never wired. Enter any of them to see the full input + the error result text.

The Δ column is the quiet one: time python3 profile.py ran 8s, but the model then thought 32s before its next move. Instant tools (Write, ToolSearch) with a big Δ are pure think time you'd never have seen.

Press Enter on any command to open its full step — the complete tool input (the whole Bash command, the full file written, the entire prompt to a subagent) plus the captured result:

┌ Bash — full step ───────────────────────────────────────────────────────────┐
│ Bash · exec 8s · wall 40s · Δ 32s                                             │
│                                                                               │
│ INPUT                                                                         │
│ ────────────────────────────────────────────────────────────                 │
│ {                                                                             │
│   "command": "time python3 profile.py --top 15",                              │
│   "description": "Run full usage profile across all transcripts"              │
│ }                                                                             │
│                                                                               │
│ RESULT  (capped)                                                              │
│ ────────────────────────────────────────────────────────────                 │
│ USAGE PROFILE  (1,240 sessions under ~/.claude/projects) …                    │
└───────────────────────────────────────────────────────────────────────────────┘

5 · Skill regret — which skill is slowing you down (s)

asks = how often a skill interrupts you for input. regret% = share of its turns with friction (correlation, not proof — out/asks/tools are the trustworthy columns).

Skills that fired fewer than 5 times show n<5 in dim text and sink to the bottom when sorted by regret% — a 100% from one fire is noise, not data.

┌ skill regret — suspicion, not proof ────────────────────────────────────────┐
│ turns=turns it ran · tools=tool calls it triggered · asks=times it asked YOU  │
│ a question · regret%=turns with friction. Enter a skill to see what it does.  │
│ 8 skills fired <5× (regret% dimmed, sunk in sort)                             │
├────────────────────────────────────┬───────┬──────┬───────┬──────┬───────────┤
│ skill                              │ turns │ out ▼│ tools │ asks │ regret%   │
├────────────────────────────────────┼───────┼──────┼───────┼──────┼───────────┤
│ (none)                             │  4598 │ 33.4M│ 22334 │  270 │   14%     │
│ writing-plans                      │    59 │ 3.2M │  2010 │   33 │   69%     │
│ subagent-driven-development        │    41 │ 2.2M │  1629 │   13 │   66%     │
│ brainstorming                      │    69 │ 2.1M │  1378 │  145 │   61%     │
│ test-driven-development            │    21 │ 1.7M │  1478 │   16 │   86%     │
│ some-one-shot-skill                │     1 │  3.1k│     8 │    0 │   n<5     │
└────────────────────────────────────┴───────┴──────┴───────┴──────┴───────────┘
  Enter a skill for its profile · Esc back

6 · Skill detail — what it loads + what it triggers

Open a skill to see its context weight (how many tokens its SKILL.md injects each run), the friction breakdown (WHERE the regret came from), and the histogram of what it actually does in your traces.

┌ what this skill really does ────────────────────────────────────────────────┐
│ claude-api                                                                   │
│ ran in 1 turns · spent 20m (1217s/turn) · generated 64.2k output tok ·       │
│ triggered 44 tool calls (44.0/turn) · friction in 100% of its turns          │
│ friction breakdown: tool-errors 5 (1 turn) · self-correction 1               │
│ context weight: loads ~509.2 KB (~130,354 tok, est) each run · 1 load (heavy!)│
│                                                                              │
│ What it actually triggers — calls · exec vs wall · out tok                   │
│ (wall−exec = model think after; AskUserQuestion exec = you answering;        │
│ out tok = per-response attribution, overlaps if one response emits several): │
├─────────────────┬───────┬───────┬───────┬───────┬───────────────────────────┤
│ tool            │ calls │ exec  │ wall  │out tok│ % of its tool use         │
├─────────────────┼───────┼───────┼───────┼───────┼───────────────────────────┤
│ Bash            │   26  │   7m  │  22m  │ 38.1k │ 59%                       │
│ Edit            │    9  │   0m  │   4m  │ 14.2k │ 20%                       │
│ Write           │    5  │   0m  │   2m  │  7.8k │ 11%                       │
│ Read            │    4  │   0m  │   1m  │  4.1k │ 9%                        │
└─────────────────┴───────┴───────┴───────┴───────┴───────────────────────────┘

The friction breakdown is the new part: a 100% regret can come from one self-correction (a mistake the model fixed itself) or 20 tool errors (struggling). They're not the same. The breakdown surfaces where each skill's friction actually lives, so the leaderboard can be read with the right skepticism.

This is the payoff: claude-api silently loads ~130k tokens of reference doc every time it fires. brainstorming is lighter (~2.5k) but asks you 2+ questions per turn. Different costs, both invisible until now.

7 · Tools — what got called, how often (t)

Corpus-wide from the browser, or for one session from inside it. Session view also shows per-tool out tokens (per-response attribution; if one response emits several tools the tokens are split across them, so they overlap and the sum can exceed turn tokens — labeled in the header).

┌ tools called ───────────────────────────────────────────────────────────────┐
│ Tools — 3f9c0e1a · 1,840 tool calls across 12 tool types · click to sort    │
│ out tokens per-response (overlap if one response emits several tools)         │
├───────────────────┬─────────┬─────────┬──────────────────────────────────────┤
│ tool              │ calls ▼ │ out tok │ % of all calls                       │
├───────────────────┼─────────┼─────────┼──────────────────────────────────────┤
│ Bash              │    684  │ 1.2M    │ ████████ 37.2%                       │
│ Read              │    421  │ 312k    │ ████ 22.9%                           │
│ Edit              │    298  │ 245k    │ ███ 16.2%                            │
│ Write             │    167  │ 134k    │ █ 9.1%                               │
│ AskUserQuestion   │      6  │   3k    │  0.3%                                │
│ mcp__plugin_…__…  │     47  │  29k    │  2.6%                                │
└───────────────────┴─────────┴─────────┴──────────────────────────────────────┘

8 · MCP — which servers got called (m)

MCP tools are namespaced mcp__<server>__<tool>. Press m from any session or browser screen to see calls grouped by server. From a session the screen also shows out tokens per server (per-response attribution).

┌ MCP servers — 3f9c0e1a ──────────────────────────────────────────────────────┐
│ 47 calls across 3 servers                                                    │
│   plugin_playwright  ████████ 29 calls · 4 tools · out 18.2k tok              │
│   stele              █████ 14 calls · 2 tools · out 8.4k tok                 │
│   plugin_abe_abe     █ 4 calls · 1 tool · out 2.1k tok                       │
├──────────────────┬────────┬─────────┬──────────────────────────────────────┤
│ server           │ calls ▼│ out tok │ share                                │
├──────────────────┼────────┼─────────┼──────────────────────────────────────┤
│ plugin_playwright│   29   │  18.2k  │ ████████ 61.7%                       │
│ stele            │   14   │   8.4k  │ █████ 29.8%                          │
│ plugin_abe_abe   │    4   │   2.1k  │ █ 8.5%                               │
└──────────────────┴────────┴─────────┴──────────────────────────────────────┘

Keys: Enter drill in · Esc back · 19 (or click a header) sort · s skills · t tools · m MCP · a all (sessions / turns) · q quit.

➡ Full per-screen reference: docs/USER-GUIDE.md


What it measures (and how honestly)

csa measures tax — tokens, cost, time — not answer quality. It's careful about what the numbers can and can't say:

  • tok/s is end-to-end throughput (output ÷ turn wall-clock), not decode speed. Transcripts only have completion timestamps, so there's no time-to-first-token.
  • Friction / regret (corrections, walkbacks, self-corrections, tool errors, retry loops) is correlation, not proof. It's labeled that way everywhere it appears. Skills fired <5× show n<5 and sink in the sort — a 100% from one fire is noise.
  • attributionSkill is which skill fired, not which is loaded. Per-skill "passive" context cost is never inferred from it.
  • Context weight (injected SKILL.md size) is estimated as chars ÷ 4. Good for ranking skills by weight; not a billing figure.
  • Per-tool out tokens are per-response attribution: when one response emits several tool calls, the response's output_tokens are split across them, so the per-tool tokens OVERLAP and the sum can exceed turn tokens. This is the honest approximation given Claude records tokens per request, not per call — per-turn attribution would double-count everything. Labeled in the UI.
  • Turn wall-time breakdown splits duration into exec (tool run time), you (AskUserQuestion's exec time — honest because the tool's purpose is to wait for you), and model-think (everything else, which is the time the model spent between calls and idle after the last one).

How it works

Each transcript line carries a millisecond timestamp, a uuid/parentUuid tree, per-request token usage (output / input / cache-read / cache-creation, keyed by requestId), and an attributionSkill tag. csa:

  1. folds requests that share a requestId into one turn (no double-counting),
  2. rolls turns up between user prompts,
  3. prices each request with a verified per-model table (5m vs 1h cache split exactly),
  4. attributes injected SKILL.md text to the skill that loaded it, by position.

Pricing

Base rates from Anthropic's pricing reference (Opus $5/$25, Sonnet $3/$15, Haiku $1/$5, Fable $10/$50 per MTok); cache-read 0.1×, cache-write-5m 1.25×, cache-write-1h 2× input. Unknown/older models fall back to a default rate and are flagged (est.). Edit csa/pricing.py when rates change.

Limits

  • Completion-only timestamps → no first-token latency.
  • Friction is a heuristic (suspicion, not proof); a single tool error is not flagged (≥2 is).
  • Skill-content attribution is by proximity (the SKILL.md body has no id link in the transcript); verified accurate on real data.

License

Apache-2.0 © 2026 yonk-labs