format-converter

format-converter is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 103 tokens per session (2,325 once invoked), scanned B, original, Apache-2.0.

A file-format conversion tool for documents, images, audio, and video, including batch conversion of directories. It checks for required tools such as Pandoc, Pillow, or FFmpeg before starting.

In plain words
What is it for?
Use it to convert documents, resize or change image quality, transcode media, or convert many files to one target format.
Why use it?
Converting different kinds of files normally requires several separate programs and can fail when one is missing. This tool identifies the missing dependency and gives an installation command instead of producing an incomplete result.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # python3 scripts/convert.py doc report.md report.docx.

Good fit Use it to convert documents, resize or change image quality, transcode media, or convert many files to one target format.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/format-converter

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 format-converter

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/format-converter/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/format-converter)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/format-converter"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/format-converter/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 format-converter

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/format-converter"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/format-converter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00103 $0.02325
Opus 5.5 $0.00041 $0.00930
Sonnet 5.5 $0.00021 $0.00465
Haiku 4.5 $0.00010 $0.00232

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

Security

Grade B, and why

format-converter scanned grade B with 1 finding 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 2mo ago.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

rerun (Mac: `brew install pandoc`, Debian/Ubuntu: `sudo apt-get install pandoc`,
site/skills/tools/format-converter/SKILL.md · 193 lines

How it starts

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

Format Converter (Unified Format Conversion Entry)

Solves "this file I have needs to become another format"—three pipelines (document/image/audio-video) collapsed into one command.

Core judgment: probe dependencies first, then convert. Three pipelines each depend on external tools (pandoc / Pillow / ffmpeg); missing any yields only a command not found—so before each subcommand runs, find the binary or library; when missing, print the exact install command for the current OS and exit with code 4. Never ship a half-done product pretending it succeeded.

Input Checklist

Input Required Notes
Input file / directory yes doc/image/media take two positional args <in> <out>; batch takes one directory
Target format yes Inferred from output extension (.docx/.jpg/.mp4…); batch uses --to <ext>
--width / --quality no Image only: proportional scale width, JPEG/WebP quality 1-100
--vcodec / --acodec no Media only: e.g. libx264 / aac
--yes no batch defaults to dry-run; must add to write to disk

When inputs are missing, ask all at once: "Please provide: 1) source file or directory path; 2) target format; 3) whether to limit width/lower quality for images; 4) whether batch (if so, see dry-run first). Defaults: single file converts directly, batch previews first."

Pre-flight Checks

python3 --version                                        # expected >= 3.8
test -f scripts/convert.py && echo SCRIPT_OK             # expected prints SCRIPT_OK
python3 -c "import PIL; print('PIL_OK', PIL.__version__)" 2>/dev/null || echo "PIL missing: pip3 install pillow"
command -v pandoc || echo "pandoc missing: only doc subcommand affected"
command -v ffmpeg || echo "ffmpeg missing: only media subcommand affected"

Three external dependencies are checked on demand: converting images only doesn't need pandoc/ffmpeg; script enforces this logic.

Workflow

Step 1: Determine Which Pipeline

Read the full file on GitHub · 193 lines

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. 2mo ago Changed · +30 lines · -13 tokens per session 7e68e61adce8
  2. 2mo ago Changed f8fa072c727b
  3. 2mo ago First seen · 163 lines · 116 tokens per session scan B e4d9c04c14aa

Subscribe to this mod's changes

format-converter is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 2,325 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.

Related

format-converter compared with skills from other repositories

format-converter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
format-converterMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0B103Claude Code, Codex
pdfmudler/LocalAISkill51ktodayMITA35Claude Code, Codex
pdf-toolkitopensquilla/opensquillaSkill7.2k4d agoApache-2.0A127Claude Code, Codex
extracting-lab-tablesmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A210Claude Code
figuressynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A99Claude Code
liteparsesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A49Claude Code, Codex
any-to-pdfcosmicstack-labs/mercury-agentSkill4.1ktodayMITA66Claude Code, Codex