garochee33/dsh/pandoc
Claude Code and agent skill by garochee33/dsh
- community
- ext:[{"type":"template","description":"Custom templates for code generation"}]
Checking that the SKILL.md file is still in the repository.
Universal document conversion with Pandoc. Use when converting between document formats (Markdown, DOCX, HTML, LaTeX, PDF, EPUB, PPTX, reveal.js, CSV, RST, Org), generating polished deliverables from plain text, batch-converting files, applying custom templates or Lua filters, or producing slide decks from Markdown.
Install
npx vskill@latest install garochee33/dsh/pandocSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as garochee33/dsh/pandoc.
Pandoc Skill
Universal document converter — transforms content between 40+ formats while preserving structure, metadata, and styling.
When to Use
- Convert Markdown → DOCX, PDF, HTML, EPUB, PPTX, or slides
- Convert DOCX/HTML → Markdown (for ingestion into repos or KBs)
- Batch-convert multiple files in one pass
- Generate professional reports with custom templates
- Build reveal.js slide decks from Markdown
- Extract structured content from HTML or EPUB
- Apply Lua filters for custom transformations (citation rewriting, heading renumbering, metadata injection)
- Produce camera-ready LaTeX or PDF from Markdown drafts
Core Commands
Workflow
- Identify source and target formats — determine the conversion path.
- Check if extras are needed:
- PDF output → needs a LaTeX engine (
lualatex,xelatex) orwkhtmltopdf - Styled DOCX → use
--reference-doc=reference.docx - Slides → choose
revealjs(HTML) orpptx(PowerPoint) - Citations → use
--citeprocwith a.bibfile
- Run the conversion — use the simplest command that achieves the goal.
- Verify output:
- For DOCX/PPTX: open or use the
doc/pptxskill for visual QA - For PDF: use the
pdfskill to render pages and inspect - For HTML: open in browser or use
agent-browserskill
- Iterate — adjust metadata, templates, or filters as needed.
- Clean up — remove intermediate files.
Key Options
| Flag | Purpose | |
|---|---|---|
-f FORMAT | Input format (auto-detected from extension if omitted) | |
-t FORMAT | Output format (auto-detected from extension if omitted) | |
-s / --standalone | Produce complete document (not fragment) | |
--template=FILE | Custom template for output | |
--reference-doc=FILE | Style reference for DOCX/PPTX output | |
--pdf-engine=ENGINE | PDF engine: lualatex, xelatex, wkhtmltopdf, weasyprint | |
--toc | Generate table of contents | |
--number-sections | Number headings | |
--metadata KEY=VAL | Set metadata (title, author, date) | |
--lua-filter=FILE | Apply Lua filter for custom transforms | |
--citeproc | Process citations from bibliography | |
--bibliography=FILE | BibTeX/CSL JSON bibliography | |
--highlight-style=STYLE | Code syntax highlighting theme | |
--columns=N | Line wrap width for plain text output | |
--wrap=none | No line wrapping (useful for Markdown output) | |
--extract-media=DIR | Extract images to directory |
YAML Metadata Block
Place at the top of Markdown files for rich output:
Lua Filters (Advanced)
Pandoc supports Lua scripting for custom transformations. Save as .lua:
Use with: pandoc input.md --lua-filter=uppercase-headings.lua -o output.docx
Temp and Output Conventions
- Intermediate files:
tmp/pandoc/— delete when done - Final deliverables:
output/pandoc/or alongside source file - Templates: store in
~/.pandoc/templates/or project-localtemplates/ - Lua filters: store in
~/.pandoc/filters/or project-localfilters/
Dependencies
Pandoc is installed via the system package manager (brew install pandoc on macOS, apt install pandoc on Linux).
For PDF output, one of:
Format Quick Reference
| Input | Best Output Targets | |
|---|---|---|
| Markdown | docx, pdf, html, epub, pptx, revealjs, latex | |
| DOCX | markdown, html, plain | |
| HTML | markdown, docx, epub, pdf | |
| LaTeX | pdf, html, docx | |
| CSV | html (tables), markdown | |
| EPUB | markdown, html, docx | |
| Org-mode | markdown, html, docx, pdf | |
| RST | markdown, html, docx, pdf |
Integration with Other Skills
- doc/docx skill — use pandoc to generate DOCX, then
docskill for visual QA - pdf skill — use pandoc for PDF generation, then
pdfskill to render and verify - pptx skill — use pandoc for slide generation, then
pptxskill for refinement - deep-research — convert research outputs to polished deliverables
- hyperframes — convert Markdown scripts to HTML for video compositions
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
- SKILL.md in the repositoryCheckingagents/skills/pandoc/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 0
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
[](https://verified-skill.com/skills/garochee33/dsh/pandoc)