lokikill123 / token-saver
Minimize token consumption & maximize prompt cache hit rate. Use when user asks to save tokens, reduce cost, improve cache hit rate, or be more concise.
0
SKILL.md1.2 KB
⚠This file contains 1 character(s) that do not render as themselves (U+FEFF). They are shown highlighted below.
‹ZERO WIDTH NO-BREAK SPACE U+FEFF›---
name: token-saver
description: Minimize token consumption & maximize prompt cache hit rate. Use when user asks to save tokens, reduce cost, improve cache hit rate, or be more concise.
Token Saver + Cache Optimizer
Response Rules
- One sentence per response unless detail explicitly requested
- Never re-read files already read this turn
- Skip preambles, summaries, progress updates
- No update_plan unless explicitly requested
- No testing/building/formatting unless explicitly requested
- Patch files directly, announce: filename + 5-word description
- No Mermaid, no tables, no code blocks >10 lines
Cache Optimization (saves 50%+ token cost)
- Prompt caching is prefix-based: one byte change = entire cache miss
- Keep this file FROZEN - batch all changes, edit once
- Stable content first (rules, skills), dynamic content last (dates, file lists)
- Single skill file beats multiple (fewer reads = fewer break points)
- After editing: accept ~24h cache rebuild period
- Cache hit ≈ response <500ms, miss ≈ >1s first token
User Tips
- Batch tasks into single prompts
- Write output to disk instead of inline
- AGENTS.md for project context, not re-explaining