[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DG0QTBXYXSW3CRVEKCC70D":3,"skill-same:01M6DG0QTBXYXSW3CRVEKCC70D":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":13,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M6DG0QTBXYXSW3CRVEKCC70D","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.","mbaker95\u002Fnanodex","mbaker95","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11398294?v=4","01M6DFXVNAJHZG78Y2D700Y6V3","01M6DFXVTTW83QGKTJ9FJ5YCH5",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fuse-local-whisper\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"use local whisper","local","local whisper","whisper","use","user","apple","transcription","only","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\n### Ensure WhatsApp fork remote\n\n```bash\ngit remote -v\n```\n\nIf `whatsapp` is missing, add it:\n\n```bash\ngit remote add whatsapp https:\u002F\u002Fgithub.com\u002Fqwibitai\u002Fnanoclaw-whatsapp.git\n```\n\n### Merge the skill branch\n\n```bash\ngit fetch whatsapp skill\u002Flocal-whisper\ngit merge whatsapp\u002Fskill\u002Flocal-whisper\n```\n\nThis modifies `src\u002Ftranscription.ts` to use the `whisper-cli` binary instead of the OpenAI API.\n\n### Validate\n\n```bash\nnpm run build\n```\n\n## Phase 3: Verify\n\n### Ensure launchd PATH includes Homebrew\n\nThe NanoDex 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.nanodex.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.nanodex.plist\nlaunchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.nanodex.plist\n```\n\n### Build and restart\n\n```bash\nnpm run build\nlaunchctl kickstart -k gui\u002F$(id -u)\u002Fcom.nanodex\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\u002Fnanodex.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\n### Ensure WhatsApp fork remote\n\n```bash\ngit remote -v\n```\n\nIf `whatsapp` is missing, add it:\n\n```bash\ngit remote add whatsapp https:\u002F\u002Fgithub.com\u002Fqwibitai\u002Fnanoclaw-whatsapp.git\n```\n\n### Merge the skill branch\n\n```bash\ngit fetch whatsapp skill\u002Flocal-whisper\ngit merge whatsapp\u002Fskill\u002Flocal-whisper\n```\n\nThis modifies `src\u002Ftranscription.ts` to use the `whisper-cli` binary instead of the OpenAI API.\n\n### Validate\n\n```bash\nnpm run build\n```\n\n## Phase 3: Verify\n\n### Ensure launchd PATH includes Homebrew\n\nThe NanoDex 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.nanodex.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.nanodex.plist\nlaunchctl load ~\u002FLibrary\u002FLaunchAgents\u002Fcom.nanodex.plist\n```\n\n### Build and restart\n\n```bash\nnpm run build\nlaunchctl kickstart -k gui\u002F$(id -u)\u002Fcom.nanodex\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\u002Fnanodex.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","b6b2f4d4a0c7243409d1684119a6772629bfeba6",".agents\u002Fskills\u002Fuse-local-whisper","https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex","https:\u002F\u002Fgithub.com\u002Fmbaker95","2026-03-12 23:02:12",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add mbaker95\u002Fnanodex --skill use-local-whisper",{"tool":53,"command":54},"bunx","bunx skills add mbaker95\u002Fnanodex --skill use-local-whisper",{"tool":56,"command":57},"pnpm","pnpm dlx skills add mbaker95\u002Fnanodex --skill use-local-whisper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fuse-local-whisper\u002FSKILL.md",true,[61],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"dynamic-questioning.md","REFERENCE","参考文档",11619,"https:\u002F\u002Fgithub.com\u002Fyqecea\u002Fgem-swarm\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fdomain\u002Fbrainstorming\u002Fdynamic-questioning.md",[68,97,116,121,133,145],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":79,"publishedAt":36},"01M6DG2XYNH5XV7XGTJJ1SF0TG","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\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fagent-browser\u002FSKILL.md",[74],{"categoryNo":75,"categoryName":76,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[80,81,82,83,84,85,86,22,87,88,23,89,90,91,92,93,94,95,96],"agent browser","browser","pages","forms","task","test web","take","extract","data","read","screenshots","research","test","web","just","Bash","browse",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":106,"publishedAt":36},"01M6DG2TPZAT3SMWSYFJ3K82TE","x-integration","X (Twitter) integration for NanoClaw. Post tweets, like, reply, retweet, and quote. Use for setup, testing, or troubleshooting X functionality. Triggers on \"setup x\", \"x integration\", \"twitter\", \"post tweet\", \"tweet\".","https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fx-integration\u002FSKILL.md",[103],{"categoryNo":104,"categoryName":105,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000008","测试与质量",[107,108,22,109,110,111,112,113,114,115],"x integration","integration","testing","setup","troubleshooting","twitter","reply","quote","triggers",{"skillNo":117,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":36},"01M6DG2Q4BJQ046BZSR9N7GZ72","https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fuse-local-whisper\u002FSKILL.md",[],[21,20,22,19,18,24,34,26,23,28,29,30,31,32,33,25,35,27],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":36},"01M6DG2N2Z1V8VV4MQFRKFAQV0","update-skills","Check for and apply updates to installed skill branches from upstream.","https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[],[128,129,130,131,132],"update","update skills","upstream","branches","check",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":36},"01M6DG2J5D7Y3R2BF8V87XZAXF","update-nanoclaw","Efficiently bring upstream NanoClaw updates into a customized install, with preview, selective cherry-pick, and low token usage.","https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupdate-nanoclaw\u002FSKILL.md",[],[128,140,141,142,130,143,144],"update nanoclaw","install","pick","token","preview",{"skillNo":146,"name":110,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":36},"01M6DG2FN7S7DVD337CNT5Y67D","Run initial NanoClaw setup. Use when user wants to install dependencies, authenticate messaging channels, register their main channel, or start the background services. Triggers on \"setup\", \"install\", \"configure nanoclaw\", or first-time setup requests.","https:\u002F\u002Fgithub.com\u002Fmbaker95\u002Fnanodex\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsetup\u002FSKILL.md",[],[110,141,115,151,152,41,22,153,23,154,31,155,156,157,158],"time","dependencies","channel","configure","services","start","messaging","run"]