file-conversion
Skill by wshobson
Converts local image, audio, video, document, and data files between formats using tools already installed on the user's machine. It keeps originals, verifies the output, and never sends files to online conversion services. Built for users who need local, checkable file conversions.
Install file-conversion
Built from the published package, never by AI.
git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/plugins/file-conversion/skills/file-conversion ~/.claude/skills/file-conversionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents/plugins/file-conversion/skills/file-conversion ~/.gemini/antigravity-cli/skills/file-conversionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The file-conversion skill lets an AI assistant convert a local file between common image, audio, video, document, and data formats. It uses tools already installed on the user's computer, such as FFmpeg, ImageMagick, Pandoc, LibreOffice, and Python 3, and it never sends files or URLs to conversion APIs, conversion MCP services, or upload endpoints. It inspects the actual input format and checks that a tool supports the route before converting.
The skill never overwrites the input or an existing result. Each attempt writes to a fresh output directory, and batches keep an input-to-output mapping. Outputs are checked by reopening them with a reader for the target format and comparing details such as streams, dimensions, page counts, rows, and field names. It suits people who need offline, verifiable conversions of files on their own machine.
Written from the project's SKILL.md and checked against it.
What it can do
- Input inspectionConfirms the real input format and size before choosing a conversion route.
- Tool selectionFinds installed converters and picks the smallest suitable route for the request.
- Audio and videoUses FFmpeg and FFprobe for container and codec changes with explicit stream selection.
- Image conversionUses ImageMagick for format changes, checking alpha, orientation, and frame count.
- Document conversionUses Pandoc for structured text and LibreOffice for Office documents to PDF.
- Data conversionUses the Python 3 standard library to convert CSV to JSON with schema checks.
- Output verificationReopens outputs and compares dimensions, page counts, rows, or streams with the source.
- Original preservationNever overwrites inputs and keeps a mapping of inputs to outputs for batch jobs.
What you need
- Python 3
- FFmpeg and FFprobe for audio and video routes
- ImageMagick (magick) for image routes
- Pandoc for Markdown and DOCX routes
- LibreOffice (soffice) for Office to PDF routes
- POSIX shell or PowerShell
Try asking
- Convert this MP4 video to an MP3 audio file
- Turn this PNG image into a JPEG with a white background
- Convert this CSV file to JSON and check the row count
Good to know
- PDF to editable Word is not a general lossless conversion.
- Scanned PDFs need local OCR tooling before text extraction.
- Encrypted or damaged inputs are not supported; the skill stops instead.
- Headless LibreOffice does not block network access or macros by itself.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/file-conversion/skills/file-conversion/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to file-conversion
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
file-conversion: common questions
Does file-conversion send my files to online converters?
No. The source says files and their URLs are never sent to conversion APIs, conversion MCP services, or upload endpoints.
Will it overwrite my original file?
No. The skill never overwrites the input or an existing result and writes each attempt to a fresh directory.
What happens with a scanned PDF?
Scanned PDFs need local OCR tooling before text extraction, and layout reconstruction still needs review.
How do I install file-conversion?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is file-conversion free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is file-conversion safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to file-conversion?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
