Tokentrial — Productivity skill for Claude Code
Benchmark CLI: do token-saving tools for coding agents actually cut cost per solved task.
How to install Tokentrial
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bishtashish708/tokentrial and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tokentrial does
Benchmark CLI: do token-saving tools for coding agents actually cut cost per solved task? Same tasks with/without each tool, cost split by token type, bootstrap CIs, no-op control.
Alternatives in Productivity
- Skill Context Detection — Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type 2.8k ★
- Ccplugins — Claude Code Plugins that actually save time 2.7k ★
- Agent CLI Runtime — Unified TypeScript runtime for Codex CLI, Claude Code, and OpenCode with typed events, lifecycle control, perm 85 ★
README
TokenTrial
**Does your token-saving tool actually save money?**
TokenTrial is an open benchmark for the token-saving tools that coding agents use, such as [RTK](https://github.com/rtk-ai/rtk), [caveman](https://github.com/JuliusBrussee/caveman), [headroom](https://github.com/headroomlabs-ai/headroom), context-mode and CLAUDE.md variants. It runs the same coding tasks with and without each tool and reports the number that matters: **dollars per correctly solved task**.
**Pilot v0.1 results (2026-11-12):** neither rtk nor caveman showed a saving distinguishable from the no-op control, on Haiku 5.5 with 5 small tasks. caveman's apparent −29% came mostly from Claude Code skipping a background call when its plugin is loaded. Details: [`results/pilot-v0.1/FINDINGS.md`](results/pilot-v0.1/FINDINGS.md).
Status: pre-alpha. The runner, the arms and `report` work, and the pilot has run. Prices are unverified and there is no leaderboard yet. See [docs/PLAN.md](docs/PLAN.md).
Why
Token-saving tools publish large savings figures, usually counted on the tokens they compress. But an agent's bill is made of four token types with very different prices:
| Token type | Typical price relative to fresh input |
|---|---|
| Fresh input | 1x |
| Cache write | about 1.25x (5 min) or 2x (1 h) |
| Cache read | about 0.05x to 0.1x |
| Output | about 5x |
A tool can cut 90% of the tokens it touches and still not lower the bill. That happens if those tokens were cheap cache reads, if the tool breaks the prompt cache, or if the agent needs more turns or fails more tasks. [Quesma's analysis of RTK](https://quesma.com/blog/does-rtk-make-ai-coding-cheaper/) is one example: it questioned whether a headline saving of 89% turned into a lower total cost. TokenTrial makes this kind of check repeatable, public, and applicable to any tool
Related Skills
Self Serve Eval Sandbox
Run open and closed coding models on your team's merged pull requests; compare solve rate and cost per solved
Temporal Check
Review the current repository for date and time semantic bugs, timezone boundary mistakes, and daylight-saving
New Split Strategy
Add a new input splitting strategy for a task type (e.g., split images, split documents).
Skill Harness
I wanted to know whether a skill was actually any good. This runs the same task with the skill and without it,
Rpa Skills
Agent-skills marketplace for Claude Code, Codex and Cursor: RPA BDD workflow, Logika (Chelpanov formal logic),
Mimir
Estimate token cost and risk level before running a task
Related Agents
Context Auditor
Use proactively when the user wants to cut Claude Code token cost or asks "why is this session so expensive /
AI Cost Optimizer
Audits an LLM application or AI agent for token cost and rate-limit risk, using its usage logs and code, and r
Blue Team
Defensive security and hardening specialist. Creates detection rules, hardens Linux/Windows systems, writes Si