token-efficiency

Apply token-efficiency strategies to Claude Code tasks across learning and development workflows.

17|2|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/Delphine-L/claude_global --skill token-efficiency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: token-efficiency
Source: https://github.com/Delphine-L/claude_global/tree/main/skills/claude-meta/token-efficiency
Command: npx skills add https://github.com/Delphine-L/claude_global --skill token-efficiency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Token-efficiency minimizes token usage in Claude Code sessions by providing a structured approach to model selection, data access, and command usage that preserves answer quality while reducing cost.

Core Features & Use Cases

  • Model selection guidance: Choose Opus for learning and Sonnet for routine tasks to optimize token usage.
  • Command discipline: Prefer bash commands over Read/Edit/Write to avoid overhead.
  • Context-aware reading: Read only necessary parts of files and use filtering to minimize data loaded.
  • Use Case: When reviewing a large repository, switch to targeted reads and minimal outputs to summarize progress without dumping entire files.

Quick Start

Use the token-efficiency skill during a code review to swap a large file read with a targeted grep and a short snippet read.

Frequently Asked Questions about token-efficiency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token usage in Claude Code sessions?

Token-efficiency minimizes token consumption by strategically selecting models, reading only necessary file sections, and preferring bash commands over file operations. Choose Opus for complex learning tasks and Sonnet for routine work to balance cost and quality.

When should I use Sonnet instead of Opus to save tokens?

Use Sonnet for routine development tasks like code reviews, debugging, and refactoring where full reasoning depth isn't required. Reserve Opus for complex learning, architecture design, and problem-solving where deeper analysis justifies higher token cost.

How do I review large codebases without exhausting tokens?

Use targeted bash commands like grep to locate relevant code sections, then read only those snippets instead of entire files. Minimize output by summarizing findings concisely rather than dumping full file contents.

What's the best way to optimize file reading in Claude Code?

Read-efficiency strategies include filtering files by pattern before loading, reading partial sections with line ranges, and using bash to extract relevant code rather than passing whole files. This reduces overhead while preserving answer quality.

Can I maintain code review quality while cutting token costs?

Yes. Token-efficiency preserves quality by targeting high-value reads and focused analysis. Filter files systematically, ask specific questions, and let the model work with minimal context rather than loading entire repositories.

Does token-efficiency require knowledge of Claude's model differences?

Yes. Awareness of Opus versus Sonnet capabilities, strengths, and typical token costs per task type is essential. Understanding model trade-offs lets you assign work appropriately and predict cost impact before executing tasks.