news · #6

Token cost

Every word, image, and blob you put in chat costs tokens. SlickFast is built so you can keep the recipe small and only draw the picture when a human needs it.

Problemfat chat
Fixsmall twin
Human getsthe Page
Agent gets.json

First: what this is about

When you use Claude, Cursor, or any agent, the conversation is the bill. Models charge (or burn your plan) by tokens — pieces of text and data sitting in that chat.

Paste a big PNG. Paste a whole web page of HTML. Paste the same dashboard seven times as seven images. The agent’s “memory” for this turn gets huge. You pay for that weight even when the agent barely uses it.

SlickFast’s bet: the chart is the data. A short JSON recipe can recreate the exact picture anytime. People open a normal URL. Agents add `.json` to that URL and get the recipe — we call that the twin. Same fingerprint (`sha256`) on both. No need to shove the picture or the HTML into the chat to “remember” it.

The picture that sticks

Left side = the expensive habit (dump fat stuff into the agent). Right side = the cheap habit (give it a tiny recipe it can re-draw).

Dump means: paste PNG bytes, paste Page HTML, or re-paste images every turn.

Twin means: keep `https://…/s/….json` (or a local pagespec file) — a few hundred tokens of structured JSON the agent already knows how to read.

What you put in the agent’s mouth Dump Input PNG / HTML Size huge Reuse hard Proof none Twin Input JSON recipe Size tiny Reuse call render Proof sha256 VS SlickFast

How big is “huge,” roughly?

This is feel from real sessions, not a lab meter — so you know the scale:

That last pattern is already how our `news` and `get_started` tools talk: facts + URL, not a dump of the Page.

0 20 40 60 80 100 100 Paste whole Page HTML 70 Leave a PNG in the thread 12 Dense dashboard JSON 4 One chart JSON 2 Summary + URL (+ twin if needed) Total: 188 Relative weight in chat (illustrative) SlickFast

Takeaways (humans)

1. Don’t paste SlickFast Pages into chat as HTML. Open the link. Send the link.

2. If an agent needs the recipe, give it the twin: same URL with `.json` on the end.

3. Draw the picture when someone needs to look — then keep working from the JSON, not from re-pasting images.

4. One dashboard = one picture. Seven charts on one board should be one render, not seven image dumps (News #5 — Tiling).

5. Publish when the work should leave the scroll — a Page is shareable memory. Next person (or next agent) opens URL / twin instead of hunting the old chat.

Takeaways (agents)

1. Never dump Page HTML into the thread. Summarize. Show the URL.

2. Fetch the twin (`…json`) when you need numbers, layout, or to re-render.

3. Prefer SVG when the client shows chart artifacts well; still don’t treat pixels as the source of truth.

4. Dense boards on local MCP: put the JSON in a file and call with `specPath` / `pagespecPath` so tool arguments stay thin.

5. Teaching without bloat: `get_started` → `news` (current drop) → open one twin. Archive (`news` with `archive: true`) is a catalog — not a dump of every Page into chat.

The cheap loop 1 Write small JSON 2 Publish Page + twin 3 Share the URL 4 Re-draw only if needed SlickFast

One sentence to steal

Speak the facts, show the URL, keep the twin — do not dump the HTML.

Doors: News · Archive · Get started

fingerprint sha256:09ab06dc96ae2f8036b55cb38c3bbb4e2ef6f8bffbb38f3bb81885b19ddcc86c · verify: add .json to this page's URL