kirklin-typst for Openclaw

Openclaw Skills for kirklin-typst helps you create, customize, compile, and preview polished Typst documents from reusable templates in one fast workflow.

kirklin
v0.1.0
Aug 1, 2026
0
2.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install skills-typst

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install skills-typst using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is kirklin-typst?

kirklin-typst is a template-driven Typst document workflow built for producing polished, compile-tested outputs with minimal friction. It is designed around curated document templates that you copy into your workspace, customize, and then compile into PDF with per-page PNG previews for visual verification.

This skill is especially useful for academic and research writing, including NeurIPS and arXiv-style papers, but it also supports any .typ document that needs a reliable build-and-preview pipeline. Openclaw Skills makes the process repeatable by combining template selection, self-contained styling, Typst compilation, and preview delivery into a single developer-friendly flow.

kirklin-typst Use Cases

  • Writing a research paper or academic manuscript in Typst, especially NeurIPS/arXiv style.
  • Converting an existing .typ file into a compiled PDF.
  • Generating page-by-page PNG previews to verify layout before delivery.
  • Copying a complete template into a working directory and customizing titles, authors, and sections.
  • Building self-contained document projects without depending on network-fetched preview packages.
  • Extending the framework with new document types by adding template directories.

How kirklin-typst Works

  1. Select the right template. Match the requested document type against references/templates.md, with neurips-paper as the current research-paper option.
  2. Copy the template into the working area. Duplicate the entire template directory into the user-visible output location, typically ./outputs/, so the document remains self-contained.
  3. Edit the document content. Update the main .typ file and any included section files, following the template-specific README.md for required replacements.
  4. Compile the document. Run scripts/compile.sh <path>/paper.typ --preview to execute typst compile, produce the PDF, and render one PNG preview per page.
  5. Review the previews. Inspect the generated PNG pages to confirm layout, typography, and correctness before handing off the final PDF.
  6. Deliver the result. Share the preview images and the compiled PDF with the user, keeping outputs in ./outputs/ for transparency and reuse.

kirklin-typst Setup

  1. Ensure the required tooling is available:
typst --version
pdftoppm -h
  1. Install dependencies if needed. You need the typst CLI and poppler-utils for pdftoppm previews.

  2. Choose a template from references/templates.md and copy it to a writable output directory such as ./outputs/.

  3. Customize the copied template rather than editing the source template in place.

  4. Compile with previews:

bash scripts/compile.sh <path>/paper.typ --preview
  1. Optional flags supported by the compiler wrapper:
bash scripts/compile.sh FILE.typ [--preview] [--preview-dir DIR] [--dpi N] \
     [--root DIR] [--font-path DIR]
  1. If you need more detail, inspect the wrapper help:
bash scripts/compile.sh --help
  1. Use --root to control file access scope and --font-path to add custom fonts when required.

kirklin-typst Data Schema & Taxonomy

Openclaw Skills for kirklin-typst organizes document generation as a template-first file system rather than a single monolithic project.

Core structure

Path Purpose
templates/ Complete, compile-tested document templates that can be copied and customized.
templates/neurips-paper/paper.typ Main build file for the current NeurIPS/arXiv-style paper template.
references/templates.md Template catalog and guidance for choosing the correct document type.
references/adding-templates.md Contract for adding new template directories and registering them.
scripts/compile.sh Wrapper that runs typst compile and generates PNG previews.
./outputs/ User-visible destination for generated and customized documents.

Template taxonomy

  • Document type: e.g. research paper, academic paper, future template categories.
  • Build entrypoint: the primary .typ file to compile.
  • Self-contained assets: local style functions, figures, and section files that travel with the template.
  • Preview artifacts: PDF output plus one PNG per page for visual review.

Output conventions

  • Generated work should be written to ./outputs/.
  • Templates should be copied before editing.
  • Styling should live in local .typ functions instead of remote @preview dependencies.
  • User prose must be escaped for Typst special characters when injected into templates.

kirklin-typst Advanced Features

  • Single-pass Typst compilation with automatic resolution of references, citations, and outlines.
  • Per-page PNG preview generation for rapid visual QA after every build.
  • Self-contained template architecture that avoids network-dependent preview packages.
  • Template catalog approach that makes Openclaw Skills extensible for new document types.
  • Support for custom root paths and font directories through scripts/compile.sh flags.
  • Clean separation between reusable templates and user-specific outputs for safer iteration.
  • Guidance for escaping Typst syntax in user-provided prose and math content to prevent build errors.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*