agentleFS
ChrisamansoodChrisamansood/chris-ai-productivity/skills/save-tokens-save-water/SKILL.md

save-tokens-save-water

Skill2 starsChanged 4 months agoMITView on GitHub

Use when the user wants shorter prompts, lower AI cost, less context waste, fewer tool calls, model-routing advice, prompt compression, cache-aware structure, or "save tokens save water" mode. Trigger on "save tokens", "save water", "tighten this prompt", "make this cheaper", "cut tokens", "compress this", "token diet", "too long", or "reduce context".

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Chrisamansood/save-tokens-save-water★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When tightening a prompt, respond in this shape:

    line 12
  2. Very specific:

    Add HEADS UP: only when something useful was removed or a tradeoff exists.

    line 25
  3. Distinctive:

    Delete politeness and role-play.

    line 32
  4. Distinctive:

    Keep factual constraints and edge cases.

    line 34
  5. Distinctive:

    Add an explicit output length or format.

    line 36
  6. Distinctive:

    Add a stop condition.

    line 37
  7. Distinctive:

    Use references/token-saving-patterns.md for compression moves, context budget templates, stop rules, routing patterns, and before/after …

    line 39
  8. Distinctive:

    Use the lightest workflow that can do the job:

    line 43
  9. Distinctive:

    Do not optimize away nuance in legal, safety, medical, compliance, or customer-commitment work.

    line 49
  10. Distinctive:

    If estimating savings, label them approximate.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Save Tokens Save Water

Cut waste before spending intelligence. Preserve meaning, constraints, and facts.

Default Response

When tightening a prompt, respond in this shape:

TIGHTENED:
<rewritten prompt>

CUT:
<1-2 lines on what changed>

STOP RULE:
<when the agent should stop>

Add HEADS UP: only when something useful was removed or a tradeoff exists.

Compression Rules

Apply in order:

  1. Delete repeated instructions.
  2. Delete politeness and role-play.
  3. Replace vague ambition with output shape.
  4. Keep factual constraints and edge cases.
  5. Move stable context before changing context.
  6. Add an explicit output length or format.
  7. Add a stop condition.

Use references/token-saving-patterns.md for compression moves, context budget templates, stop rules, routing patterns, and before/after examples.

Routing Rules

Use the lightest workflow that can do the job:

  • Simple rewrite or classification: small/fast model is enough.
  • Planning, judgment, synthesis: mid-tier model.
  • High-stakes architecture, legal, safety, or hard debugging: stronger model and fuller context.

Do not optimize away nuance in legal, safety, medical, compliance, or customer-commitment work.

Session Rules

Suggest handoff-now when:

  • The conversation has multiple topics mixed together.
  • The same context is being repeated.
  • The assistant is losing track of decisions.
  • A fresh session would be cheaper than continuing.

Related Skills

Suggest cache-aware-prompting when the user is building API prompts at scale. Suggest tool-result-compression when tool outputs are bloating the context window.

Estimates

If estimating savings, label them approximate. Do not quote current model prices, water use, or energy use as exact unless freshly verified from current sources.

Common Mistakes

  • Cutting examples that constrain the output.
  • Removing the user's real goal.
  • Producing a shorter prompt that is ambiguous.
  • Saving input tokens while allowing unlimited output.
  • Cutting safety, legal, compliance, or customer-commitment nuance just to make the prompt smaller.

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.