

Generative UI agent instructions: 2,326 vs 12,720 tokens
Generative UI needs instructions that teach an agent to build cards. A short block cost 2326 tokens, a full guide 12,720, so keep the short block.
3 posts


Generative UI needs instructions that teach an agent to build cards. A short block cost 2326 tokens, a full guide 12,720, so keep the short block.


The Claude Code context window fills with memory files, history and tool output. /clear starts a new session, and a shorter CLAUDE.md cuts the fixed load.
One skills repo can serve Claude Code and Codex through links, not copies. Measured on a working 102-skill repo: scoping each skill to its projects cut the always-loaded listing from 22,617 characters to a median of 7,080, and routers keep the rest on demand.