A page format for coding agents
Write a .page file, render it to one standalone HTML file. This editor runs the same Rust compiler as the CLI, built for the browser.
Rendered HTML
- File
- paper-sizes.page
- Lines
- –
- Source
- –
- HTML
- –
- Compiler
- 1.1.0-alpha.1, wasm
- Status
- Loading the compiler…
Use PageScript with your agent
Download the agent skill, then put the extracted pagescript folder in your project’s skills directory.
- Codex
.agents/skills/- Claude Code
.claude/skills/
Examples and token counts
Open an example to edit it. Each pair has the same content and behavior. Counts use o200k_base and include any authored styles and scripts.
| Example | PageScript | HTML | Change | PageScript HTML |
|---|---|---|---|---|
| Paper sizes | 830 | 678 | 22% more | |
| Service status | 386 | 465 | 17% fewer | |
| Rollout guide | 435 | 472 | 8% fewer | |
| Build summary | 521 | 457 | 14% more | |
| Incident timeline | 277 | 395 | 30% fewer |
HTML counts link to the hand-written versions. Full counts, including compiler output