Skip to content
Advance Labs

01llms.txt

human-machine-swapper

A custom element that lets a visitor read the same page a model reads. Most sites write an llms.txt that no human ever sees, so nobody notices when it goes stale. This puts it one click from the page it describes.

npm i human-machine-swapper
02Spec

What the registry says

A web component that adds a Human / Machine pill to any website. Machine shows the site's llms.txt, the plain-text reading written for language models, rendered in place. One file, about 6 KB gzipped, no dependencies and no build step.

Version
1.4.0
Licence
Apache-2.0
First published
2026-09-24
Types
No bundled types
Binary
human-machine-swapper
Dependencies
None
Links
npm · Source

Read from registry.npmjs.org on 2026-10-14. The npm page is authoritative if this drifts.

03Alongside

The rest of llms.txt

create-llms-txt

Reads your routes and writes the file from them, so it lists pages that exist rather than pages someone remembered. Run it with npm create llms-txt.