Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/pavelzw/skill-forge/typstnpx skills add pavelzw/skill-forge --skill typstgit clone --depth 1 https://github.com/pavelzw/skill-forgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pavelzw/skill-forge/typst)<a href="https://agentmods.dev/skills/pavelzw/skill-forge/typst"><img src="https://agentmods.dev/badge/skills/pavelzw/skill-forge/typst.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00061 | $0.02707 |
| Opus 5 | $0.00030 | $0.01354 |
| Sonnet 5 | $0.00012 | $0.00541 |
| Haiku 4.5 | $0.00006 | $0.00271 |
Grade A, and why
typst scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Typst Skill
Typst is a modern markup-based typesetting system designed for scientific documents. It serves as an alternative to LaTeX with faster compilation (milliseconds, not seconds) and simpler syntax.
When to Use This Skill
Use Typst when:
- Creating academic papers, theses, or scientific documents
- Writing documents with mathematical equations
- Need faster compilation than LaTeX
- Want a simpler markup syntax than LaTeX
- Creating documents with complex tables and layouts
- Building reusable document templates
Three Syntactical Modes
Typst operates in three modes:
| Mode | Purpose | Switching |
|---|---|---|
| Markup | Document structure (default) | Default mode |
| Math | Mathematical formulas | $...$ for inline, $ ... $ with spaces for display |
| Code | Scripting features | Prefix with # |
Escaping Special Characters
CRITICAL: When writing literal text in markup mode, you MUST escape special characters with a backslash (\). An unescaped # is the most common source of compilation errors — it tells Typst to enter code mode, so any literal # in text (e.g. "C#", "issue #42") must be written as \#.
Markup Mode Special Characters
| Character | Meaning | Escape | Example |
|---|---|---|---|
\ |
Escape character / line break | \\ |
path\\to\\file |
# |
Code expression | \# |
Tweet at us \#ad, C\#, \$1.50 per \#item |
* |
Bold text | \* |
5 \* 3 = 15 |
_ |
Italic text | \_ |
file\_name\_here |
` |
Raw text / code | \` |
|
$ |
Math mode | \$ |
costs \$1.50 |
< |
Label | \< |
a \< b in text |
@ |
Reference / citation | \@ |
email\@example.com |
~ |
Non-breaking space | \~ |
|
' |
Smart quote | \' |
|
" |
Smart quote | \" |
Note: =, -, +, / only have special meaning at the start of a line (headings, lists, term lists). They do not need escaping mid-sentence.
Math Mode Special Characters
What ships with it
15 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- pixi.toml 72 B
- PROMPT.md 1.4 KB
- recipe.yaml 1.3 KB
- references/CETZ.md 7.4 KB
- references/CODLY.md 1.4 KB
- references/DRAFTING.md 1.3 KB
- references/LILAQ.md 1.6 KB
- references/LOVELACE.md 2.2 KB
- references/POLYLUX.md 1.4 KB
- references/PRESENTATIONS.md 2.2 KB
- references/SCRIPTING.md 7.5 KB
- references/STYLING.md 7.6 KB
- references/SYNTAX.md 6.1 KB
- references/TABLES.md 7.4 KB
- references/TOUYING.md 1.4 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 412 lines · 61 tokens per session scan A b2c74f6448c0
typst is a skill published in the GitHub repository pavelzw/skill-forge (24 stars, last pushed today), licensed BSD-3-Clause. It adds 61 tokens to every session and 2,707 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
pdf-text-extraction-fallback-85d5ca
Fallback workflow for extracting text from PDFs when readfile returns binary data.