Screen recording

From X-School-Academy/skill-pilot · View interactive version

Screen recording is an AI agent skill from the GitHub repository X-School-Academy/skill-pilot. Record the macOS main monitor from CLI only using tmux, ffmpeg, and sox. Use this skill when you need background start/stop recording control without MCP.

How to use this skill

Skill file

AI Builder - Screen Recording

This skill controls a macOS-only screen recorder via CLI. It records the main monitor using ffmpeg and captures audio using sox, both running in tmux sessions.

When to Use This Skill

Your Roles in This Skill

Role Communication

As an expert in your assigned roles, you must announce your actions before performing them using the following format:

As a {Role} [and {Role}, ...], I will {action description}

This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.

Instructions

Follow these steps in order.

Step 1: Verify Environment

Step 2: Start Recording

core/bin/mac-screen-recording start

Optional arguments:

core/bin/mac-screen-recording start --fps 30 --output .skillpilot/temp/screen-recording/my-session.mp4

If ffmpeg device auto-detection fails on your machine, pass the screen device index explicitly:

core/bin/mac-screen-recording start --screen-device-index 1

Step 3: Check Status

core/bin/mac-screen-recording status

Step 4: Stop Recording

core/bin/mac-screen-recording stop

This stops tmux sessions, finalizes media, and writes the final mp4 path in output JSON.

Expected Output

Key Principles

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.