Hard-Block Oversized Reads at the Hook Layer Instead of Asking the Agent to Delegate

~90% on delegated bulk-read ops (Spotify Portal) Advanced 4 min read

Telling an agent to delegate big file reads doesn't hold โ€” it reads the file whole anyway, at frontier rates, re-billed every turn. Put a deterministic PreToolUse hook in front of Read that hard-blocks any file over a line-count threshold and reroutes it to a cheap worker that returns a summary.

๐Ÿ”’ Pro tip ยท Advanced

Unlock this tip โ€” and 120 more

This is one of 121 advanced, fact-checked tactics reserved for Pro. Get the full 143-tip library, a searchable archive, and a new tip every morning. Free for 7 days, then $9/mo.

Prefer to browse? The 22 Beginner tips are free forever.