Typst

🌐Community
by lucifer1004 Β· vlatest Β· Repository

Generates beautiful Typst documents from your prompts – ideal for crafting professional-looking technical and mathematical content quickly.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add typst npx -- -y @trustedskills/typst
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "typst": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/typst"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows an AI agent to generate documents using Typst, a modern typesetting system designed to be simpler and faster than LaTeX. It enables the creation of professional-looking technical and mathematical content, including exporting documents as PDF, HTML, or PNG images. The skill supports compiling Typst code, watching for changes and recompiling automatically, and extracting metadata from documents.

When to use it

  • Creating academic papers, reports, or presentations requiring precise formatting.
  • Generating visually appealing technical documentation with mathematical equations.
  • Converting existing content from Markdown or LaTeX into a modern Typst document.
  • Extracting specific data or information embedded within Typst documents.
  • Quickly producing visual assets like charts and diagrams as PNG images.

Key capabilities

  • Compiles Typst code to PDF, HTML, and PNG formats.
  • Supports watching for file changes and automatic recompilation.
  • Allows extraction of metadata from Typst documents using queries.
  • Provides methods for verifying output (HTML, PNG, text content).
  • Enables searching for and importing packages from the Typst Universe.

Example prompts

  • "Generate a PDF document with the title 'My Report' and some basic content."
  • "Compile this Typst code into an HTML file."
  • "Export this Typst document as a PNG image."
  • "Find Typst packages related to data visualization."

Tips & gotchas

  • Familiarize yourself with the basics of Typst syntax and structure by consulting basics.md and types.md.
  • Import paths are resolved relative to the current file, so ensure they are correct.
  • The skill's functionality is focused on generating documents from Typst code; it’s a coding assistant for Typst development rather than a general-purpose document creation tool.

Tags

πŸ›‘οΈ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
lucifer1004
Installs
138

🌐 Community

Passed automated security scans.