CLAUDE CODE + CODEX · LOCAL TOTALS
STANDBY0EST. TOKENS AVOIDED
Waiting for a published snapshot.
CLAMPS0
REPEAT READS0
BYTES AVOIDED0
EST. TOKENS0
SNAPSHOT—
Get STK on GitHub ▸
MIT · One Rust binary · install ↓
Gross estimate: bytes avoided ÷ 4. Follow-up reads and overhead are excluded. Methodology ↗
STK
Claude Code + Codex
STK turns large file reads into line-numbered outlines
Your agent fetches the parts it needs
Install
git clone https://github.com/ryanportfolio/STK.git
cd STK
cargo install --path .
stk init --auto
Requires Rust. Setup detects installed clients, preserves other settings, and creates backups. In Codex, open /hooks to review and trust STK. Start a new session after setup.
Reads
| Client | Intercepts | Follow-up |
|---|---|---|
| Claude Code | Native Read | Read with offset and limit |
| Codex | Simple cat, Get-Content, rtk read commands | stk read with offset and limit |
Default threshold: 16 KiB. Small files, scoped reads, binaries, and unsupported commands pass through. Repeat-read suppression applies to Claude Code only.