npx loadsheet prints a short summary. npx loadsheet <harness> breaks one harness down item by item. npx loadsheet --full prints every finding and fix in full, and npx loadsheet --json prints the same numbers as a Report. npx loadsheet usage looks back instead: sessions, compactions and tokens per project.
The first message of a chat
Section titled "The first message of a chat"loadsheet 0.1.3
Learn what you send to Claude Code and Codex with the first message of every chat.
Claude Code 17.3k tokens · 9% context window
████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░ 91% free (182.7k)
■ built-in 5.6k ■ instructions 6.7k ■ skills 0.8k (14 skills) ■ MCP 4.1k
■ agents 0.1kFor each harness with chats in the window: how many tokens every chat sends before you type, and what share of the model's context window that is. The bar splits them by part. built-in is the harness's own system prompt and built-in tools; the rest is your setup: instruction files, skills, MCP servers and agents. The skill count leaves out skills that cost no tokens. The heaviest harness fills two thirds of its bar and the others are drawn on the same scale, so a lighter harness has a shorter bar; the percentages give the real share. When no chat reports the built-in cost, the free space is unknown unless your setup already fills the window.
Breakdown
Section titled "Breakdown"Breakdown saved per chat a month
Behaviour downsize 3 subagent types over 100.0k a request 44.4B
post-link PR spend (all joined threads) 27.3B
quiet threads pull-request updates keep waking
Claude Code shorten 1 skill description over 300 chars −0.1k −66.4k
remove 1 skill never used in 30 days −53 −31.7k
Needs your OK data-toolkit plugin: 6 skills never used −0.3k −112.1kEach setup row is one kind of change, with the tokens a chat would save once it is made. The monthly estimate uses chats on the affected machines and harnesses; it leaves out project installs and other places where the affected chat count is unknown. Behaviour rows have no edit to make. They show how much context oversized subagents send and whether pull request updates keep waking threads. Where available, post-link PR spend counts all threads joined to pull requests in the flagged harnesses, not just the threads that woke. It is spend, not an estimate of what quieting wakes would save. The summary counts a skill flagged by two rules once in the total. Needs your OK is the biggest change loadsheet has no safe edit for, such as skills that come with a plugin: turning the plugin off also turns off its hooks and commands, so that call is yours. Rules lists what each rule checks.
On a stock install with nothing added, the summary says that skills, MCP servers and instruction files show up once you add them.
The summary ends with the command for each harness's breakdown and for the web page, npx loadsheet --ui. Fleet reports include --fleet in these commands, without any hosts you listed after it. loadsheet changes none of your files: when it has exact edits, it tells you how to apply them, even if they don't save tokens. See Apply fixes with your agent.
One harness
Section titled "One harness"skills · 9 listed 0.4k uses
used, heaviest first
terraform-plan 57 1
bench-compare 47 5
never used in 30 days, heaviest first
docx-builder 49 never hide
+ 3 more: 3 used, 0 never used npx loadsheet codex --allnpx loadsheet claude-code, or npx loadsheet claude, lists the harness's instruction files, skills, MCP servers and agents with their tokens and uses. Skills come in two groups, used and never used, the heaviest first; --all lists them all. hide marks a skill loadsheet has a fix for. Under "Fixes" each change names the file it edits, with the skill's name as <name>.
The full report
Section titled "The full report"npx loadsheet --full prints what the summary is built from: each harness's heaviest lines, what each harness lets loadsheet see, every finding grouped by rule with each fix's action, file, key and command, and the rules that did not run. A skill pack's report, npx loadsheet ./skills, always prints in full. See Weigh a skill pack.
Usage by project
Section titled "Usage by project"Sessions, compactions and tokens, 2026-08-03 to 2026-11-21, on 2 machines.
Totals sessions compacted tokens share
Claude Code 17 3 18% 62.0M 90%
Codex 5 1 20% 7.1M 10%
all 22 4 18% 69.1M 100%
plus 22 subagent sessions, whose tokens are counted above
Orgs sessions compacted tokens share
acme 19 4 21% 68.6M 99%
no repository 3 0 0% 507.4k 1%
Projects sessions compacted tokens share
acme/web 14 3 21% 61.5M 89%
acme/api 5 1 20% 7.1M 10%
no repository 3 0 0% 507.4k 1%
Settings
Claude Code prompt cache 5 minutes
subagent cache Claude Code's default
transcripts kept 30 days
Codex auto-compact Codex's default limitnpx loadsheet usage counts the sessions you started, how many compacted their context at least once, and the tokens they used, per harness, per organisation and for the 10 biggest projects, then the 10 heaviest threads by title. It covers every day your machines still have a record of, not only the last 30, and the first line names the first and last of those days. --days 90 keeps only the last 90.
Tokens are input, output, cache reads and cache writes, subagents' included; the share is of all of them. Some records keep only a session's total, with no split into input, output and cache; those totals count too.
A harness deletes its own transcripts after a while, but other stores on your machine may still hold those sessions. loadsheet fills in a gone Claude Code session from T3 Code's usage cache, else from T3 Code's database. For a gone Codex thread, T3 Code's usage cache supplies tokens when it has them, and Codex's state database supplies session counts and metadata. State-only Codex sessions do not add tokens. Each session counts once: a readable transcript takes precedence over T3 Code's usage cache, which can supply usage even without the companion database. When a store filled in a harness's older days, the harness's last line under Settings names it and what it lacks. A project is its repository, owner/repo, from the git remote of the folder the session ran in. Folders that are no repository count under one row. A session counts on the day it started.
A Claude Code, Codex, OpenCode or Pi session that Paseo started counts under the entrypoint paseo, from Paseo's records in ~/.paseo (or $PASEO_HOME), with its tokens from the agent's own files. So does one run by a custom provider that extends Claude Code, Codex, OpenCode or Pi in Paseo's config.json. Paseo keeps no tokens, so a session it ran with an agent loadsheet has no usage reader for, such as Copilot, counts as a session alone. --exclude-via paseo leaves them all out.
A Pi session T3 Code started counts under t3-code. When a Pi transcript is missing or outside the scanned session directory, loadsheet uses T3 Code's recorded usage when available, or counts the session alone from Paseo's record.
Settings shows what loadsheet read from each harness's settings that changes these numbers: how long the prompt cache lives, how long transcripts are kept, and when the harness compacts on its own. When a 1-hour cache followed 5-minute days, it says when the 5-minute writes stopped. Fixes for the prompt cache rules and for transcripts kept too short follow it.
npx loadsheet usage query answers narrower questions from the same counters, such as which models and subagents the tokens would cost the most at list prices, which skills' loads take the most context, how many turns pull request updates and other notifications started, or how many tokens a thread spends per merged pull request. See usage query. npx loadsheet usage audit runs them all at once.
These counters stay on your machines. See Privacy.