- Home
- Skills
- Technical Documentation
- Typst Agent
More screenshots
Works with the AI Agents you already use
Typst Agent
Expert Typst authoring and LaTeX migration with compile-verified delivery and a version-aware docs cache.
$5.99
Typst Agent
Example session with this skill installed
Convert this LaTeX theorem environment and math block to Typst. I need it to use a modern font and compile correctly with the 0.15 compiler.
- Read your context and instructions
- Compiled the typst agent
I have mapped the LaTeX theorem environment to a Typst figure with a custom show rule and converted the math block to native Typst math mode.
Typst Conversion Deliverable
#set text(font: "New Computer Modern", size: 11pt)
#set heading(numbering: "1.")
// Define theorem style
#show figure.where(kind: "theorem"): it => {
set align(left)
block(fill: gray.lighten(90%), stroke: 0.5pt + navy, inset: 10pt, radius: 4pt, width: 100%)[
#text(weight: "bold", fill: navy)[Theorem #it.counter.display(it.numbering)]
#emph(it.body)
]
}
= Mathematical Foundations
#figure(
[The square of the hypotenuse is equal to the sum of the squares of the other two sides.],
kind: "theorem",
supplement: [Theorem],
numbering: "1",
) <pythagoras>
As shown in @pythagoras:
$ a^2 + b^2 = c^2 $
$ f(x) = integral_(-infinity)^(infinity) e^(-x^2) dif x $
Verification Results:
- Compiler: Typst 0.15.1
- Command:
typst compile theorem.typ - Output:
theorem.pdf(1 page)
Next steps
- For numbering schemes by section, the counter logic can be updated.
- Add a
bibliography()call if these theorems require citations.
Connects securely to your tools. The creator never sees your data.
About this skill
Typst authoring often fails due to fast-moving syntax changes, version mismatches, and mode confusion between markup and code. This skill provides a verified, iterative workflow for creating Typst documents that compile correctly on the first attempt by using the compiler as the source of truth.
What it does
- Environment validation checks for the Typst compiler and manages local installation or unverified mode signaling.
- Smart docs lookup uses a local cache to store verified syntax and package signatures, preventing network calls and hallucinated parameters.
- Scaffolded authoring generates documents from compile-verified templates for articles, reports, slides, and CVs.
- Iterative debugging parses compiler diagnostics to apply specific fixes rather than blind rewriting.
- LaTeX migration maps document intent, macros, and preamble settings to native Typst functions or Universe packages.
How it works
- Status check: Run
docs-lookup.py statusto verify the local compiler version and docs cache state. - Requirements gate: Present a high-level structure and package plan for user confirmation before writing markup.
- Verified authoring: Generate Typst code, performing lookups for version-sensitive syntax like font variations or multi-bibliography targets.
- Compile loop: Execute
typst compileto validate the output, resolving any errors via the diagnostics catalogue.
Frameworks & tools
Typst CLI, Typst Universe packages (cetz, fletcher, touying, codly), and BibLaTeX/Hayagriva for bibliographies.
Why this beats prompting it yourself
Standard LLMs frequently hallucinate Typst syntax because the language evolves rapidly (e.g., breaking changes in 0.15 backslash paths). This skill forces a compile-check loop and uses a version-aware local cache to ensure every snippet delivered actually works in your environment.
Use cases
- Migrating complex LaTeX research papers to modern Typst templates.
- Generating data-driven reports using JSON, YAML, or CSV inputs.
- Creating technical diagrams and flowcharts using the
cetzorfletcherpackages. - Debugging obscure Typst compiler errors and layout convergence warnings.
Known limitations
Does not support plain Markdown, Word, or unrelated PDF tasks. PDF text extraction from source docs may require manual cleanup of ligatures. Requires local compiler for full verification.
Requires the Typst CLI for full verification. Version-specific notes are verified against Typst 0.15.1; on other compiler versions the agent re-verifies against that version's changelog. Backslash paths are rejected in current Typst versions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
Requires
Permissions
File Scopes
Terminal access runs the Typst compiler to verify output. Read/Write cover project .typ sources, compiled PDFs, and the local docs cache. Network is used only to fetch official documentation pages on first lookup; results are cached locally. No account access is required for any service.