[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H3Y0KTTVC6653JNBP1DT0P":3,"skill-same:01M6H3Y0KTTVC6653JNBP1DT0P":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6H3Y0KTTVC6653JNBP1DT0P","use-local-whisper",null,"Use when the user wants local voice transcription instead of OpenAI Whisper API. Switches to whisper.cpp running on Apple Silicon. WhatsApp only for now. Requires voice-transcription skill to be applied first.","sliamh11\u002FDeus","sliamh11","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F68326628?v=4","01M6H3PPFXQ6C98QV1RJA5W72S","Liam Steiner","01M6H3PPM81GJC6KYCNTY9A3AT",51,"MIT","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fuse-local-whisper\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"use local whisper","local","local whisper","use","whisper","only","for","local voice","silicon","now","apple","whatsapp","voice","apple silicon","api","first","openai","cpp","openai whisper","openai whisper api","2026-11-10 10:12:30",false,"---\nname: use-local-whisper\ndescription: Use when the user wants local voice transcription instead of OpenAI Whisper API. Switches to whisper.cpp running on Apple Silicon. WhatsApp only for now. Requires voice-transcription skill to be applied first.\n---\n\n# Use Local Whisper\n\nSwitches voice transcription from OpenAI's Whisper API to local whisper.cpp. Runs entirely on-device — no API key, no network, no cost.\n\n**Channel support:** Currently WhatsApp only. The transcription module (`src\u002Ftranscription.ts`) uses Baileys types for audio download. Other channels (Telegram, Discord, etc.) would need their own audio-download logic before this skill can serve them.\n\n**Note:** The Homebrew package is `whisper-cpp`, but the CLI binary it installs is `whisper-cli`.\n\n## Prerequisites\n\n- `voice-transcription` skill must be applied first (WhatsApp channel)\n- macOS with Apple Silicon (M1+) recommended\n- `whisper-cpp` installed: `brew install whisper-cpp` (provides the `whisper-cli` binary)\n- `ffmpeg` installed: `brew install ffmpeg`\n- A GGML model file downloaded to `data\u002Fmodels\u002F`\n\n## Phase 1: Pre-flight\n\n### Check if already applied\n\nCheck if `src\u002Ftranscription.ts` already uses `whisper-cli`:\n\n```bash\ngrep 'whisper-cli' src\u002Ftranscription.ts && echo \"Already applied\" || echo \"Not applied\"\n```\n\nIf already applied, skip to Phase 3 (Verify).\n\n### Check dependencies are installed\n\n```bash\nwhisper-cli --help >\u002Fdev\u002Fnull 2>&1 && echo \"WHISPER_OK\" || echo \"WHISPER_MISSING\"\nffmpeg -version >\u002Fdev\u002Fnull 2>&1 && echo \"FFMPEG_OK\" || echo \"FFMPEG_MISSING\"\n```\n\nIf missing, install via Homebrew:\n```bash\nbrew install whisper-cpp ffmpeg\n```\n\n### Check for model file\n\n```bash\nls data\u002Fmodels\u002Fggml-*.bin 2>\u002Fdev\u002Fnull || echo \"NO_MODEL\"\n```\n\nIf no model exists, download the base model (148MB, good balance of speed and accuracy):\n```bash\nmkdir -p data\u002Fmodels\ncurl -L -o data\u002Fmodels\u002Fggml-base.bin \"https:\u002F\u002Fhuggingface.co\u002Fggerganov\u002Fwhisper.cpp\u002Fresolve\u002Fmain\u002Fggml-base.bin\"\n```\n\nFor better accuracy at the cost of speed, use `ggml-small.bin` (466MB) or `ggml-medium.bin` (1.5GB).\n\n## Phase 2: Apply Code Changes\n\nThe local whisper feature modifies `src\u002Ftranscription.ts` to use the `whisper-cli` binary instead of the OpenAI API. Check if it's already applied:\n\n```bash\ngrep 'whisper-cli' src\u002Ftranscription.ts && echo \"Already applied\" || echo \"Not applied\"\n```\n\nIf not applied, modify `src\u002Ftranscription.ts` to use the local `whisper-cli` binary instead of the OpenAI API. The WhatsApp MCP package in `packages\u002F` includes the transcription module.\n\n### Validate\n\n```bash\nnpm run build\n```\n\n## Phase 3: Verify\n\n### Ensure launchd PATH includes Homebrew\n\nThe Deus launchd service runs with a restricted PATH. `whisper-cli` and `ffmpeg` are in `\u002Fopt\u002Fhomebrew\u002Fbin\u002F` (Apple Silicon) or `\u002Fusr\u002Flocal\u002Fbin\u002F` (Intel), which may not be in the plist's PATH.\n\nCheck the current PATH:\n```bash\ngrep -A1 'PATH' ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.plist\n```\n\nIf `\u002Fopt\u002Fhomebrew\u002Fbin` is missing, add it to the `\u003Cstring>` value inside the `PATH` key in the plist. Then reload:\n```bash\nlaunchctl unload ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.plist\nlaunchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.plist\n```\n\n### Build and restart\n\n```bash\nnpm run build\nlaunchctl kickstart -k gui\u002F$(id -u)\u002Fcom.deus\n```\n\n### Test\n\nSend a voice note in any registered group. The agent should receive it as `[Voice: \u003Ctranscript>]`.\n\n### Check logs\n\n```bash\ntail -f logs\u002Fdeus.log | grep -i -E \"voice|transcri|whisper\"\n```\n\nLook for:\n- `Transcribed voice message` — successful transcription\n- `whisper.cpp transcription failed` — check model path, ffmpeg, or PATH\n\n## Configuration\n\nEnvironment variables (optional, set in `.env`):\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `WHISPER_BIN` | `whisper-cli` | Path to whisper.cpp binary |\n| `WHISPER_MODEL` | `data\u002Fmodels\u002Fggml-base.bin` | Path to GGML model file |\n\n## Troubleshooting\n\n**\"whisper.cpp transcription failed\"**: Ensure both `whisper-cli` and `ffmpeg` are in PATH. The launchd service uses a restricted PATH — see Phase 3 above. Test manually:\n```bash\nffmpeg -f lavfi -i anullsrc=r=16000:cl=mono -t 1 -f wav \u002Ftmp\u002Ftest.wav -y\nwhisper-cli -m data\u002Fmodels\u002Fggml-base.bin -f \u002Ftmp\u002Ftest.wav --no-timestamps -nt\n```\n\n**Transcription works in dev but not as service**: The launchd plist PATH likely doesn't include `\u002Fopt\u002Fhomebrew\u002Fbin`. See \"Ensure launchd PATH includes Homebrew\" in Phase 3.\n\n**Slow transcription**: The base model processes ~30s of audio in \u003C1s on M1+. If slower, check CPU usage — another process may be competing.\n\n**Wrong language**: whisper.cpp auto-detects language. To force a language, you can set `WHISPER_LANG` and modify `src\u002Ftranscription.ts` to pass `-l $WHISPER_LANG`.\n","# Use Local Whisper\n\nSwitches voice transcription from OpenAI's Whisper API to local whisper.cpp. Runs entirely on-device — no API key, no network, no cost.\n\n**Channel support:** Currently WhatsApp only. The transcription module (`src\u002Ftranscription.ts`) uses Baileys types for audio download. Other channels (Telegram, Discord, etc.) would need their own audio-download logic before this skill can serve them.\n\n**Note:** The Homebrew package is `whisper-cpp`, but the CLI binary it installs is `whisper-cli`.\n\n## Prerequisites\n\n- `voice-transcription` skill must be applied first (WhatsApp channel)\n- macOS with Apple Silicon (M1+) recommended\n- `whisper-cpp` installed: `brew install whisper-cpp` (provides the `whisper-cli` binary)\n- `ffmpeg` installed: `brew install ffmpeg`\n- A GGML model file downloaded to `data\u002Fmodels\u002F`\n\n## Phase 1: Pre-flight\n\n### Check if already applied\n\nCheck if `src\u002Ftranscription.ts` already uses `whisper-cli`:\n\n```bash\ngrep 'whisper-cli' src\u002Ftranscription.ts && echo \"Already applied\" || echo \"Not applied\"\n```\n\nIf already applied, skip to Phase 3 (Verify).\n\n### Check dependencies are installed\n\n```bash\nwhisper-cli --help >\u002Fdev\u002Fnull 2>&1 && echo \"WHISPER_OK\" || echo \"WHISPER_MISSING\"\nffmpeg -version >\u002Fdev\u002Fnull 2>&1 && echo \"FFMPEG_OK\" || echo \"FFMPEG_MISSING\"\n```\n\nIf missing, install via Homebrew:\n```bash\nbrew install whisper-cpp ffmpeg\n```\n\n### Check for model file\n\n```bash\nls data\u002Fmodels\u002Fggml-*.bin 2>\u002Fdev\u002Fnull || echo \"NO_MODEL\"\n```\n\nIf no model exists, download the base model (148MB, good balance of speed and accuracy):\n```bash\nmkdir -p data\u002Fmodels\ncurl -L -o data\u002Fmodels\u002Fggml-base.bin \"https:\u002F\u002Fhuggingface.co\u002Fggerganov\u002Fwhisper.cpp\u002Fresolve\u002Fmain\u002Fggml-base.bin\"\n```\n\nFor better accuracy at the cost of speed, use `ggml-small.bin` (466MB) or `ggml-medium.bin` (1.5GB).\n\n## Phase 2: Apply Code Changes\n\nThe local whisper feature modifies `src\u002Ftranscription.ts` to use the `whisper-cli` binary instead of the OpenAI API. Check if it's already applied:\n\n```bash\ngrep 'whisper-cli' src\u002Ftranscription.ts && echo \"Already applied\" || echo \"Not applied\"\n```\n\nIf not applied, modify `src\u002Ftranscription.ts` to use the local `whisper-cli` binary instead of the OpenAI API. The WhatsApp MCP package in `packages\u002F` includes the transcription module.\n\n### Validate\n\n```bash\nnpm run build\n```\n\n## Phase 3: Verify\n\n### Ensure launchd PATH includes Homebrew\n\nThe Deus launchd service runs with a restricted PATH. `whisper-cli` and `ffmpeg` are in `\u002Fopt\u002Fhomebrew\u002Fbin\u002F` (Apple Silicon) or `\u002Fusr\u002Flocal\u002Fbin\u002F` (Intel), which may not be in the plist's PATH.\n\nCheck the current PATH:\n```bash\ngrep -A1 'PATH' ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.plist\n```\n\nIf `\u002Fopt\u002Fhomebrew\u002Fbin` is missing, add it to the `\u003Cstring>` value inside the `PATH` key in the plist. Then reload:\n```bash\nlaunchctl unload ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.plist\nlaunchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.deus.plist\n```\n\n### Build and restart\n\n```bash\nnpm run build\nlaunchctl kickstart -k gui\u002F$(id -u)\u002Fcom.deus\n```\n\n### Test\n\nSend a voice note in any registered group. The agent should receive it as `[Voice: \u003Ctranscript>]`.\n\n### Check logs\n\n```bash\ntail -f logs\u002Fdeus.log | grep -i -E \"voice|transcri|whisper\"\n```\n\nLook for:\n- `Transcribed voice message` — successful transcription\n- `whisper.cpp transcription failed` — check model path, ffmpeg, or PATH\n\n## Configuration\n\nEnvironment variables (optional, set in `.env`):\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `WHISPER_BIN` | `whisper-cli` | Path to whisper.cpp binary |\n| `WHISPER_MODEL` | `data\u002Fmodels\u002Fggml-base.bin` | Path to GGML model file |\n\n## Troubleshooting\n\n**\"whisper.cpp transcription failed\"**: Ensure both `whisper-cli` and `ffmpeg` are in PATH. The launchd service uses a restricted PATH — see Phase 3 above. Test manually:\n```bash\nffmpeg -f lavfi -i anullsrc=r=16000:cl=mono -t 1 -f wav \u002Ftmp\u002Ftest.wav -y\nwhisper-cli -m data\u002Fmodels\u002Fggml-base.bin -f \u002Ftmp\u002Ftest.wav --no-timestamps -nt\n```\n\n**Transcription works in dev but not as service**: The launchd plist PATH likely doesn't include `\u002Fopt\u002Fhomebrew\u002Fbin`. See \"Ensure launchd PATH includes Homebrew\" in Phase 3.\n\n**Slow transcription**: The base model processes ~30s of audio in \u003C1s on M1+. If slower, check CPU usage — another process may be competing.\n\n**Wrong language**: whisper.cpp auto-detects language. To force a language, you can set `WHISPER_LANG` and modify `src\u002Ftranscription.ts` to pass `-l $WHISPER_LANG`.\n",{"name":5,"description":7},"main","2f24c38a2ae42d3161492f0729975b286452f4b4",".claude\u002Fskills\u002Fuse-local-whisper",7,"https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus","https:\u002F\u002Fgithub.com\u002Fsliamh11","2026-11-13 20:39:27",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add sliamh11\u002FDeus --skill use-local-whisper",{"tool":57,"command":58},"bunx","bunx skills add sliamh11\u002FDeus --skill use-local-whisper",{"tool":60,"command":61},"pnpm","pnpm dlx skills add sliamh11\u002FDeus --skill use-local-whisper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fuse-local-whisper\u002FSKILL.md",true,[],[66,89,104,118,128,143],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":39},"01M6H3ZC87AJDM8566RP3CQ6BF","status","Quick read-only health check — session context, workspace mounts, tool availability, and task snapshot. Use when the user asks for system status or runs \u002Fstatus.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fstatus\u002FSKILL.md",[],[68,73,74,25,75,76,77,78,79,80,24,22,81,82,83,84,85,86,87,88],"health","snapshot","read-only","quick","availability","session context","task","health check","session","user","context","read","check","workspace","tool","system",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":39},"01M6H3Z8SK38PVH2B0W7NBP6ZP","resume","Load context from permanent memory and recent session logs. Tiered loading — CLAUDE.md full, session logs frontmatter-only by default.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fresume\u002FSKILL.md",[],[91,96,97,98,99,100,101,24,81,83,102,103],"memory","load","loading","full","session logs","default","logs","frontmatter",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6H3Z56ZBPKX77THMWSSHZCW","preserve","Scan the current conversation and silently save anything worth permanent memory to CLAUDE.md. Keeps the file compact — structured key:value, no prose.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fpreserve\u002FSKILL.md",[],[106,111,112,113,114,115,116,117,96],"structured","compact","scan","conversation","prose","save","file",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":39},"01M6H3Z1AKK58CWWY762YD3X9A","compress","Save the current session to the vault. Writes a compact session log with a TL;DR frontmatter (always) and full details below (when useful).","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fcompress\u002FSKILL.md",[],[120,125,103,99,112,126,81,116,127],"with","log","vault",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M6H3YX6STE1ZJC06EKWMY0M6","capabilities","Show what this Deus instance can do — installed skills, available tools, and system info. Read-only. Use when the user asks what the bot can do, what's installed, or runs \u002Fcapabilities.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fcapabilities\u002FSKILL.md",[],[130,135,136,88,75,137,138,139,140,141,142,24,22,82,84],"Tools","bot","can","system info","info","what the","do","show",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":39},"01M6H3YSNXYAR7NC1TZPFCANZN","agent-browser","Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test web pages. Use whenever a browser would be useful, not just when the user explicitly asks.","https:\u002F\u002Fgithub.com\u002Fsliamh11\u002FDeus\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[150,151,152,25,125,153,154,155,79,156,22,84,157,158,159,160,161,162,163,164],"agent browser","browser","take","apps","pages","forms","test web","just","Bash","browse","data","web","test","research","screenshots"]