Convert files with Claude Code
Claude Code can already read and write your project. With TeraConvert connected it can also turn a folder of HEICs into JPGs or a screen recording into an MP4, on your Mac.
> Convert every PNG in ./screenshots to WebP
teraconvert_convert
{ "path": "/Users/you/site/screenshots/home.png", "to": "webp" }
Done. home.webp is saved next to home.png. The original is untouched.


- Files stay on your Mac
- No API key
- Part of Pro, one payment
How to connect Claude Code to TeraConvert
One click in the Mac app's settings. Shown here in TeraConvert on macOS.
Step 1
Get TeraConvert Pro on your Mac
Download TeraConvert and sign in with Pro. AI agents are part of Pro, and the switch for them is already on.
You find it in Settings > AI agents. Turn it off and no AI app can convert anything.

Step 2
Click Connect beside Claude Code
Settings lists every file Connect will change before you click it. For Claude Code, that is:
- Adds the teraconvert server to ~/.claude.json
- Adds the TeraConvert skill to ~/.claude/skills/teraconvert
- Lets Claude Code's sandbox reach TeraConvert, in ~/.claude/settings.json
Disconnect takes out exactly that, and nothing else.

Step 3
Ask in plain words
Ask Claude Code the way you would ask a person: “Convert every PNG in ./screenshots to WebP.” It checks what the file really is, then asks TeraConvert to convert it.
A card appears on your Mac while it runs, naming the app that asked, with a button to cancel.

Step 4
The new file is next to the original
The AI app gets the path of the new file and tells you where it is. Show in Finder on the card opens the folder.
Nothing is overwritten. If the name is taken, the new file becomes name_1.

How Claude Code reaches TeraConvert
Claude Code gets three things: the MCP server, a skill that teaches it when and how to convert, and one line in its sandbox settings. Claude Code's sandbox blocks local sockets by default, so without that line every conversion would be refused.
The line names exactly one socket, TeraConvert's. Nothing else on your Mac is opened up, and Disconnect takes the line out again.
The skill also knows the teraconvert command, so in a session where MCP tools are off Claude Code can still run it in the terminal. It reads the JSON result rather than guessing.
Things to ask Claude Code
Assets for a website
"Convert every PNG in ./public/screens to WebP." One conversion per file, each saved beside the PNG.
A clip for the README
"Cut 0:12 to 0:40 out of demo.mov as an MP4." Trim takes start and end in seconds.
Smaller images under a size
"Make hero.jpg under 300 KB." TeraConvert re-encodes until it fits.
Docs to PDF
"Turn spec.docx into a PDF next to it." Useful at the end of a release script.
Questions
Why does Connect change my Claude Code sandbox settings?
Claude Code's sandbox blocks Unix sockets unless you allow them, and TeraConvert listens on one. Connect adds that one socket to the allow-list and nothing else. Settings shows the exact file before you click.
Can Claude Code overwrite my files with it?
No. Every conversion writes a new file. If the name is taken it becomes name_1, and the original is never changed or deleted.
Can I use the command without Claude Code?
Yes. Settings > AI agents can link teraconvert into ~/.local/bin, and teraconvert convert photo.heic --to jpg works in any terminal. It needs Pro like everything else here.
Is my file uploaded?
No. TeraConvert converts it on your Mac. The AI app sends TeraConvert a path and gets the new file's path back. The model sees those paths, file names included, and whatever you typed, but TeraConvert never hands it the file.
Do I need an API key?
No. TeraConvert never calls an AI service. Your AI app calls TeraConvert, with the sign-in it already has.
Is it free?
No, AI agents are part of Pro, a one-time purchase with a 14-day money-back guarantee. The free conversion in the Mac app is for a file you pick yourself; an agent never spends it.
Can an agent overwrite or delete my files?
No. Every conversion is a new file next to the original. A taken name becomes name_1, and nothing is ever replaced or deleted.
How do I know what an agent converted?
A card appears on screen for every conversion, naming the app that asked, with a button to cancel it. Settings > AI agents lists the recent ones until TeraConvert quits.
Does TeraConvert have to be open?
No. If it is not running, the first request starts it in the background, without opening a window.
How do I turn it off?
Switch off Let AI agents convert files in Settings > AI agents, or click Disconnect beside one app. Disconnect removes exactly what Connect added and nothing else.
The same converter, without an AI app
Drop a file in the window, pick a format from the wheel mid-drag, or rename it in Finder. Photos, video, audio and documents, all on your Mac.