Skip to content
Back to skills

Token Economy

ASecurity

Minimize token and context usage while keeping answer quality — targeted search before reading, partial file reads, no re-reading, compact tool output, batching, delegation, and terse responses. Use for any long or large-codebase task, when the user mentions tokens, cost, context limits, "be efficient", "save tokens", or when context is filling up.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agents

Security analysis

A100/100

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

Scanned November 30, 2026

npx -y skills add orchnesai/orchnes-360 --skill token-economy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Token Economy?

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

Security grade badge for Token Economy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/orchnesai-token-economy/badge)](https://www.skillsdirectory.com/skills/orchnesai-token-economy)

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: token-economy
description: Minimize token and context usage while keeping answer quality — targeted search before reading, partial file reads, no re-reading, compact tool output, batching, delegation, and terse responses. Use for any long or large-codebase task, when the user mentions tokens, cost, context limits, "be efficient", "save tokens", or when context is filling up.
license: MIT
---

# Token Economy

Every token in context is paid for on every later turn. Spend early tokens to avoid later ones.

## 1. Locate before you read
- Search (grep/glob/symbol search) for the exact identifier first; read only matching files.
- Read line ranges around the hit, not whole files. Expand only if needed.
- Never read generated, vendored, lock, minified or binary files unless the task is about them.

## 2. Never pay twice
- Do not re-read a file you already have in context and haven't changed.
- Do not re-derive facts already established; reference them.
- Persist durable facts (build commands, architecture notes, decisions) in a memory/notes file so future sessions don't rediscover them.

## 3. Shrink tool output
- Pipe long output through filters: `| tail -n 40`, `| grep -E "FAIL|Error"`, `--quiet`, `--json | jq '<field>'`.
- Run only the relevant test subset during iteration; the full suite once at the end.
- When output is long, keep only the error signature + the minimal context.

## 4. Batch and delegate
- Issue independent tool calls together in one step.
- Push broad, exploratory searches to a sub-agent/cheaper model and keep only its conclusion.
- Use the cheapest model that can do the sub-task (see the `autonomous-loop` skill tiers).

## 5. Write less
- Answer first, no preamble, no restating the question, no recap of what was just shown.
- Show diffs or changed snippets, not entire files.
- No speculative alternatives unless asked; give one recommendation.
- Code comments only where intent isn't obvious.

## 6. Stop early
- When the done criteria are met, stop. Don't polish unrequested parts.
- If blocked on a user decision, ask one precise question instead of exploring every branch.

## Quick self-check before each action
1. Do I already know this? → don't fetch it.
2. Can I fetch a smaller slice? → do that.
3. Can these calls run together? → batch them.
4. Will this output be long? → filter it.

Measured techniques and command recipes: `references/recipes.md`.

Files in this skill

  • SKILL.md2.4 KB
  • references/recipes.md1.2 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.