modbender/skill-library-mcp/pandic-office

Claude Code and agent skill by modbender/skill-library-mcp

Trust tier 3
  • community
  • ext:[{"type":"template","description":"Custom templates for code generation"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install modbender/skill-library-mcp/pandic-office

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as modbender/skill-library-mcp/pandic-office.

Local Pandoc Conversion Skill

This skill uses the pandoc command-line utility to convert documents between numerous markup formats.

Basic Usage

The fundamental structure of a pandoc command is:

bash
pandoc [options] [input-file]…
Simple Conversion

To convert a Markdown file to HTML:

bash
pandoc -o output.html input.md
Specifying Formats

While pandoc can infer formats from file extensions, you can be explicit with the -f (from) and -t (to) flags.

bash
# Convert HTML to Markdown
pandoc -f html -t markdown input.html
Standalone Documents

To create a complete document with a proper header and footer (e.g., a full HTML file), use the -s or --standalone flag.

bash
pandoc -s -o output.html input.md

Advanced Examples

The following examples are extracted from the official Pandoc User's Guide.

PDF Output

To create a PDF, pandoc typically uses a LaTeX engine. Ensure one is installed.

bash
# Basic PDF creation
pandoc input.md -o output.pdf
# Control PDF engine and style via variables
pandoc input.md -o output.pdf --pdf-engine=xelatex -V geometry:margin=1in -V fontsize=12pt
Document Structure & Metadata

Pandoc can automatically generate a table of contents and use document metadata.

bash
# Create a document with a Table of Contents (up to level 3 headings)
pandoc --toc --toc-depth=3 -o output.docx input.md
# Set metadata fields from the command line
pandoc -M title:"My Report" -M author:"Galactus" -o output.pdf input.md
Templates and Styling

You can control the final output's structure and style with templates and other options.

bash
# Use a custom template for HTML output
pandoc -s --template=my-template.html -o output.html input.md
# For HTML output, link to a custom CSS file
pandoc -s --css=styles.css -o output.html input.md
# For DOCX output, use a reference document for styling
pandoc --reference-doc=reference.docx -o output.docx input.md
Reading from the Web

Pandoc can directly fetch and convert content from a URL.

bash
pandoc -f html -t markdown https://www.fsf.org
Other Useful Options
bash
# Preserve tabs instead of converting them to spaces
pandoc --preserve-tabs ...
# Control line wrapping in the output source code
pandoc --wrap=none ...
# Shift heading levels (e.g., make all H1s into H2s, H2s into H3s)
pandoc --shift-heading-level-by=1 ...

This enhanced documentation provides a more robust foundation for using pandoc.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
16
Repository forks
4
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • templateCustom templates for code generation

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/modbender/skill-library-mcp/pandic-office/badge)](https://verified-skill.com/skills/modbender/skill-library-mcp/pandic-office)

Something wrong with this skill or its page? Tell us.