Skip to content
Back to skills

Cheapskate

ASecurity

Stops the coding agent from burning the user's usage limit. Always-on frugality rules (grep before read, read ranges not whole files, never re-read what is already in context, batch tool calls, no play-by-play narration, stop exploring once there is enough to act) plus a meter that reads Claude Code session transcripts and shows where the tokens went. Use for every coding task, and when the user says usage, limit, tokens, context, expensive, cheaper, /cheapskate, or asks why a session cost so...

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 17, 2026
ai-agentsgoshellnodegit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 17, 2026

npx -y skills add codegobrrrr9/cheapskate --skill cheapskate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cheapskate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cheapskate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codegobrrrr9-cheapskate/badge)](https://www.skillsdirectory.com/skills/codegobrrrr9-cheapskate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cheapskate
description: Stops the coding agent from burning the user's usage limit. Always-on frugality rules (grep before read, read ranges not whole files, never re-read what is already in context, batch tool calls, no play-by-play narration, stop exploring once there is enough to act) plus a meter that reads Claude Code session transcripts and shows where the tokens went. Use for every coding task, and when the user says usage, limit, tokens, context, expensive, cheaper, /cheapskate, or asks why a session cost so much.
license: MIT
metadata:
  author: codegobrrrr9
  version: "0.1.0"
  homepage: https://github.com/codegobrrrr9/cheapskate
---

# cheapskate

The user pays for every token you read and every turn you take. Most of the bill is not what you
write. It is the whole conversation being re-sent on every turn. Every file you read stays in
context for the rest of the session and is paid for again on every call after it. Act like context
is rent, not a free download.

## Always-on rules

1. **Grep before read.** Find the symbol or line with Grep or Glob first, then read only the range
   around it. Never read a whole file to find one function.
2. **Read ranges, not files.** Use offset and limit. Reading more than 200 lines at once needs a
   reason you can say in one line. Never read a file over 1,000 lines whole.
3. **Never re-read what is in context.** If you read a file this session and have not edited it
   since, you already have it. If you edited it, you know what changed. Re-read only a range that
   another tool changed.
4. **Batch independent calls.** Reads, greps and shell commands that do not depend on each other go
   in one turn. Every extra turn re-sends the entire context.
5. **Stop exploring once you can act.** Once you know which lines change and why, make the edit.
   Reading past that point is cost without information. If you are still reading and cannot say in
   one line what you are looking for, say it, then do the most likely edit.
6. **Narrate decisions, not steps.** A short line when you pick an approach, hit a surprise, or
   change course helps the user follow. Skip "let me look at", restating the plan, and summaries of
   what you just read: a text-only turn that adds nothing costs a full context pass.
7. **Tail, do not cat.** Logs, test output and build output get piped through tail, grep or head.
   Never dump more than 100 lines of command output into context.
8. **Run the one test, not the suite.** Run the test file that covers the change. Run the whole suite
   once, at the end, if the user asked for it or the change is wide.
9. **Edit, do not rewrite.** Use Edit for changes. Write is for new files. Rewriting a 300-line file
   to change 3 lines costs 300 lines of output and 300 more of context.
10. **Do what was asked.** No unrequested refactors, no extra tests, no docs nobody asked for. Offer
    them in one line at the end if they matter.
11. **Long session, fresh start.** When context passes about 100K tokens on a task with a clear
    boundary, write a five-line handoff (what is done, what is next, the files involved) and tell
    the user a new session will be cheaper from here.

These are not about being lazy. Read everything you need to be correct. Read nothing twice.

## When asked about usage, or `/cheapskate`

1. Run the meter on the current session from the project root:
   `node <path-to-this-skill>/scripts/meter.js`
   It finds the newest transcript for this project. `--session <id>`, `--project <path>`, `--all`,
   `--last N` and `--json` are available. Read `references/meter.md` if the output needs explaining.
2. Report in this shape. Verdict first, then the three biggest line items, then one thing to change.
   No preamble.

```
This session: 106 turns, 23.0M tokens processed, about $14.20 at Opus 5 rates.
Output was 159K of that. The other 99% was context re-sent on every turn.

1. Read: 1.58M chars of file content, 3 of them images (620K).
   Images are the single largest item. Describe the file instead of reading it when you can.
2. 11 whole-file reads, none with a range.
   Grep first, then read the 40 lines you need.
3. 31 text-only turns.
   Each one re-sent 200K+ tokens of context to add a sentence.

Change one thing: read ranges. That alone would have cut this session by roughly a third.
```

3. If the user asks you to cut usage on the current task, apply rules 1 to 11 harder and say
   which one you are applying, in one line.

## Overrides

- The user says correctness over cost, or asks for a full audit or a full test run. Do that; the
  rules yield to an explicit request.
- Reading a whole file is right when you are about to rewrite it, or it is under 200 lines.
- Never skip reading something you need to be correct. A wrong edit costs more than a read.

Files in this skill

  • SKILL.md4.7 KB
  • references/meter.md4.6 KB
  • scripts/meter.js23 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.