Activity statistics from local Claude Code, Codex and opencode transcripts: tool calls, error rates, latency, sessions and subagent spawns, merged across every machine Orca can reach.
Tool-call, latency and API-cost statistics for your coding agents, across every machine your Orca can reach.
Orca is an agent runtime that runs coding agents such as
Claude Code and Codex in git worktrees, on your own machine and on paired remote servers.
orca-fleet-stats is a Claude Code plugin and a standalone CLI that reads the transcripts those
agents leave behind and tells you what they actually did.
What it does
Counts tool calls per tool, with MCP tool names normalized and Bash calls also grouped by
their first command word (git, pytest, rg, ...).
Reports the error rate and latency (mean, median, p95) of each tool. Latency is the time from
a tool call to its result in the transcript.
Counts sessions and subagent spawns by subagent_type and model, and splits main-agent from
subagent activity.
Estimates cost: tokens and an API-price USD figure per host, agent, model, project and period.
Breaks everything down by agent, host, project, model and day, week or month, with filters
for each.
Merges the numbers from this machine and every paired Orca server into one report, without
ssh and without installing anything on the servers.
Sources it reads, all read-only. Missing sources are skipped.
Agent
Read from
Claude Code
~/.claude/projects/**/*.jsonl, including subagent transcripts
That adds the /orca-fleet-stats command, the orca-fleet-stats skill (so you can just ask
"which tools fail most this week?") and puts orca-fleet-stats on PATH.
Without the plugin, run the script directly. It is a single stdlib-only Python file (3.12+):