STANDBY

0EST. TOKENS AVOIDED

Waiting for a published snapshot.

CLAMPS0

REPEATS BLOCKED0

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.

Configuration and commands ↗

Reads

Supported file reads
ClientInterceptsFollow-up
Claude CodeNative ReadRead with offset and limit
CodexSimple cat, Get-Content, rtk read commandsstk read with offset and limit

Default threshold: 16 KiB, or 50 KiB for Markdown. Small files, scoped reads, binaries, and unsupported commands pass through. In Claude Code, asking again for an unchanged file (up to 4 MiB) in the same session returns the whole file; Codex gets the outline again. Older versions blocked those repeats; the repeats-blocked counter keeps that history.