converting-files

converting-files is a skill for Claude Code, Codex from oaustegard/claude-skills. It costs 134 tokens per session (1,786 once invoked), scanned A, original, MIT.

A file-format conversion tool that chooses between command-line programs such as Pandoc, LibreOffice, ImageMagick, and FFmpeg.

In plain words
What is it for?
Use it to convert documents, images, audio, or video, such as Markdown to DOCX, DOCX to PDF, or MP4 to GIF.
Why use it?
It removes the need to know which conversion program works best for each pair of input and output formats.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to convert documents, images, audio, or video, such as Markdown to DOCX, DOCX to PDF, or MP4 to GIF.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oaustegard/claude-skills/converting-files
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oaustegard/claude-skills --skill converting-files
Clone the repo
git clone --depth 1 https://github.com/oaustegard/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for converting-files

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaustegard/claude-skills/converting-files/github.svg)](https://agentmods.dev/skills/oaustegard/claude-skills/converting-files)
Your own site
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/converting-files"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/converting-files/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for converting-files

Your own site · 80×15
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/converting-files"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/converting-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.01786
Opus 5.5 $0.00054 $0.00714
Sonnet 5.5 $0.00027 $0.00357
Haiku 4.5 $0.00013 $0.00179

Measured 3mo ago against content hash c75fa6bc62ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

converting-files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/convert.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

converting-files/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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, epub, rtf, ipynb…) pandoc what it's built for
markup → Office (md → docx/pptx/odt) pandoc cleaner than LibreOffice from markup
Office → markup (docx/odt/pptx → md/html…) pandoc reads modern OOXML well
Office → PDF (docx/pptx/xlsx → pdf) LibreOffice preserves layout; pandoc mangles it
Office ↔ Office, or legacy (.doc/.ppt/.xls) anything LibreOffice pandoc can't read legacy binary formats at all
markup → PDF (md → pdf) pandoc (+pdflatex/xelatex) lighter than LibreOffice for plain markup
image ↔ image (png, jpg, gif, webp, tiff, heic, svg…) ImageMagick convert in out
image → PDF ImageMagick
audio ↔ audio (mp3, wav, flac, ogg, aac, m4a, opus…) ffmpeg
video ↔ video, mp4 → gif, gif → mp4 ffmpeg gif-from-video is an ffmpeg job, not ImageMagick

Read the full file on GitHub · 124 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 124 lines · 134 tokens per session scan A c75fa6bc62ed

Subscribe to this mod's changes

converting-files is a skill published in the GitHub repository oaustegard/claude-skills (423 stars, last pushed today), licensed MIT. It adds 134 tokens to every session and 1,786 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

converting-files compared with skills from other repositories

converting-files next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
converting-filesoaustegard/claude-skillsSkill423todayMITA134Claude Code, Codex
claude-studentsjosuebustosn/claude-studentsSkill26mo agoMITA234Claude Code, Codex
pydicomK-Dense-AI/scientific-agent-skillsSkill59ktodayMITA52Claude Code, Codex
venue-templatesK-Dense-AI/scientific-agent-skillsSkill59ktodayMITA57Claude Code, Codex
agency-docs-updaterglebis/claude-skillsSkill417todayMITA0Claude Code
sync-submissionAperivue/medsci-skillsSkill410todayMITA51Claude Code
coaching-session-summarizerglebis/claude-skillsSkill417todayMITA72Claude Code, Codex