unofficial-typst-for-claude
A Claude Code plugin that bundles Typst binaries so Claude can generate PDFs without any external setup.
> This is an unofficial community plugin. It is not affiliated with or endorsed by the Typst project. Typst is created and maintained by typst/typst and licensed under the Apache License 2.0. All credit for the Typst typesetting system belongs to its authors and contributors.
Why
Typst is a markup language that compiles to PDF, SVG, and PNG. Its syntax is clean enough that LLMs can write it pretty well which makes it nice for generating resumes, invoices, or other structured documents from Claude.
The catch is, if you're running Claude CoWork... it runs things in a locked-down Linux VM where you can't install packages.
This plugin ships a pre-built Typst binary for Linux ARM64 (what CoWork runs on), so typst is on PATH the moment you install it. It also includes a Typst language skill (so Claude writes well-formed .typ syntax instead and a /compile command that goes from a natural language prompt to a finished PDF.
What's included
- Typst binary for Linux ARM64 (
aarch64-unknown-linux-musl), the architecture CoWork uses typstskill — language reference so Claude writes well-formed.typsyntax instead of guessingtypst-packagesskill — tells Claude to search the Typst package registry for community packages before building complex documents (Gantt charts, timelines, diagrams, etc.) from scratch/compilecommand — goes from a natural language prompt to a finished PDF, SVG, or PNG
Installation
Add the marketplace and install:
/plugin marketplace add Primary-Vector/unofficial-typst-for-claude
/plugin install unofficial-typst@unofficial-typst-for-claude
Or load directly during development:
claude --plugin-dir ./unofficial-typst-for-claude
Usage
Generate a PDF from a prompt
/unofficial-typst:compile a professional resume for a senior software engineer
Claude writes the .typ file, compiles it, and gives you the PDF.
Compile an existing .typ file
/unofficial-typst:compile document.typ
Use Typst directly
The plugin adds typst to your PATH:
typst compile input.typ output.pdf
Bundled Platform
This plugin bundles a single binary for Linux ARM64 (aarch64-unknown-linux-musl), which is what Claude CoWork runs on. To add other platforms, run ./scripts/download-binaries.sh and the wrapper script will auto-detect the right binary.
Bundled Typst Version
v0.14.2 - Binaries are sourced from typst/typst releases.
To update to a newer release:
./scripts/download-binaries.sh v0.15.0 # specific version
./scripts/download-binaries.sh # latest
License
This plugin is licensed under the Apache License 2.0.
Typst itself is licensed under the Apache License 2.0 by its authors. See typst/typst for details. The pre-built binaries bundled in this plugin are unmodified copies from the official Typst releases.




