sonichi / screen-record
Start or stop a screen recording of the Mac via ffmpeg. Use when the user asks to record/capture their screen to a video file (a demo, a repro, a walkthrough) — not for a single still screenshot (use macos-tools screen capture for that).
0
SKILL.md1.7 KB
Screen Record
Start and stop screen recording using ffmpeg.
Usage: /screen-record start or /screen-record stop
When to use
The user asks to record the screen to a video over time (demo, bug repro,
walkthrough). For a single still frame, use the screen-capture path instead.
On activation
If argument is start:
python3 skills/screen-record/scripts/record.py startIf argument is stop:
python3 skills/screen-record/scripts/record.py stopOutput & failure modes
- Done = a
.movwritten byrecord.pyto/tmp/sutando-recording-<ts>.mov(it prints the path on stop). startwhile already recording → the script no-ops and returns the existing pid + path; a stale PID file (previous run crashed) is detected and cleared, so it self-heals rather than wedging;stopwith nothing running → no-op.- ffmpeg missing at
/opt/homebrew/bin/ffmpeg(hardcoded in three places —record.py:59device-listing,:152the recording call,:204the audio check. Apple Silicon brew prefix; on an Intel Macbrew install ffmpeglands in/usr/localand the skill stays broken until all three are fixed — patching only the recording call still fails at device-listing before recording starts). No frames / black video → the invoking terminal lacks macOS Screen Recording permission (same grant the screen-capture server uses).