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 $0.00067 $0.00893
Sonnet 5 $0.00027 $0.00357
Haiku 4.5 $0.00013 $0.00179

Measured 10d ago against content hash c75fa6bc62ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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. 10d 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 (148 stars, last pushed today), licensed MIT. It adds 134 tokens to every session and 1,786 once invoked, about $0.0007 per session on Opus 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

Other skills, from other repositories

superdesign

Design or redesign frontend UI, presentations, and graphics on the Superdesign canvas with a choice of leading AI models. Use whenever the user wants to design a page, feature, flow, slide deck, or brand-new product; improve or reproduce existing UI; compare design results across top models; explore visual variants…

superdesigndev/superdesign-skill · 115 tokens

deck-studio

A Chinese-language workflow for producing presentation decks, slide outlines, speaker notes, visual page drafts, and infographics.

staruhub/ClaudeSkills · 219 tokens

gpt-image2-ppt

A tool for creating presentation slides as high-resolution images and packaging them into a 16:9 PowerPoint file. It turns a Markdown outline or slide plan into a styled deck using OpenAI image generation.

JuneYaooo/gpt-image2-ppt-skills · 112 tokens

presentations

Use when creating or editing slide decks (.pptx). Covers slide structure, using layouts and templates correctly, charts and images, speaker notes, and building a deck that communicates rather than decorates.

nimadorostkar/Claude-Skills-collection · 42 tokens

ppt-roadshow-generator

A tool that turns documents into complete roadshow videos for product launches or company presentations. The videos can include voice-over, subtitles, and transition animations across 15 to 100 pages.

anbeime/skill · 75 tokens

kelly-ppt-factory

A project workspace for producing many PowerPoint presentations with a consistent visual style. It plans slides as reviewable cards, generates PPTX files, and renders them for quality checks.

mr-kelly/skills · 117 tokens