← ClaudeAtlas

token-efficiencylisted

Comprehensive token optimization: RTK (Rust Token Killer) command-output compression, efficient file/command strategies, hard model-routing rules (Sonnet 4.6 coders, Opus 4.6 orchestrator, Haiku 4.5 logging), Source-of-Truth keyword framework, hybrid SQLite agent memory with checkpoints, and concise output style. Use this skill whenever running dev CLI commands (git, cargo, npm, pytest, docker), spawning coding subagents, writing logs or agent memory, setting up a project's keyword index, checkpointing, or whenever the user mentions 'rtk', 'token efficiency', 'token savings', 'context bloat', 'model routing', 'checkpoint', 'agent memory', or 'source of truth'. Also use to install/verify RTK or its Claude Code hook.
M4NUSH7/Niche-Claude-Code · ★ 1 · DevOps & Infrastructure · score 77
Install: claude install-skill M4NUSH7/Niche-Claude-Code
# Token Efficiency Five pillars, each detailed in a reference file. Apply all of them by default; the user saying "verbose" or naming a model lifts the relevant rule. Pillars engage by project condition, not all-or-nothing: no dev commands means RTK stays dormant; no subagents means routing is idle; pillars 2, 4, and 5 apply to any project, code or not (SoT categories seed from the project goal, whatever the domain - a writing project seeds BRIEF/VOICE/PLATFORM the same way a web app seeds AUTH/DB/API). Never force an inapplicable pillar. | Pillar | What it saves | Read | |---|---|---| | 1. RTK command proxy | 60-90% of command output | this file, `references/rtk-awareness.md` | | 2. Efficient file/command ops | wasteful reads and dumps | `references/strategies.md` | | 3. Model routing (hard rules) | Opus tokens on Sonnet/Haiku work | `references/model-routing.md` | | 4. SoT keywords + hybrid memory | blind scanning and re-planning | `references/sot-framework.md`, `references/memory-system.md` | | 5. Concise output | narration and filler | `references/output-style.md` | ## 1. RTK (Rust Token Killer) Single Rust binary proxying dev CLI commands, compressing output with <10ms overhead. Prefix commands: `rtk git status`, `rtk cargo test`, `rtk npm install`, `rtk pytest`, `rtk docker ps`, `rtk kubectl ...`. Unknown subcommands pass through safely. `rtk proxy <cmd>` gives raw output. `rtk gain` shows savings. - Verify FIRST, never reinstall blindly: `rtk --version && rtk gai