converting-files

Solid

Convert a file from one format to another inside the container — documents, images, audio, video. Routes to the right engine (pandoc, LibreOffice, ImageMagick, ffmpeg) by format pair. Triggers on "convert X to Y", "turn this docx into a pdf", "make a gif from this mp4", "md to docx", "batch-convert these images", or any single-file or batch format change where the source and target extensions differ. NOT for editing content (use docx/pptx/xlsx/pdf skills), creating files from scratch, or reading a file you already have in context.

Data & Documents 148 stars 5 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# converting-files Four conversion engines are already in this container — `pandoc`, `libreoffice` (headless), ImageMagick's `convert`, and `ffmpeg`. The hard part isn't running them; it's picking the right one. pandoc mangles a real `.docx` into PDF; LibreOffice is the tool for that. pandoc is *better* than LibreOffice for `md → docx`. Neither touches `mp4 → gif`. This skill encodes that routing so the choice isn't re-derived (often wrongly) each time. `scripts/convert.py` is a dispatcher over those four binaries, not a new engine. Use it for the common cases; drop to the raw engine when you need flags it doesn't pass through. ## Is this the right skill? | You want to… | Use instead | | --- | --- | | Change a file's **format** (ext A → ext B) | **this skill** | | Edit/author a Word/PPT/Excel/PDF's **content** | `docx` / `pptx` / `xlsx` / `pdf` skills | | Read a file already shown in context | just read it — no conversion | | Extract text/tables *from* a PDF | `pdf-reading` skill | | Fill or merge PDFs | `pdf` skill | Format change = here. Content change = a content skill. A `docx → pdf` is a format change; "fix the grammar in this docx" is not. ## Engine routing (the actual content of this skill) Source family → target family decides the engine. The dispatcher applies this; the table is here so the reasoning is auditable and so you can call the engine directly when needed. | From → To | Engine | Why | | --- | --- | --- | | markup → markup (md, html, rst, latex, org, ...

Details

Author
oaustegard
Repository
oaustegard/claude-skills
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

file-converter

Convert & transform files - images (resize, format, HEIC), markdown (PDF/HTML), data (CSV/JSON/YAML/TOML/XML), SVG, base64, text encoding. Cross-platform, single & batch mode. This skill should be used when converting file formats, resizing images, generating PDFs from markdown, or transforming data between formats.

28 Updated 1 months ago
georgekhananaev
Data & Documents Listed

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW) into structured agent skills, extracting frameworks, mental models, principles, techniques, and anti-patterns. Use when the user wants to study a document through an agent, apply an author's frameworks while working, or build a reusable knowledge base from a file.

3 Updated 3 weeks ago
JZKK720
Data & Documents Listed

markdown-to-docx

Use this skill whenever the user wants to convert a Markdown file to a Word document (.docx). Triggers include: 'convert markdown to Word', 'convert .md to .docx', 'render mermaid to Word', 'generate Word doc from markdown', 'export markdown as docx', or any request to turn a .md file into a .docx. Use this skill even if the user just says 'make a Word doc from this markdown' or 'convert this to Word'. This skill handles: (1) native Word TOC placed after the document header block (H1 title + metadata + '---' separator), (2) Mermaid diagram blocks rendered to high-resolution PNG and embedded as images, and (3) tables formatted with colored header rows, alternating row shading, and borders. Do NOT use for PDFs, Google Docs, spreadsheets, or general DOCX editing unrelated to Markdown conversion.

0 Updated 1 weeks ago
desmondc9