Claude Code skills and the command line
Run every tool from Claude Code or Terminal, so edits fit into your own workflow.
Every tool is also a Claude Code skill. Open Claude Code in the yatri-studio folder and ask in plain words, for example "make 5 shorts from ~/Movies/podcast.mp4". Claude picks the right skill, runs it, and tells you where the files are.
The skills
| Skill | Does |
|---|---|
yatri-studio |
Reads your request and picks the tool itself |
yatri-reel-recreate |
Reel Recreate from a link |
yatri-smart-clean |
Removes silences |
yatri-smart-edit |
Orders clips by meaning |
yatri-captions |
Burns in captions |
yatri-match-cut |
Finds match cuts |
yatri-split-shots |
Splits a reel into separate shot files |
yatri-multi-angle |
Turns one shot into wide, medium and close-up angles |
yatri-hook-doctor |
Scores the first 3 seconds and suggests better hooks |
yatri-shorts |
Makes shorts from a long video |
yatri-template |
Applies a saved template |
yatri-post-caption |
Writes an Instagram caption |
yatri-humanize |
Humanizes text |
They live in .claude/skills/. Each one checks the studio is running, starts it if needed, runs the tool and reports the results.
The command line
The skills call scripts/studio.mjs, which you can also run yourself. The studio must be running (npm run dev).
# see every tool and option
node scripts/studio.mjs tools
# check what's installed
node scripts/studio.mjs status
# let the editor decide
node scripts/studio.mjs auto "make 5 shorts" --clip ~/Movies/talk.mp4
# run a tool directly
node scripts/studio.mjs smart-clean --clip a.mp4 --clip b.mp4 --set format=9:16
node scripts/studio.mjs auto-captions --clip talk.mp4 --set typography=4
node scripts/studio.mjs reel-recreate --url https://www.instagram.com/reel/XXXX/ --clip mine.mp4
node scripts/studio.mjs humanize --text "Text to clean up"
Progress prints as it goes. The final result prints as JSON with full file paths:
{
"status": "done",
"text": "Removed 9.0s of silence (34%).",
"video": ".../.studio/jobs/626db78da95d/clean.mp4",
"exports": {
"premiere": ".../timeline.premiere.xml",
"resolve": ".../timeline.resolve.fcpxml",
"fcp": ".../timeline.fcpxml"
}
}
Add --json to print only the JSON, which is handy in scripts. Use --model ollama:llama3.1 to switch models for one run.
Batch example
Caption every video in a folder:
for f in ~/Movies/to-caption/*.mp4; do
node scripts/studio.mjs auto-captions --clip "$f" --set typography=1 --json
done