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.


Generative UI means an agent draws the interface itself, such as a card with a table or a form, instead of replying in text. The instructions that teach it to do that are tokens spent before the first prompt in every session: a short always-loaded block measured 2326 tokens and a full guide 12,720. On three tasks, the guide roughly doubled the load and made one card worse, so keep the short block.
What each block weighs
A primer here means the short always-loaded instruction block. Its own estimate was “~1800”, but the count was measured, not estimated.
| Block | Tokens measured |
|---|---|
| Short primer | 2326 |
| Full guide | 12,720 |
The method is a plain subtraction, run with tools off.
block tokens = input tokens with the text - input tokens without itbaseline = 5756 tokensSame three tasks, cold calls
Each cell was one fresh run on one model, with the short block (A) or the full guide (B) loaded. The table reads input tokens and cold call cost from the run record.
| Task | A input | B input | A cost | B cost |
|---|---|---|---|---|
| flights | 9570 | 19964 | $0.040 | $0.082 |
| laptops | 9455 | 19849 | $0.043 | $0.083 |
| status | 9330 | 19724 | $0.027 | $0.071 |
The extra tokens sit in the context window in every session, which matters for Claude Code usage limits, where long context is one of the faster ways to spend a quota.
What the full guide bought
Tool calls and retries were 0 / 0 in every cell, and first-draft success was 6 of 6 on both sides. The short block had already removed the failures, so the guide had no error rate left to lower.
| Task | Better card |
|---|---|
| flights | full guide |
| status | full guide |
| laptops | short block |
So the guide moved richness on two of three prompts and made one worse. One run per cell and one model make that a spot read, not a rate, and it does not show that a full guide gives better cards in general.
Give your build a human voice
Eleven v4 is ElevenLabs' most emotive voice model yet, for text to speech, voice agents and an API.
Hear Eleven v4Sponsored
Make AI video from inside Claude
Higgsfield has an MCP for Claude, plus Seedance 2.5 and Cinema Studio 4.0. New accounts get up to 50% off for their first 3 hours.
Get up to 50% offSponsored
Loading it anyway
A follow-up run loaded the guide at launch. The first request went from 12275 to 22848 tokens, a delta of +10,573. That is a cost on every first turn, though only in sessions that load it.
If a richer guide is wanted later, the finding points to an on-demand command that prints the node catalog when an agent needs it. That beats a bigger always-loaded block, in the same spirit as sharing one skills repo between Claude Code and Codex instead of copying it everywhere.
Verdict
Keep the short block always loaded, because most sessions never author a card and the full guide adds its tokens to all of them. Load the longer guide only where cards are the job, or fetch it on demand. Measure your own block with the same subtraction before you grow it.
Measure your own block: read the status line docs
Sources:finding.md, finding.md.
Responses
Responses
Community guidelines
Write about the post. Be kind and be specific.
Responses are plain text. Spam, abuse and anything unlawful are removed, and the person who posted them may be blocked.
A response may wait for the owner to read it before it appears. Use Report on anything that should not be here.
Give your build a human voice
Eleven v4 is ElevenLabs' most emotive voice model yet, for text to speech, voice agents and an API.
Hear Eleven v4Sponsored
Make AI video from inside Claude
Higgsfield has an MCP for Claude, plus Seedance 2.5 and Cinema Studio 4.0. New accounts get up to 50% off for their first 3 hours.
Get up to 50% offSponsored
Get the next one
New posts by email, when they are ready. Confirm once and you are on the list.
Check your inbox
We sent a link to . Click it and you are on the list. Nothing is sent to an address that has not confirmed itself.
Keep reading


Claude Code context window: what fills it, how to free it
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.
How to share one skills repo between Claude Code and Codex
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.


Claude model training data: what the help article says
Anthropic's help article says commercial inputs are not used for training by default, but feedback can be. Here is what to check in Claude Code.

