Typst Skill for Claude Code

A Claude Code skill that enables professional document generation using the Typst typesetting system.
When installed, Claude Code can create PDFs, reports, academic papers, resumes, presentations, and more — directly from natural language requests.
Features
- Full Typst language coverage — page setup, text formatting, math equations, tables, figures, layout, scripting, show/set rules, introspection, and more
- Complete CLI reference — all commands (
compile, watch, eval, init, fonts), options, and environment variables for Typst v0.15
- 9 ready-to-use templates — general document, CJK document, academic paper, simple resume, typographic two-column resume, letter, technical report, presentation slides, and invoice
- Verified output —
scripts/check-pdf.py and a render step catch what a clean compile misses: wrong page count, lost hyphens, unembedded fonts, untagged PDFs
- Silent pitfalls — a reference of layout and text bugs the compiler does not report, each reproduced on Typst 0.15.1
- ATS-safe resumes — rules, a fictional example, and a
--ats check for resumes read by job-portal parsers
- Advanced design patterns — theme systems with cascading defaults, scope-based show rules, modular component functions, multi-column layouts, circular image clipping, typography hierarchy
- CJK support — bold mapping for fonts with no bold face, correct first-paragraph indents, and font fallback configuration,
cjk-latin-spacing, and proper paragraph settings for Chinese/Japanese/Korean documents
- PDF capabilities — PDF/A standards, tagged PDF for accessibility, ICC color profiles, reproducible builds
- Package publishing —
typst.toml manifest format, directory structure, and font bundling
- Plugin packaging — installable as a Claude Code plugin (with marketplace) or dropped directly into
~/.claude/skills/
Prerequisites — install Typst CLI
The Typst skill drives the typst binary, so install it first:
# Windows
winget install --id Typst.Typst
# macOS
brew install typst
# Any platform with Rust
cargo install --locked typst-cli
Verify with typst --version (should print v0.14 or newer; tested on v0.15.1). Optionally install poppler, which scripts/check-pdf.py needs.
Installation
Pick one of the methods below. They are equivalent in capability — choose by your environment.
Any agent, with the skills CLI
Installs into Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI and the other agents the CLI supports. Listed on skills.sh.
npx skills add ChanMeng666/chanmeng-typst
Method 1 — Claude Code plugin marketplace (recommended)
Inside Claude Code, run two commands:
/plugin marketplace add ChanMeng666/chanmeng-typst
/plugin install chanmeng-typst@chanmeng-typst
Auto-updates when the plugin's version field in .claude-plugin/plugin.json bumps. The marketplace name (chanmeng-typst) and plugin name (chanmeng-typst) are declared in .claude-plugin/marketplace.json and .claude-plugin/plugin.json respectively.
Method 2 — Git clone (for users who want to hack on the skill)
The repo's actual skill content lives at skills/chanmeng-typst/ (so the plugin marketplace path can pick it up). To install via direct clone, copy that subdirectory into your user-level skills folder:
# macOS / Linux / Windows (Git Bash or WSL)
git clone --depth 1 https://github.com/ChanMeng666/chanmeng-typst.git /tmp/_typst-src \
&& mv /tmp/_typst-src/skills/chanmeng-typst ~/.claude/skills/chanmeng-typst \
&& rm -rf /tmp/_typst-src
Windows PowerShell users: replace ~ with $env:USERPROFILE, so the destination is $env:USERPROFILE\.claude\skills\chanmeng-typst. Use Move-Item instead of mv and Remove-Item -Recurse instead of rm -rf.
Method 3 — Manual ZIP
For users without Git: