ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified file management Safety 4/5

local-pandoc

Converts Markdown files to PDF files using the pandoc command-line utility. Use when a user asks to convert a .md or markdown file to a .pdf file.

Why use this skill?

Learn to use the OpenClaw local-pandoc skill to effortlessly convert Markdown files into professional PDFs using the powerful pandoc utility.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/piyushduggal-source/pandic-office
Or

What This Skill Does

The local-pandoc skill empowers OpenClaw users to perform complex document conversions directly from their terminal or workspace environment. At its core, the skill interfaces with the industry-standard pandoc command-line utility, a powerful document converter that functions as the "Swiss Army knife" of document formatting. By utilizing this skill, the AI agent can intelligently ingest Markdown files and transform them into professional-grade PDF documents, as well as handle conversions between other formats like HTML, DOCX, and various markup languages. It bridges the gap between raw text drafting and polished, distributable file formats, handling the technical complexities of document rendering, metadata injection, and styling variables.

Installation

To integrate this document conversion capability into your OpenClaw environment, execute the following command in your terminal or via the OpenClaw skill manager:

clawhub install openclaw/skills/skills/piyushduggal-source/pandic-office

Ensure that you have pandoc and a LaTeX distribution (such as TeX Live or MiKTeX) installed on your host system, as the PDF generation functionality depends on these external dependencies being present in your system's PATH.

Use Cases

This skill is ideal for technical writers, developers, and students who maintain project documentation, research papers, or technical reports in Markdown. Use cases include:

  • Converting project README.md files into formal PDF reports for stakeholders.
  • Archiving web-based documentation or content by fetching URLs and converting them to structured PDFs.
  • Generating styled documentation with custom metadata, table of contents, and specific margin/font configurations.
  • Batch processing markdown drafts into professional handouts or documents for print distribution.

Example Prompts

  1. "Convert my technical_report.md file into a high-quality PDF, and please set the font size to 12pt and margins to 1 inch."
  2. "Take the content from my project documentation folder and generate a professional PDF that includes a table of contents, using my custom report metadata."
  3. "Please convert this markdown draft into a PDF document so I can share it with the team as a formal attachment."

Tips & Limitations

  • Dependency Requirements: PDF output specifically requires a working LaTeX engine installed locally. If you encounter errors, ensure xelatex or pdflatex is available.
  • Metadata Control: You can pass advanced Pandoc flags, such as -M for metadata or --toc for table of contents, directly in your prompts to fine-tune the final document structure.
  • Styling: While simple conversions are effortless, complex styling requires utilizing the --reference-doc or custom template flags for advanced control over typography and layout.
  • File Paths: Ensure the target file exists in the accessible directory context of the agent to avoid file-not-found errors.

Metadata

Stars1217
Views0
Updated2026-02-20
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-piyushduggal-source-pandic-office": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#pandoc#pdf#markdown#conversion#documentation
Safety Score: 4/5

Flags: file-read, file-write, code-execution