skills/modelscope.cn/token-optimizer

token-optimizer

SKILL.md

Token Optimizer

A comprehensive toolkit to reduce token consumption and lower AI costs — for both Claude Code users (file organization, CLAUDE.md, context hygiene) and API developers (prompt caching, Batch API, effort tuning, prompt architecture). Recommendations are backed by real experiment data and current Anthropic pricing.

Which sections apply to you:

  • Using Claude Code? → Sections 1-5 and the Quick Wins Checklist.
  • Calling the Anthropic API directly? → Also read references/api-optimization-guide.md. That's where the biggest savings live (prompt caching = 90% off, Batch API = 50% off, stackable).

Installation

npx skills add amunozdev/token-optimizer

Or manually:

cp -r token-optimizer ~/.claude/skills/
Installs
1
First Seen
6 days ago