add-listen-hotkeylisted
Install: claude install-skill sliamh11/Deus
# /add-listen-hotkey
Install a global hotkey that triggers `deus listen` from anywhere on the OS.
Also installs all required dependencies (sox, whisper-cli) and downloads the whisper model.
## Step 1 — Install dependencies and whisper model
Run these checks and installs **before** asking the user about hotkey preferences.
### Dependencies
**macOS:**
```bash
# Check sox
command -v sox || brew install sox
# Check whisper-cli (from whisper-cpp)
command -v whisper-cli || brew install whisper-cpp
```
**Linux:**
```bash
# Check sox
command -v sox || sudo apt install -y sox libsox-fmt-all
# Check whisper-cli — not in apt, build from source if missing
if ! command -v whisper-cli; then
echo "whisper-cli not found. Build from: https://github.com/ggerganov/whisper.cpp"
echo "After building, ensure 'whisper-cli' is on your PATH."
# Pause and ask user to confirm before continuing
fi
```
**Windows:**
```powershell
# Check sox
if (-not (Get-Command sox -ErrorAction SilentlyContinue)) {
winget install sharkdp.bat # or: choco install sox.portable
}
# Check whisper-cli
if (-not (Get-Command whisper-cli -ErrorAction SilentlyContinue)) {
Write-Host "Download whisper-cli from: https://github.com/ggerganov/whisper.cpp/releases"
Write-Host "Add it to your PATH, then re-run this skill."
# Stop and wait for user
}
```
### Whisper model
Resolve the model path from `WHISPER_MODEL` env var, or default to
`~/deus/data/models/ggml-large-v3-turbo.bin` (Liam's personal config) or