Converter
БесплатноЗапускает вложенные скриптыНе проверенConverts a file into another format, size or form and checks the result: video and audio (play on a phone or TV, compress to a size, cut, join, GIF, extract…
от geragarazagh168 установок в других каталогахОб этом скилле
Converter
Answer in the language of the person's message (a request in Russian gets the whole answer in Russian), briefly. When the request names a file and what it should become, start at once and ask nothing.
A conversion is done only by running a program on the person's own file. If you cannot run commands or code on that file here, say so in one sentence, say that the skill works in an assistant that runs commands on the person's computer, and stop. Never make the result with an image or text generator, never redraw, retype or retell the content instead: that is a new picture or text, not the person's file converted.
Turn a file into the form the person needs with free command-line tools, then
check the result before saying it is done. scripts/av.py does the fragile
video decisions; everything else is one command from the lists below.
scripts/av.py lives in this skill's own folder, the folder that holds this
file, not in the person's folder. Call it by its full path, for example
python3 /path/to/converter/scripts/av.py info video.mkv; below it is written
short as av.py. It needs Python 3 and ffmpeg. Some copies of this skill
come without the script (directories that accept text only): then do the
same with the ffprobe and ffmpeg commands in «Video without av.py».
Where the result goes
- On the person's computer: next to the original, under a new name, unless they said otherwise.
- In a chat app's sandbox (the file was uploaded; the person's disk is out of reach): give the result as a file to download. Do not ask where to save it.
Ask only when the request leaves the file or the target unclear (a bare «/converter», «make it better»): one short question, in the person's language. Keep what they answer for the rest of the conversation; store it nowhere else unless the person asks.
Every job
- Find the input file: in the current folder first; if it is not there, ask for its path rather than search the whole disk. Never change, move or overwrite it, even when the request says «fix this file» or «make it searchable»: the result is always a new file beside it.
- Look at it first. Media:
av.py info FILE. Anything else:file FILE; PDF:pdfinfo FILE. - Pick the tool from the table. Copy instead of re-encoding whenever the target format allows it: copying is fast and loses nothing.
- Write a new file: the same name with the new extension. If that name is taken, add « (2)», « (3)» before the extension.
- Check the result (section «Check»). Fix and check again until it passes.
- Delete the temporary files you made (test frames, copies, logs).
- Report in two or three lines: where the file is, its size, what changed, and anything that was lost or dropped.
A request with two possible readings: take the likelier one and say which in one line. Ask only what changes the result and cannot be guessed.
Usual meanings:
- «for a phone», «won't play», «for the TV», «for the web»: an mp4 that plays
everywhere,
av.py play. - «for email»: under 25 MB. «for a messenger»: ask the limit if the file is large; many accept up to 2 GB.
- «smaller», «compress»: keep the format and lower the quality a little; give the old and new sizes.
Tools
| Files | Tool | Check that it is there |
|---|---|---|
| video, audio, subtitles, GIF | ffmpeg | ffmpeg -version |
| photos and pictures | ImageMagick 7 | magick -version |
| SVG to picture | resvg | resvg --version |
| qpdf, poppler, Ghostscript, img2pdf, ocrmypdf | qpdf --version, pdfinfo -v, gs -v |
|
| DjVu | djvulibre | ddjvu --help |
| Word, Excel, PowerPoint, OpenDocument | LibreOffice | soffice --version |
| Markdown, HTML, docx, epub | pandoc | pandoc --version |
| e-books (fb2, epub, mobi, azw3) | calibre | ebook-convert --version |
| archives (zip, 7z, rar, iso) | 7-Zip | 7zz or 7z |
| text encodings | uchardet, iconv | uchardet --version |
| json, yaml, xml, csv | yq (mikefarah, v4) | yq --version |
When a tool is missing on the person's computer, name it, give the install
command for this system and wait. Install only after the person agrees. In
a chat app's sandbox, which is thrown away with the chat, install what the
job needs (pip install …) without asking, and say in the report what was
installed.
- macOS (Homebrew):
brew install ffmpeg imagemagick resvg qpdf poppler ghostscript img2pdf ocrmypdf tesseract-lang djvulibre pandoc sevenzip uchardet yq exiftoolandbrew install --cask libreoffice calibre - Debian, Ubuntu:
sudo apt install ffmpeg imagemagick resvg qpdf poppler-utils ghostscript img2pdf ocrmypdf tesseract-ocr-all djvulibre-bin pandoc 7zip uchardet libimage-exiftool-perl libreoffice calibre(yq: the binary from github.com/mikefarah/yq) - Windows:
winget install Gyan.FFmpeg ImageMagick.ImageMagick JohnMacFarlane.Pandoc 7zip.7zip TheDocumentFoundation.LibreOffice calibre.calibre MikeFarah.yq
In a chat app with code execution, work on the uploaded file i
Установить Converter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Converter?
Converts a file into another format, size or form and checks the result: video and audio (play on a phone or TV, compress to a size, cut, join, GIF, extract sound), photos (HEIC to JPEG), PDF (merge, split, compress, OCR to searchable), DjVu, Word, Excel and PowerPoint to PDF, e-books, archives, subtitles, garbled letters and wrong text encodings, JSON, YAML, CSV. Use whenever a file has to become another file or be fixed.
Как установить скилл Converter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Converter запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic