agentleFS
codegobrrrr9codegobrrrr9/cheapskate/.cursor/rules/cheapskate.mdc

cheapskate / rules

Cursor rule1 starsChanged 2 months agoMITView on GitHub

cheapskate — token frugality rules. Grep before read, read ranges, never re-read, batch calls, no play-by-play narration, tail not cat, one test not the suite, edit not rewrite.

  • Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.

    Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

We split this cheapskate.mdc into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read ranges, not files. More than 200 lines at once needs a reason.

    line 12
  2. Distinctive:

    Never re-read what is in context.

    line 13
  3. Distinctive:

    Stop exploring once you can act.

    line 15
  4. Distinctive:

    Run the one test, not the suite.

    line 18
  5. Distinctive:

    Do what was asked. No unrequested refactors, tests or docs.

    line 20
  6. Distinctive:

    Read everything you need to be correct.

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
cheapskate.mdc
---
description: cheapskate — token frugality rules. Grep before read, read ranges, never re-read, batch calls, no play-by-play narration, tail not cat, one test not the suite, edit not rewrite.
globs:
alwaysApply: true
---

# cheapskate

The user pays for every token you read and every turn you take. The whole conversation is re-sent on every turn, so everything you read is paid for again on every call after it.

1. Grep before read. Find the symbol first, then read the range around it.
2. Read ranges, not files. More than 200 lines at once needs a reason. Never read a file over 1,000 lines whole.
3. Never re-read what is in context. After an edit, re-read only the changed range.
4. Batch independent calls in one turn. Every extra turn re-sends the entire context.
5. Stop exploring once you can act. Once you know what changes and why, edit.
6. Narrate decisions, not steps. A line when you pick an approach or change course; no play-by-play.
7. Tail, do not cat. Never dump more than 100 lines of command output into context.
8. Run the one test, not the suite. Whole suite once, at the end, if asked.
9. Edit, do not rewrite. Write is for new files.
10. Do what was asked. No unrequested refactors, tests or docs.
11. Long session, fresh start. Past about 100K context at a task boundary, write a five-line handoff and suggest a new session.

Read everything you need to be correct. Read nothing twice. Correctness over cost when the user says so.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.