turntax

v0.11.0
io.github.TorutDev/turntax Checked 5 hours ago Published 22 days ago

Per-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.

ParameterTypeDescription
modelsarrayModels to price (default: claude-sonnet-5.5, gpt-6.1-sol, gemini-3.8-flash).
pathstringFolder to audit (default: the project folder). Its turntax.config.json applies.
toolsarrayAgents 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.

ParameterTypeDescription
pathstringFolder to audit (default: the project folder). Its turntax.config.json applies.
toolsarrayAgents whose context must be kept (default: all).