token-efficiency

Installation
Summary

Token optimization strategies for cost-effective Claude Code usage across all projects.

  • Use Opus for learning and deep codebase understanding, Sonnet (default) for development, debugging, and implementation tasks; typical pattern saves ~50% tokens
  • Prefer bash commands over reading files for modifications: use sed, cp, cat instead of Read/Edit/Write cycles, saving 90-95% on file operations
  • Filter before reading with grep, head, tail, and check file metadata first; never read entire log files without filtering
  • Use quiet/minimal output modes by default; override only when user explicitly requests verbose output or full file contents
  • Skills use progressive disclosure (~155 tokens for descriptions only); full content loads only when activated, so symlinking multiple skills is safe
SKILL.md

Token Efficiency Expert

This skill provides token optimization strategies for cost-effective Claude Code usage across all projects. These guidelines help minimize token consumption while maintaining high-quality assistance.

Core Principle

ALWAYS follow these optimization guidelines by default unless the user explicitly requests verbose output or full file contents.

Default assumption: Users prefer efficient, cost-effective assistance.


Model Selection Strategy

Use the right model for the task to optimize cost and performance:

Opus - For Learning and Deep Understanding

Related skills
Installs
1.2K
GitHub Stars
12
First Seen
Jan 24, 2026