一键导入
add-listen-hotkey
Install a global hotkey that triggers `deus listen` from anywhere on the OS. Also installs sox, whisper-cli, and a whisper model.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install a global hotkey that triggers `deus listen` from anywhere on the OS. Also installs sox, whisper-cli, and a whisper model.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Save this session to the vault and update the semantic memory index
Capture a repeatable task procedure from the just-completed work as a durable, queryable memory node, so the steps are recalled automatically next time instead of re-derived. Triggers on "learn this procedure", "remember how to do this", "save this as a procedure", "/learn-procedure".
Add Asana project management MCP integration to Deus. Gives host-side Claude Code sessions read/write access to Asana tasks, projects, sections, and tags via @roychri/mcp-server-asana.
[DEPRECATED] Replaced by scripts/code_search.py (native sqlite-vec + Ollama). Do not use.
Add OpenAI/Codex as a backend. Guides through API key setup, service backend configuration, optional CLI setup, and verification. Can run alongside Claude (default) or replace it.
Add /compact command for manual context compaction. Solves context rot in long sessions by forwarding the SDK's built-in /compact slash command. Main-group or trusted sender only.
| name | add-listen-hotkey |
| description | Install a global hotkey that triggers `deus listen` from anywhere on the OS. Also installs sox, whisper-cli, and a whisper model. |
| disable-model-invocation | true |
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.
Run these checks and installs before asking the user about hotkey preferences.
macOS:
# Check sox
command -v sox || brew install sox
# Check whisper-cli (from whisper-cpp)
command -v whisper-cli || brew install whisper-cpp
Linux:
# 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:
# 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
}
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
~/deus/data/models/ggml-base.bin (public default).
If the model file doesn't exist, download it:
MODEL_PATH="${WHISPER_MODEL:-$HOME/deus/data/models/ggml-base.bin}"
MODEL_URL="https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin"
if [ ! -f "$MODEL_PATH" ]; then
mkdir -p "$(dirname "$MODEL_PATH")"
echo "Downloading whisper model (148 MB)..."
curl -L --progress-bar -o "$MODEL_PATH" "$MODEL_URL"
echo "Model saved to: $MODEL_PATH"
fi
For ggml-large-v3-turbo.bin (higher accuracy, 1.5 GB):
https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo.bin
Ask the user which model they want if WHISPER_MODEL is not already set:
base (148 MB, fast, good for English) — defaultlarge-v3-turbo (1.5 GB, best accuracy, recommended for Hebrew)Set WHISPER_MODEL in ~/.zshrc / ~/.bashrc / Windows user environment variables
so deus listen always finds the model without specifying it each time.
Run a quick smoke test before installing the hotkey:
DEUS_LISTEN_NO_CLIPBOARD=1 node ~/deus/dist/deus-listen.js --help 2>/dev/null || \
echo "Build needed — run: cd ~/deus && npm run build"
If the build is missing, run npm run build in ~/deus before proceeding.
Detect the OS (IS_MACOS / IS_LINUX / IS_WINDOWS from platform.ts context, or run uname -s).
Ask the user:
Cmd+Option+V (macOS) / Super+Alt+V (Linux) / Ctrl+Alt+V (Windows)silent (default) — runs deus listen in background, notification on completionterminal — opens a new terminal window with the VU meter visibledeus listen --stream instead of single-shotCheck if Hammerspoon is installed: ls /Applications/Hammerspoon.app 2>/dev/null
If missing: brew install --cask hammerspoon (ask user to approve).
Write ~/.hammerspoon/deus-listen.lua:
-- deus listen hotkey (managed by Deus /add-listen-hotkey)
local mods = {"cmd", "alt"}
local key = "v"
hs.hotkey.bind(mods, key, function()
-- SILENT MODE: run headless, notify on completion
local task = hs.task.new("/bin/zsh", function(code, stdout, stderr)
local msg = code == 0 and "Copied to clipboard" or "Transcription failed"
hs.notify.new({title = "Deus", informativeText = msg}):send()
end, {"-lc", "deus listen --no-clipboard=false"})
task:start()
hs.notify.new({title = "Deus", informativeText = "Listening…"}):send()
end)
For terminal mode replace the task body with:
hs.execute("open -a Ghostty --args -e 'deus listen'")
(or iTerm2 / Terminal.app if Ghostty is absent — detect with ls /Applications/Ghostty.app).
Source the file from ~/.hammerspoon/init.lua:
-- Auto-appended by Deus /add-listen-hotkey
require("deus-listen")
Reload Hammerspoon: open -g hammerspoon://reloadConfig
Check if sxhkd is running: pgrep sxhkd
If missing: sudo apt install sxhkd (or pacman/dnf equivalent).
Append to ~/.config/sxhkd/sxhkdrc (create if missing):
# deus listen (managed by Deus /add-listen-hotkey)
super + alt + v
deus listen
For stream mode: replace deus listen with deus listen --stream.
Reload: pkill -USR1 sxhkd
For terminal mode (VU meter visible):
super + alt + v
ghostty -e deus listen
Check if AHK is installed: Get-Command autohotkey.exe -ErrorAction SilentlyContinue
If missing: winget install AutoHotkey.AutoHotkey
Write %APPDATA%\deus\deus-listen.ahk:
; deus listen hotkey (managed by Deus /add-listen-hotkey)
^!v:: { ; Ctrl+Alt+V
Run "deus listen", , "Hide"
}
For terminal mode: Run "wt.exe deus listen" (Windows Terminal).
Add to startup: create a shortcut in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\.
Run immediately: Start-Process autohotkey.exe "$env:APPDATA\deus\deus-listen.ahk"
Test the hotkey:
xclip -o -selection clipboard.Get-Clipboard.~/.hammerspoon/deus-listen.lua, remove the require line from init.lua, reload Hammerspoon.~/.config/sxhkd/sxhkdrc, pkill -USR1 sxhkd.%APPDATA%\deus\deus-listen.ahk and the startup shortcut.