← barkcli

Interactive · paste your own numbers

One file instead of
twenty-nine thousand tokens.

Every cold agent session starts the same way: list the repo to find where work lives, search for active tasks, readcandidate files to reconstruct state — before the first real edit. barkcli's auto-maintained project_context.md is that state, compiled, verified against git, and ~515 tokens. The page below is the measurement.

~29,402
cold tokens
515
with context file
2%
of the cold payload
57.1×
smaller

What the benchmark measures

A deterministic proxy for agent cold-start — no LLM runs, no vendors involved. It simulates what an agent must do without the context file, tokenized the same way the file itself is counted:

Directory listing
~18,965 tk

the agent finds where work lives — every file path in the repo

Reading candidates
~10,139 tk

top hit files opened line-by-line to reconstruct state

Keyword locating
~298 tk

searches over card titles + code to guess active work

One read of project_context.md
~515 tk

Generated, staleness-checked, and reconciled against git by barkcli context digest / verify. Hand-edited sections are preserved and flagged in a verification footer when drifted.

Trust it on your own repo

The proxy is deterministic — same repo, same numbers. Run it, then paste the output below to visualize your own ratio (everything stays in your browser):

barkcli context benchmark --json
paste `--json` output (client-side only)

Honest limits