Home / Tools / Agent Cost Saver

AI / RAG

Agent Cost Saver

A free guide and 4 scripts to cut Claude Code, Cursor, and Codex token costs.

Agent Cost Saver — A free guide and 4 scripts to cut Claude Code, Cursor, and Codex token costs.

Your AI coding agent costs more than it should. Most of the waste comes from a few habits and a few big files. This free pack shows you which ones, then lets you measure before and after.

What it does

  • A short guide for each tool: 14 Claude Code habits, 8 Cursor habits, and 9 Codex habits, with the exact command or setting and a link to the official docs (checked Nov 25, 2026).
  • cost_audit.py scans a project for what is sent with every request. session_report.py totals tokens per Claude Code session from your own local logs.
  • make_ignore.py suggests a .cursorignore and Claude Code Read-deny rules. filter_test_output.py is a hook that keeps test output short and keeps the real exit code.

Before and after

Run the audit on the sample project

python3 scripts/cost_audit.py demo-project

What cost_audit.py printed

Sent with every request if your tools read all of these (rough guess): up to about 9,186 tokens
  CLAUDE.md: 225 lines, about 4,444 tokens
  Cursor always-apply rules: about 3,810 tokens
[HIGH] CLAUDE.md and AGENTS.md repeat the same text
   Fix: Keep the rules in AGENTS.md and make CLAUDE.md one line: @AGENTS.md
1 high, 4 medium, 2 info. Token numbers are rough (characters / 4).

From samples/cost-audit-demo-output.txt in the pack (the included demo project).

Get it

Source (MIT) · GitHub · Free

Clone or download. Same files as the Gumroad pack. Release v1.0.0. MIT license.

Free guide · Gumroad · Free

Free to use and change (MIT). Pay what you want, $0+. It does not promise a percent saved. Measure before and after instead. Also on GitHub at github.com/tidybytetools/agent-cost-saver.

Also: Ship-Ready Skills Pack · Gumroad · From $1

10 tested skills for code review, tests, secret scans, and changelogs. Suggested $7.

Also: AGENTS.md starter pack · Gumroad · From $1

12 instruction files that tell Codex, Cursor, and Claude Code how your project works.

Also: Dev OS in Claude Code · Gumroad · $9

15 skills, 5 subagents, and 4 safety hooks, plus an installer. A daily workflow kit for Claude Code.

Free: Anti-Slop Rules · Gumroad · Free

12 plain-writing rules and a de-slop skill for Claude Code, Cursor, and Codex.

FAQ

What does this tool do?

A free guide and 4 scripts to cut Claude Code, Cursor, and Codex token costs. Your AI coding agent costs more than it should. Most of the waste comes from a few habits and a few big files. This free pack shows you which ones, then lets you measure before and after.

What does it cost?

Source (MIT) on GitHub costs Free. Clone or download. Same files as the Gumroad pack. Release v1.0.0. MIT license. Free guide on Gumroad costs Free. Free to use and change (MIT). Pay what you want, $0+. It does not promise a percent saved. Measure before and after instead. Also on GitHub at github.com/tidybytetools/agent-cost-saver. Also: Ship-Ready Skills Pack on Gumroad costs From $1. 10 tested skills for code review, tests, secret scans, and changelogs. Suggested $7. Also: AGENTS.md starter pack on Gumroad costs From $1. 12 instruction files that tell Codex, Cursor, and Claude Code how your project works. Also: Dev OS in Claude Code on Gumroad costs $9. 15 skills, 5 subagents, and 4 safety hooks, plus an installer. A daily workflow kit for Claude Code. Free: Anti-Slop Rules on Gumroad costs Free. 12 plain-writing rules and a de-slop skill for Claude Code, Cursor, and Codex.

Will you see my files?

The download tools run on your computer, so those files stay with you. The Apify tools run in your own Apify account. This website does not take uploads.