setup
Installation
SKILL.md
Skill: Mac Setup
Sets up a Mac for ButterCut. Two installation paths available based on user preference.
Step 1: Check Current State
Run each check below. Each command exits 0 when the dependency is present. Note which ones fail — that's what setup needs to install.
- Xcode CLI Tools —
xcode-select -p(fix:xcode-select --install) - Homebrew —
which brew(fix: see https://brew.sh) - Ruby 3.3.x —
ruby --version | grep -q 'ruby 3\.3'(fix: install Ruby 3.3.6, see.ruby-version) - Bundler —
which bundle(fix:gem install bundler) - Python 3.12.x —
python3 --version | grep -q 'Python 3\.12'(fix: install Python 3.12.8, see.python-version) - FFmpeg —
which ffmpeg(fix: see FFmpeg install in the setup file below — must be thehomebrew-ffmpeg/ffmpegtap build) - FFmpeg drawtext filter —
ffmpeg -hide_banner -filters 2>/dev/null | grep -q ' drawtext '(fix: the stockbrew install ffmpegformula often omits drawtext; replace it with thehomebrew-ffmpeg/ffmpegtap build — see setup file) - WhisperX —
which whisperx || test -x ~/.buttercut/whisperx || test -x ~/.buttercut/venv/bin/whisperx(fix: see setup steps below) - Gems installed —
bundle check(fix:bundle installin buttercut directory)
If everything passes, tell the user they're ready to go and stop.