Agent Skills
ultra‑text
for coding agents
One progressive skill for Claude Code, Antigravity, Cursor, Codex, and Windsurf.
npx skills add Makio64/ultra-text
skills/ultra-text follows the open Agent Skills format with progressive
disclosure: the main SKILL.md stays lean with the entry-point selector and
lifecycle invariants, while stack-specific details live in focused files under
references/ that the agent reads only when needed.
01 — Skill layout
Progressive layout in skills/ultra-text
Rather than flooding the context window with every engine option, one skill routes the agent from a compact overview to the exact stack reference your codebase uses.
skills/ultra-text/
├── SKILL.md # Entry points, DOM rules, quickstart
└── references/
├── three-tsl.md # Options, SDF/Slug/Windfoil, TSL hooks, SVG
├── frameworks.md # R3F (v9 & v10), TresJS, Mini3, Strict Mode
└── vanilla-webgpu.md # Three-free vanilla & SLUG_WGSL pipelines
Inspect or download any file directly as UTF-8 Markdown:
- skills/ultra-text/SKILL.md — main skill prompt, entry-point matrix, DOM & lifecycle invariants, quickstart.
-
references/three-tsl.md
— Three.js
WebGPURendereroptions, TSLfill/vertexhooks, Slug, Windfoil, SVG & vector emoji, shared atlases. - references/frameworks.md — copy-once MIT starters for React Three Fiber, TresJS, and Mini3, plus SSR and React Strict Mode cancellation.
-
references/vanilla-webgpu.md
—
ultra-text/vanillaandultra-text/slug-vanillatyped-array buffers,SLUG_WGSL, andcreateVanillaSlugPipeline.
Covered by the MIT License alongside the framework integration instructions.
02 — Install
Add the skill to your agent
Use the Skills CLI against the GitHub repository or the published npm package to link it into Claude Code, Antigravity, Cursor, Codex, or Windsurf:
# From GitHub (all agents)
npx skills add Makio64/ultra-text
# Or directly from the installed npm package
npx skills add ultra-text
Prefer checking the skill straight into your repository or global config? Fetch the four
Markdown files into .agents/skills/ultra-text/ (or
.claude/skills/ultra-text/):
mkdir -p .agents/skills/ultra-text/references
curl -fsSL https://ultra-text.makio.io/skills/ultra-text/SKILL.md \
-o .agents/skills/ultra-text/SKILL.md
for ref in three-tsl frameworks vanilla-webgpu; do
curl -fsSL "https://ultra-text.makio.io/skills/ultra-text/references/${ref}.md" \
-o ".agents/skills/ultra-text/references/${ref}.md"
done
Reading offline from node_modules
The npm tarball ships skills/ultra-text/ next to dist/. Any
local coding agent in a project that depends on ultra-text can read
node_modules/ultra-text/skills/ultra-text/SKILL.md directly with no network
access.
03 — Guardrails
The invariants your agent gets right
-
Exact entry point & peer range: chooses between
ultra-text,ultra-text/slug,ultra-text/vanilla, andultra-text/slug-vanillawithout inventing nonexistent framework subpaths or falling back toTHREE.WebGLRenderer. -
Argument order: keeps
DomText.create(renderer, source)on Three.js entries distinct fromDomText.create(element, gpuDevice)on vanilla entries, and usesnew Text(...); await label.readyfor string text. -
Measurable, accessible DOM: marks elements with
data-text-block, keeps HTML connected withoutdisplay: noneorhidden, setsaria-hidden="true"on the canvas, and awaitsrenderer.init()plusdocument.fonts.ready. -
Zero render-loop work: leaves DOM observers in charge, enables
reflowable: truefor fast width-onlyreflow(width)updates, and keepspixelsPerUnitscaling consistent on depths and motion. -
Strict Mode & cleanup: wires
AbortControlleracross everyawait, disposes late captures, and calls idempotentdispose()on unmount without disposing caller-owned renderers.
04 — Existing endpoints
Everything else stays right where it is
All existing documentation pages, LLM summaries, starter files, and WebMCP tools stay at their canonical paths:
search_docs,
read_docs_section, get_framework_component) in supporting
browsers.
Framework guidesCopy-once human & agent starters for R3F, TresJS, and Mini3 at
/docs-r3f, /docs-tres, and /docs-mini3.