Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lord1egypt/pretext
Use when building creative browser demos with @chenglou/pretext — DOM-free text layout for ASCII art, typographic flow around obstacles, text-as-geometry games, kinetic typography, and text-powered generative art. Produces single-file HTML demos by default.
Passed 18 of 24 test cases with the skill, and 9 of 24 without it.
and 17 more in the full report
11 fixed8 passed either way5 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am laying out paragraph text that contains inline atomic pill tags with break: 'never' in a canvas application. The pill backgrounds are overflowing their text boundaries. What parameter is required to reserve padding?
| Checked | Without skill | With skill |
|---|---|---|
| Supplies the extraWidth parameter to account for horizontal pill padding. | Missed | Passed |
| Imports rich inline support explicitly from the rich-inline subpath. | Missed | Passed |
The instructions your model reads when the skill loads.
@chenglou/pretext is a 15KB zero-dependency TypeScript library by Cheng Lou (React core, ReasonML, Midjourney) for DOM-free multiline text measurement and layout. It does one thing: given (text, font, width), return the line breaks, per-line widths, per-grapheme positions, and total height — all via canvas measurement, no reflow.
That sounds like plumbing. It is not. Because it is fast and geometric, it is a creative primitive: you can reflow paragraphs around a moving sprite at 60fps, build games whose level geometry is made of real words, drive ASCII logos through prose, shatter text into particles with exact per-grapheme starting positions, or pack shrink-wrapped multiline UI without any getBoundingClientRect thrash.
This skill exists so Hermes can make cool demos with it — the kind people post to X. See pretext.cool and chenglou.me/pretext for the community demo corpus.
Use when the user asks for:
Don't use for:
ascii-art / ascii-video skills)p5jsThis is visual art rendered in a browser. Pretext returns numbers; you draw the thing.
hello-orb-flow.html template is the starting point. Every delivered demo must add intentional color, motion, composition, and one visual detail the user didn't ask for but will appreciate.lorem ipsum.test cases passed, vs 9 / 24 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.