Favicon of pretext

pretext Skill

AI Agent SkillPythonOpen source

Build creative browser demos with DOM-free text layout. Published by NousResearch in hermes-agent.

Decision snapshot

Is this a fit?

Best for

Browser automation, Design and media, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

21 days ago · MIT license

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

What is pretext Skill?

Build creative browser demos with DOM-free text layout. Published by NousResearch in hermes-agent. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
100/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Browser automation
  • Design and media
  • Browser automation use cases
  • Design and media use cases

Declared skill metadata

  • Declared author: Hermes Agent
  • Declared license: MIT
  • Source file: skills/creative/pretext/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory

When to use pretext Skill

  • Use it for browser automation.
  • Use it for design and media.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: NousResearch
  • Repository: NousResearch/hermes-agent
  • Skill file: skills/creative/pretext/SKILL.md

What it does

Build creative browser demos with DOM-free text layout.

Skill instructions

Pretext Creative Demos Overview @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. When to Use Use when the user asks for: - A "pretext demo" / "cool pretext thing"

Verified compatibility and discovery

Frequently asked questions

What is pretext?

pretext is a open-source AI agent skill with Copy skill directory. Build creative browser demos with DOM-free text layout.

Who is pretext best for?

pretext is best for reusing agent instructions, scripts, and references, browser automation workflows, design and media workflows.

How do I install pretext?

Install or run pretext using Copy skill directory. Check pretext for the latest setup command.

Is pretext actively maintained?

pretext may need a closer maintenance check before production use.

Share:

Stars
232,138
Forks
46,253
Last commit
21 days ago
Last verified
Aug 18, 2026
Metadata fetched
Aug 18, 2026
Repository age
1 year
License
MIT

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to pretext