turntax
v0.11.0Per-turn token cost of AGENTS.md, CLAUDE.md and other agent instruction files, with safe fixes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
audit Audit context tax
Per-turn token cost of the coding-agent instruction files (AGENTS.md, CLAUDE.md, Cursor rules, ...) and MCP servers in a folder, per agent, with advice. Read-only.
| Parameter | Type | Description |
|---|---|---|
models | array | Models to price (default: claude-sonnet-5.5, gpt-6.1-sol, gemini-3.8-flash). |
path | string | Folder to audit (default: the project folder). Its turntax.config.json applies. |
tools | array | Agents to report (default: agents with files). |
fix_preview Preview safe fixes
Unified diff of the safe fixes turntax --fix would make: duplicate lines, a CLAUDE.md that repeats AGENTS.md linked with @AGENTS.md, sections that can load only in their folder, large procedures moved into an on-demand skill, misnamed Cursor rules. Every agent keeps reading the moved text. Read-only: nothing is applied.
| Parameter | Type | Description |
|---|---|---|
path | string | Folder to audit (default: the project folder). Its turntax.config.json applies. |
tools | array | Agents whose context must be kept (default: all). |