04 / Reading

Every page, also as Markdown.

With one setting the build writes a plain Markdown twin beside each page and one llms.txt that lists them. A reader that runs no browser reads the twin, not the HTML.

Tokens for seven pages

Markdown

404

HTML

21,787

o200k_base · lower is better

Correct answers, of 350

Markdown

350

HTML

350

Each model, from either form

Input per request, Claude Sonnet 5.5

Markdown

222

HTML

4,755

One page and five questions

Input per request, GPT-6.1-terra

Markdown

161

HTML

3,216

One page and five questions

Reading comparison · two models

Seven pages, five questions each, 10 runs per page and form. Per request, input fell from 4,755 to 222 tokens on Claude Sonnet 5.5 and from 3,216 to 161 on GPT-6.1-terra. Both forms scored 350 of 350, so this shows no loss from Markdown, not a gain in answers. The HTML in the test is mostly inline CSS and script, so the ratio is not a typical page's. It holds for these two models only.

From the build to a reader.

Twins are files like any other: no server code, nothing to run.

Culm build

features.llms on

Static host

any file server

Reader

an agent such as Claude Opus, with no browser

01

Culm build

Writes a twin of every page

The page's text and structure as Markdown, beside its HTML.

dist/agents/index.html.md

02

Culm build

Writes llms.txt

The site's name and one link per page, in page order.

- [Authoring with an agent · Culm](/agents/index.html.md)

03

Static host

Serves them as plain files

No server code. They sit in dist/ with the pages.

GET /llms.txt → 200 text/plain

04

Reader

Reads the twin, not the HTML

Headings, text, lists, tables, links and alt text. No styling, no script.

GET /agents/index.html.md

Culm calls no model. The product, or the person's agent host, calls it. "An agent such as Claude Opus" names a role in these diagrams: the flows are exercised by tests with scripted callers, and nothing here was measured with Claude Opus.

One setting.

New projects have it on. Existing projects stay off, and with it off the build is byte-equal to a build before the setting existed. With it on, the build adds files and changes none. This site has it on.

culm.json

{ "features": { "llms": true } }

llms.txt

# Culm

## Pages

- [Culm · The modern JS framework …](/index.html.md)
- [Authoring with an agent · Culm](/agents/index.html.md)

What a twin leaves out.

A twin is the page's text and structure: headings, paragraphs, lists, tables, links, and the text of buttons and labels.

Live content

Written as one line naming its source, with no rows.

Hidden nodes

A node hidden on every layout. One hidden on the phone only is kept.

Styling

No colour, size, spacing or layout.

Images

Written as their alt text.

Mail addresses

Not written, as on the page.

Text stays text

Author text goes through its own Markdown escape, so a page's words cannot become a link, a heading or HTML in the twin.

The rest of Culm