typst

Installation
SKILL.md

Typst

Compilation

typst compile document.typ              # compile once → PDF
typst compile document.typ output.pdf   # explicit output path
typst compile document.typ -f png       # export as PNG image
typst compile src/main.typ --root .     # set project root for /path imports
typst watch document.typ                # recompile on change
typst query document.typ "<label>"      # extract metadata as JSON (see query.md)

Agent verification — choose by what you need to check (see debug.md for details):

Method Command Best for
HTML export typst compile doc.typ /dev/stdout -f html --features html 2>/dev/null Text content, structure, headings, tables
PNG export typst compile doc.typ page-{p}.png -f png Visual layout, alignment, spacing, fonts
Related skills
Installs
2
Repository
kehwar/skills
First Seen
Apr 18, 2026