[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75BCR48P04RZRZ2M81YQ5QK":3,"skill-same:01M75BCR48P04RZRZ2M81YQ5QK":98},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M75BCR48P04RZRZ2M81YQ5QK","discord-voice-meetings",null,"Build a Discord voice meeting transcription system — capture audio, identify speakers, transcribe via Groq Whisper, generate LLM-powered meeting minutes\u002Fatas. Framework-agnostic reference implementation included.","fmercurio\u002Fclawdia-custom-skills","fmercurio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15571697?v=4","01M75B9TGVV3RPB40SY7AT0VNH","Felippe Mercurio","01M75B9THMAWYGFT755CR1PT9A",1,"MIT","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: discord-voice-meetings\ndescription: Build a Discord voice meeting transcription system — capture audio, identify speakers, transcribe via Groq Whisper, generate LLM-powered meeting minutes\u002Fatas. Framework-agnostic reference implementation included.\nversion: 2.0.0\nauthor: Hermes Agent\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [discord, voice, meeting, transcription, whisper, groq, atas, stt, opus, rtp]\n    related_skills: []\n---\n\n# Discord Voice Meeting Transcription\n\nA complete blueprint for building a Discord bot that joins voice channels,\ntranscribes speech in real-time, identifies speakers, and generates meeting\nminutes (atas) with LLM-powered summaries, decisions, and tasks.\n\nFramework-agnostic. Includes a standalone reference implementation that works\nwith any Python bot framework — no agent platform required.\n\n## Architecture\n\n```\nDiscord Voice Gateway (WSS\u002FUDP)\n  → VoiceReceiver (RTP packets, NaCl decrypt, Opus decode, silence detection)\n    → check_silence() emits completed utterances (PCM per speaker)\n      → Groq Whisper STT (whisper-large-v3-turbo, language + glossary hints)\n        → transcript entries recorded with speaker + timestamp\n          → \u002Fmeeting stop → LLM summary → Markdown ata → saved + posted\n```\n\n### Component overview\n\n| Component | Responsibility | Key file |\n|---|---|---|\n| VoiceReceiver | RTP capture, NaCl decrypt, Opus decode, per-speaker buffering, silence detection | `scripts\u002Fmeeting_bot.py` |\n| Voice listen loop | Polls VoiceReceiver every 200ms, sends UDP keepalive, dispatches utterances for STT | same |\n| STT (Groq) | Whisper-large-v3-turbo via Groq API with `language` + `prompt` glossary hints | same |\n| Hallucination filter | Filters common Whisper false positives on silence (thank you, bye, amara.org, etc.) | same |\n| Meeting lifecycle | Start\u002Fstop\u002Fstatus, race condition handling, flush + grace period for in-flight transcriptions | same |\n| LLM summarizer | Any OpenAI-compatible API → structured JSON (summary, decisions, tasks) | same |\n| Markdown generator | Produces formatted ata with resumo, decisões, tarefas, transcrição completa | same |\n\n## Quick start (standalone bot)\n\n```bash\n# 1. Install dependencies\npip install discord.py openai pynacl pyyaml\n\n# 2. Install system dependencies\nsudo apt install ffmpeg libopus-dev  # Debian\u002FUbuntu\n\n# 3. Copy and fill in config\ncp templates\u002Fconfig.yaml .\u002F\ncp templates\u002Fenv.example .\u002F\n# Edit config.yaml and set env vars (DISCORD_BOT_TOKEN, GROQ_API_KEY, LLM_API_KEY)\n\n# 4. Run\nsource env.example\npython scripts\u002Fmeeting_bot.py\n```\n\nIn Discord, use `\u002Fmeeting start [title]` only in a configured private voice channel → speak → `\u002Fmeeting stop`. The bot denies starts outside `discord.allowed_voice_channels`.\n\n## Prerequisites\n\n### 1. Network: UDP must be open inbound\n\nDiscord voice requires UDP on the ephemeral port range. Cloud firewalls that\nare NOT stateful for UDP (Hetzner Cloud Firewall) will silently drop return\npackets, causing `asyncio.TimeoutError` on `channel.connect()`.\n\n```\nProtocol: UDP\nSource: 0.0.0.0\u002F0\nDestination port: 32768-65535  (check \u002Fproc\u002Fsys\u002Fnet\u002Fipv4\u002Fip_local_port_range)\nAction: ACCEPT\n```\n\n### 2. Discord Developer Portal: Privileged Intents\n\nSpeaker identification requires **SERVER MEMBERS INTENT** enabled in the\nDiscord Developer Portal (Bot → Privileged Gateway Intents).\n\n### 3. System dependencies\n\n- **ffmpeg** — PCM→WAV conversion (48kHz stereo → 16kHz mono)\n- **libopus** — Opus codec decode\n- **PyNaCl** — Voice encryption (`pip install pynacl`)\n- **discord.py 2.x** — Voice connection and Opus decode\n\n### 4. API keys\n\n| Key | Purpose | Where to get it |\n|---|---|---|\n| `DISCORD_BOT_TOKEN` | Bot authentication | Discord Developer Portal |\n| `GROQ_API_KEY` | Groq Whisper STT (free tier) | https:\u002F\u002Fconsole.groq.com |\n| `LLM_API_KEY` | Summary generation (any OpenAI-compatible API) | Your LLM provider |\n\n## STT provider selection\n\n### Groq (recommended)\n\nGroq is the strongest option: free tier, instant transcription (~50x realtime),\nuses the full `whisper-large-v3-turbo` model.\n\n**Why Groq over local Whisper:**\n- Local `medium` on CPU runs at ~1x realtime — a 47s utterance takes 47s to\n  transcribe, which can exceed the stop grace period and produce empty atas\n- Groq transcribes the same 47s in \u003C1s\n- Quality is significantly better (large-v3 model vs medium)\n- Free tier is generous (50x realtime)\n\n**Critical: language + glossary prompt**\n\nThe Groq\u002FWhisper API accepts a `prompt` parameter with domain vocabulary.\nThis dramatically improves recognition of technical terms:\n\n```python\nclient.audio.transcriptions.create(\n    model=\"whisper-large-v3-turbo\",\n    file=audio_file,\n    language=\"pt\",  # Force language detection\n    prompt=\"Reunião de tecnologia. API, Swagger, React, Vue.js, PostgreSQL, \"\n           \"Docker, Kubernetes, front-end, back-end, AWS, Hetzner, deploy.\",\n    response_format=\"text\",\n)\n```\n\nWithout the glossary prompt, Whisper transcribes \"Swagger\" as \"Swagra\",\n\"Vue.js\" as \"Vood S\", \"front-end\" as \"Pronto Change\", etc.\n\n**Configuration in config.yaml:**\n```yaml\nstt:\n  groq:\n    model: whisper-large-v3-turbo\n    language: pt\n    prompt: >\n      Reunião de tecnologia. API, Swagger, OpenAPI, React, Vue.js, Angular,\n      Node.js, TypeScript, PostgreSQL, MySQL, MongoDB, Redis, Docker, Kubernetes,\n      CI\u002FCD, webhook, microserviços, front-end, back-end, full-stack, AWS,\n      Hetzner, Cloudflare, GitHub, GitLab, deploy, pipeline.\n```\n\n### Local Whisper (fallback)\n\nFor offline\u002Fno-Groq environments, `faster-whisper` works but requires careful\ntuning:\n\n| Model | Size | Quality (PT) | Speed (20-core CPU) |\n|---|---|---|---|\n| `base` | 74M | Poor — hallucinations, wrong language | ~5x realtime |\n| `small` | 244M | Decent for clear speech | ~2x realtime |\n| `medium` | 769M | Good — minimum viable for PT | ~1x realtime |\n\nLocal `medium` is the minimum for Portuguese. `base` produces hallucinations\nand dropped words even with correct language config.\n\n## VoiceReceiver internals (hard-won knowledge)\n\n### RTP packet parsing\n\nDiscord sends encrypted voice data as RTP packets over UDP. Parsing requires:\n\n1. **Version check**: top 2 bits of byte 0 must be `10` (RTP version 2)\n2. **Payload type**: `byte[1] & 0x7F` must be `0x78` (120) for voice\n3. **Dynamic header size**: `12 + (4 * CSRC_count) + (4 if extension_bit else 0)`\n4. **Skip non-voice packets** (bot's own SSRC, keepalives, etc.)\n\n### NaCl decryption (aead_xchacha20_poly1305_rtpsize)\n\n```python\nnonce = bytearray(24)\nnonce[:4] = payload[-4:]        # Last 4 bytes of payload are nonce suffix\nencrypted = payload[:-4]         # Rest is encrypted ciphertext\nbox = nacl.secret.Aead(secret_key)\ndecrypted = box.decrypt(encrypted, rtp_header, bytes(nonce))  # header as AAD\n```\n\nAfter decrypt, skip encrypted extension data if present, then strip RTP\npadding (RFC 3550 §5.1: if padding bit set, last byte = padding count).\n\n### Opus decode\n\nOne `discord.opus.Decoder()` per SSRC. Each user needs independent decoder\nstate. If decode fails, reset (destroy and recreate) the decoder for that SSRC.\n\n### SSRC → user_id mapping (three strategies)\n\nDiscord assigns each user a random SSRC (synchronization source identifier).\nMapping SSRC to user_id is needed to know who spoke.\n\n1. **SPEAKING opcode 5** (primary): Wrap the voice websocket hook to capture\n   SPEAKING events, which carry `{ssrc, user_id}` pairs.\n2. **voice_states dict** (fallback): When bot rejoins, Discord may not resend\n   SPEAKING events. Use `channel.voice_states` (populated by\n   VOICE_STATE_UPDATE events — doesn't need GUILD_MEMBERS intent).\n3. **Auto-assign** (last resort): If only 1 non-bot member, auto-assign. If\n   multiple, assign to first unmapped member.\n\n### Silence detection\n\n```python\nSILENCE_THRESHOLD = 0.8    # seconds of silence → end of utterance\nMIN_SPEECH_DURATION = 0.3  # minimum seconds to process (skip noise)\n```\n\nThe listen loop polls `check_silence()` every 200ms. When a speaker stops\ntalking for `SILENCE_THRESHOLD` seconds AND the buffer is at least\n`MIN_SPEECH_DURATION` long, the utterance is emitted as completed PCM.\n\n### UDP keepalive\n\nDiscord drops the UDP voice session after ~60s of silence. Send a keepalive\npacket every 30s:\n```python\nvc._connection.send_packet(b'\\xf8\\xff\\xfe')\n```\n\n### PCM → WAV conversion\n\nDiscord sends 48kHz stereo 16-bit signed PCM. Whisper STT needs 16kHz mono:\n```bash\nffmpeg -y -loglevel error -f s16le -ar 48000 -ac 2 -i input.pcm -ar 16000 -ac 1 output.wav\n```\n\n## Meeting stop: race condition handling (CRITICAL)\n\nThe `\u002Fmeeting stop` command has a critical race condition that, if handled\nnaively, produces empty atas. The fix has three layers:\n\n### Layer 1: `_stopping` flag\n\nInstead of immediately removing the meeting from active sessions, mark it as\n`_stopping = True`. This lets in-flight transcriptions from the listen loop\nstill record their results.\n\n### Layer 2: `receiver.pause()`\n\nImmediately stop capturing NEW audio. This prevents phantom audio snippets\nduring the flush\u002Fgrace period that Whisper would hallucinate into spurious\ntranscripts posted AFTER the meeting ended.\n\n### Layer 3: Polling grace period (up to 120s)\n\nAfter flush, poll `meeting.entries` for new entries every 2s. If new entries\narrive (in-flight transcription completed), wait one more cycle. If no new\nentries after 10s, assume nothing is in-flight and proceed.\n\n```python\npre_wait_count = len(meeting.entries)\nwhile waited \u003C max_wait:\n    await asyncio.sleep(poll_interval)\n    if len(meeting.entries) > pre_wait_count:\n        pre_wait_count = len(meeting.entries)\n        await asyncio.sleep(poll_interval)  # one more cycle\n        if len(meeting.entries) == pre_wait_count:\n            break  # No more in-flight\n    elif waited >= 10.0:\n        break  # Nothing in-flight\n```\n\nWith Groq STT (sub-second), this typically completes in 10s (the minimum).\nWith local `medium` on CPU, it can take up to 120s for a 60s utterance.\n\n### Layer 4: Flush remaining buffers\n\nBefore the grace period, call `receiver.flush()` to capture any partial\nutterance that hasn't triggered silence detection yet. Transcribe each flushed\nbuffer and record the results.\n\n## Whisper hallucination filter\n\nWhisper commonly produces fluent but completely wrong text on silent or\nnear-silent audio. Known hallucinations:\n\n- English: \"thank you\", \"thanks for watching\", \"subscribe to my channel\", \"bye\", \"you\"\n- Russian: \"продолжение следует\"\n- French: \"sous-titres réalisés par la communauté d'amara.org\"\n- Italian: \"sottotitoli creati dalla comunità amara.org\"\n- Japanese: \"ご視聴ありがとうございました\"\n\nPlus a regex for repetitive patterns: `^(?:thank you|thanks|bye|you|ok|the end|\\.|\\s|,|!)+$`\n\n## LLM meeting summary\n\n### System prompt\n```\nVocê é um assistente especializado em redigir atas de reuniões. Analise a\ntranscrição e extraia informações estruturadas em português. Seja conciso e\npreciso. Responda APENAS em formato JSON válido.\n```\n\n### User prompt structure\n```\nAnalise a seguinte transcrição de reunião e produza um JSON com esta estrutura:\n{\n  \"summary\": \"Resumo executivo de 2-4 frases\",\n  \"decisions\": [\"Lista de decisões tomadas\"],\n  \"tasks\": [\"Lista de tarefas com responsável\"]\n}\n```\n\nThe LLM corrects STT errors in the summary (e.g., \"Swagra\" → \"Swagger\",\n\"Vood S\" → \"Vue.js\") because it understands context. This is why the glossary\nprompt on the STT layer + LLM summarization together produce clean atas.\n\n### Regex fallback\n\nIf the LLM call fails, regex extraction using Portuguese keywords\n(decidimos, aprovado, combinado, vou, vai, responsável, até, prazo) provides\na basic fallback.\n\n## Output format\n\n```markdown\n# Ata — [Meeting Title]\n\nData: 2026-06-06 20:47 UTC\nDuração: 1min\nCanal de voz: [channel name]\nParticipantes: [names]\n\n## Resumo executivo\n[LLM-generated 2-4 sentence summary]\n\n## Decisões\n- [Decision 1]\n- [Decision 2]\n\n## Tarefas \u002F action items\n- [Task 1 with responsible party]\n- [Task 2 with responsible party]\n\n## Transcrição\n- `2026-06-06T20:46:27Z` **felippe:** Full transcript line 1\n- `2026-06-06T20:47:21Z` **felippe:** Full transcript line 2\n```\n\nSaved to: `\u003Coutput_dir>\u002F\u003Cguild_id>\u002F\u003Ctimestamp>-\u003Ctitle>.md` with private local permissions.\nReturned to the authorized command invoker as an ephemeral `.md` file attachment with a preview.\n\n## Configuration\n\nSee `templates\u002Fconfig.yaml` for a complete annotated config template and\n`templates\u002Fenv.example` for required environment variables.\n\n### Key tuning constants\n\n| Setting | Default | Impact |\n|---|---|---|\n| `silence_threshold` | 0.8s | Lower = faster utterance splits, but may cut natural pauses. Higher = longer utterances, but slower stop |\n| `min_speech_duration` | 0.3s | Lower = captures more (including noise). Higher = skips short interjections |\n| `keepalive_interval` | 30s | Must be \u003C 60s or Discord drops the UDP session |\n| `grace_period_max` | 120s | Max wait after stop for in-flight transcriptions. With Groq, 10s suffices |\n| `grace_period_poll` | 2.0s | Poll interval during grace period |\n\n## Performance characteristics (validated)\n\nTest setup: Hetzner Cloud server, 20 vCPU, no GPU, Portuguese audio.\n\n| Metric | Local Whisper medium (CPU) | Groq whisper-large-v3-turbo |\n|---|---|---|\n| 51s audio transcription time | ~47s (1x realtime) | **0.4s** (~127x realtime) |\n| Quality (PT) | Good — some dropped words | **Excellent** |\n| Stop grace period needed | Up to 120s | 10s (minimum) |\n| Ata completeness risk | Empty if stop arrives before transcription | None |\n| Cost | Free (CPU) | Free (Groq free tier) |\n\n## Known pitfalls\n\n1. **UDP firewall blocks voice**: Cloud firewalls that aren't stateful for UDP\n   silently drop Discord voice return packets. Symptom: `channel.connect()`\n   hangs 60s then fails with empty exception. Fix: allow UDP 32768-65535\n   inbound.\n\n2. **GUILD_MEMBERS intent disabled**: Multi-speaker identification fails\n   silently. The bot can hear audio but can't map SSRC to usernames. Fix:\n   enable in Discord Developer Portal + set `intents.members = True`.\n\n3. **STT language not set**: If language is empty or wrong, Whisper\n   hallucinates — Portuguese speech produces fluent Romanian text. Fix: set\n   `stt.groq.language: pt` (or appropriate ISO 639-1 code).\n\n4. **Whisper base model for PT**: The `base` model produces duplicated phrases,\n   dropped words, and wrong-language hallucinations even with correct config.\n   Use `medium` minimum for local, or Groq `large-v3-turbo` for cloud.\n\n5. **Race condition on stop**: If meeting is popped before flush\u002Fgrace period\n   completes, in-flight transcriptions are lost. Fix: `_stopping` flag +\n   `pause()` + polling grace period (see Meeting stop section above).\n\n6. **Missing UDP keepalive**: Discord drops the voice session after ~60s of\n   silence. Fix: send keepalive packet every 30s.\n\n7. **RTP padding not stripped**: If the padding bit is set but padding isn't\n   stripped, corrupted bytes reach Opus decode and produce garbled audio.\n   Fix: check padding bit, strip `payload[-1]` bytes from decrypted payload.\n\n8. **Shared Opus decoder across SSRCs**: Each user needs independent decoder\n   state. Sharing a decoder corrupts audio for all speakers. Fix: one\n   `Decoder()` per SSRC.\n\n9. **Writing API keys to .env with sed**: Inline `sed -i` with API key values\n   corrupts the value due to quoting\u002Fescaping. Fix: use a Python script that\n   writes by line number, then set `chmod 600 .env`.\n\n## Integrating into an existing bot framework\n\nThe reference implementation (`scripts\u002Fmeeting_bot.py`) is self-contained but\neach component can be extracted and adapted:\n\n- **VoiceReceiver** → Drop into any discord.py bot. Only needs a VoiceClient\n  and a callback for completed utterances.\n- **STT function** → `transcribe_groq(wav_path, config)` is a standalone\n  function. Swap Groq for any provider.\n- **LLM summarizer** → `generate_llm_summary(meeting, config)` works with\n  approved OpenAI-compatible remote endpoints, local loopback endpoints, or an\n  explicitly opted-in custom remote endpoint with a provider-specific API key env.\n- **Markdown generator** → `generate_meeting_markdown(meeting, llm_result)`\n  is pure string formatting, no dependencies.\n\nFor Hermes Agent specifically, these components are already integrated in:\n- `plugins\u002Fplatforms\u002Fdiscord\u002Fadapter.py` — VoiceReceiver class\n- `gateway\u002Frun.py` — meeting lifecycle + LLM summary\n- `tools\u002Ftranscription_tools.py` — STT with multi-provider support\n\n## References\n\n- `scripts\u002Fmeeting_bot.py` — Complete standalone reference implementation\n- `templates\u002Fconfig.yaml` — Annotated configuration template\n- `templates\u002Fenv.example` — Environment variable template\n- `references\u002Ftroubleshooting.md` — Detailed debugging guide\n","# Discord Voice Meeting Transcription\n\nA complete blueprint for building a Discord bot that joins voice channels,\ntranscribes speech in real-time, identifies speakers, and generates meeting\nminutes (atas) with LLM-powered summaries, decisions, and tasks.\n\nFramework-agnostic. Includes a standalone reference implementation that works\nwith any Python bot framework — no agent platform required.\n\n## Architecture\n\n```\nDiscord Voice Gateway (WSS\u002FUDP)\n  → VoiceReceiver (RTP packets, NaCl decrypt, Opus decode, silence detection)\n    → check_silence() emits completed utterances (PCM per speaker)\n      → Groq Whisper STT (whisper-large-v3-turbo, language + glossary hints)\n        → transcript entries recorded with speaker + timestamp\n          → \u002Fmeeting stop → LLM summary → Markdown ata → saved + posted\n```\n\n### Component overview\n\n| Component | Responsibility | Key file |\n|---|---|---|\n| VoiceReceiver | RTP capture, NaCl decrypt, Opus decode, per-speaker buffering, silence detection | `scripts\u002Fmeeting_bot.py` |\n| Voice listen loop | Polls VoiceReceiver every 200ms, sends UDP keepalive, dispatches utterances for STT | same |\n| STT (Groq) | Whisper-large-v3-turbo via Groq API with `language` + `prompt` glossary hints | same |\n| Hallucination filter | Filters common Whisper false positives on silence (thank you, bye, amara.org, etc.) | same |\n| Meeting lifecycle | Start\u002Fstop\u002Fstatus, race condition handling, flush + grace period for in-flight transcriptions | same |\n| LLM summarizer | Any OpenAI-compatible API → structured JSON (summary, decisions, tasks) | same |\n| Markdown generator | Produces formatted ata with resumo, decisões, tarefas, transcrição completa | same |\n\n## Quick start (standalone bot)\n\n```bash\n# 1. Install dependencies\npip install discord.py openai pynacl pyyaml\n\n# 2. Install system dependencies\nsudo apt install ffmpeg libopus-dev  # Debian\u002FUbuntu\n\n# 3. Copy and fill in config\ncp templates\u002Fconfig.yaml .\u002F\ncp templates\u002Fenv.example .\u002F\n# Edit config.yaml and set env vars (DISCORD_BOT_TOKEN, GROQ_API_KEY, LLM_API_KEY)\n\n# 4. Run\nsource env.example\npython scripts\u002Fmeeting_bot.py\n```\n\nIn Discord, use `\u002Fmeeting start [title]` only in a configured private voice channel → speak → `\u002Fmeeting stop`. The bot denies starts outside `discord.allowed_voice_channels`.\n\n## Prerequisites\n\n### 1. Network: UDP must be open inbound\n\nDiscord voice requires UDP on the ephemeral port range. Cloud firewalls that\nare NOT stateful for UDP (Hetzner Cloud Firewall) will silently drop return\npackets, causing `asyncio.TimeoutError` on `channel.connect()`.\n\n```\nProtocol: UDP\nSource: 0.0.0.0\u002F0\nDestination port: 32768-65535  (check \u002Fproc\u002Fsys\u002Fnet\u002Fipv4\u002Fip_local_port_range)\nAction: ACCEPT\n```\n\n### 2. Discord Developer Portal: Privileged Intents\n\nSpeaker identification requires **SERVER MEMBERS INTENT** enabled in the\nDiscord Developer Portal (Bot → Privileged Gateway Intents).\n\n### 3. System dependencies\n\n- **ffmpeg** — PCM→WAV conversion (48kHz stereo → 16kHz mono)\n- **libopus** — Opus codec decode\n- **PyNaCl** — Voice encryption (`pip install pynacl`)\n- **discord.py 2.x** — Voice connection and Opus decode\n\n### 4. API keys\n\n| Key | Purpose | Where to get it |\n|---|---|---|\n| `DISCORD_BOT_TOKEN` | Bot authentication | Discord Developer Portal |\n| `GROQ_API_KEY` | Groq Whisper STT (free tier) | https:\u002F\u002Fconsole.groq.com |\n| `LLM_API_KEY` | Summary generation (any OpenAI-compatible API) | Your LLM provider |\n\n## STT provider selection\n\n### Groq (recommended)\n\nGroq is the strongest option: free tier, instant transcription (~50x realtime),\nuses the full `whisper-large-v3-turbo` model.\n\n**Why Groq over local Whisper:**\n- Local `medium` on CPU runs at ~1x realtime — a 47s utterance takes 47s to\n  transcribe, which can exceed the stop grace period and produce empty atas\n- Groq transcribes the same 47s in \u003C1s\n- Quality is significantly better (large-v3 model vs medium)\n- Free tier is generous (50x realtime)\n\n**Critical: language + glossary prompt**\n\nThe Groq\u002FWhisper API accepts a `prompt` parameter with domain vocabulary.\nThis dramatically improves recognition of technical terms:\n\n```python\nclient.audio.transcriptions.create(\n    model=\"whisper-large-v3-turbo\",\n    file=audio_file,\n    language=\"pt\",  # Force language detection\n    prompt=\"Reunião de tecnologia. API, Swagger, React, Vue.js, PostgreSQL, \"\n           \"Docker, Kubernetes, front-end, back-end, AWS, Hetzner, deploy.\",\n    response_format=\"text\",\n)\n```\n\nWithout the glossary prompt, Whisper transcribes \"Swagger\" as \"Swagra\",\n\"Vue.js\" as \"Vood S\", \"front-end\" as \"Pronto Change\", etc.\n\n**Configuration in config.yaml:**\n```yaml\nstt:\n  groq:\n    model: whisper-large-v3-turbo\n    language: pt\n    prompt: >\n      Reunião de tecnologia. API, Swagger, OpenAPI, React, Vue.js, Angular,\n      Node.js, TypeScript, PostgreSQL, MySQL, MongoDB, Redis, Docker, Kubernetes,\n      CI\u002FCD, webhook, microserviços, front-end, back-end, full-stack, AWS,\n      Hetzner, Cloudflare, GitHub, GitLab, deploy, pipeline.\n```\n\n### Local Whisper (fallback)\n\nFor offline\u002Fno-Groq environments, `faster-whisper` works but requires careful\ntuning:\n\n| Model | Size | Quality (PT) | Speed (20-core CPU) |\n|---|---|---|---|\n| `base` | 74M | Poor — hallucinations, wrong language | ~5x realtime |\n| `small` | 244M | Decent for clear speech | ~2x realtime |\n| `medium` | 769M | Good — minimum viable for PT | ~1x realtime |\n\nLocal `medium` is the minimum for Portuguese. `base` produces hallucinations\nand dropped words even with correct language config.\n\n## VoiceReceiver internals (hard-won knowledge)\n\n### RTP packet parsing\n\nDiscord sends encrypted voice data as RTP packets over UDP. Parsing requires:\n\n1. **Version check**: top 2 bits of byte 0 must be `10` (RTP version 2)\n2. **Payload type**: `byte[1] & 0x7F` must be `0x78` (120) for voice\n3. **Dynamic header size**: `12 + (4 * CSRC_count) + (4 if extension_bit else 0)`\n4. **Skip non-voice packets** (bot's own SSRC, keepalives, etc.)\n\n### NaCl decryption (aead_xchacha20_poly1305_rtpsize)\n\n```python\nnonce = bytearray(24)\nnonce[:4] = payload[-4:]        # Last 4 bytes of payload are nonce suffix\nencrypted = payload[:-4]         # Rest is encrypted ciphertext\nbox = nacl.secret.Aead(secret_key)\ndecrypted = box.decrypt(encrypted, rtp_header, bytes(nonce))  # header as AAD\n```\n\nAfter decrypt, skip encrypted extension data if present, then strip RTP\npadding (RFC 3550 §5.1: if padding bit set, last byte = padding count).\n\n### Opus decode\n\nOne `discord.opus.Decoder()` per SSRC. Each user needs independent decoder\nstate. If decode fails, reset (destroy and recreate) the decoder for that SSRC.\n\n### SSRC → user_id mapping (three strategies)\n\nDiscord assigns each user a random SSRC (synchronization source identifier).\nMapping SSRC to user_id is needed to know who spoke.\n\n1. **SPEAKING opcode 5** (primary): Wrap the voice websocket hook to capture\n   SPEAKING events, which carry `{ssrc, user_id}` pairs.\n2. **voice_states dict** (fallback): When bot rejoins, Discord may not resend\n   SPEAKING events. Use `channel.voice_states` (populated by\n   VOICE_STATE_UPDATE events — doesn't need GUILD_MEMBERS intent).\n3. **Auto-assign** (last resort): If only 1 non-bot member, auto-assign. If\n   multiple, assign to first unmapped member.\n\n### Silence detection\n\n```python\nSILENCE_THRESHOLD = 0.8    # seconds of silence → end of utterance\nMIN_SPEECH_DURATION = 0.3  # minimum seconds to process (skip noise)\n```\n\nThe listen loop polls `check_silence()` every 200ms. When a speaker stops\ntalking for `SILENCE_THRESHOLD` seconds AND the buffer is at least\n`MIN_SPEECH_DURATION` long, the utterance is emitted as completed PCM.\n\n### UDP keepalive\n\nDiscord drops the UDP voice session after ~60s of silence. Send a keepalive\npacket every 30s:\n```python\nvc._connection.send_packet(b'\\xf8\\xff\\xfe')\n```\n\n### PCM → WAV conversion\n\nDiscord sends 48kHz stereo 16-bit signed PCM. Whisper STT needs 16kHz mono:\n```bash\nffmpeg -y -loglevel error -f s16le -ar 48000 -ac 2 -i input.pcm -ar 16000 -ac 1 output.wav\n```\n\n## Meeting stop: race condition handling (CRITICAL)\n\nThe `\u002Fmeeting stop` command has a critical race condition that, if handled\nnaively, produces empty atas. The fix has three layers:\n\n### Layer 1: `_stopping` flag\n\nInstead of immediately removing the meeting from active sessions, mark it as\n`_stopping = True`. This lets in-flight transcriptions from the listen loop\nstill record their results.\n\n### Layer 2: `receiver.pause()`\n\nImmediately stop capturing NEW audio. This prevents phantom audio snippets\nduring the flush\u002Fgrace period that Whisper would hallucinate into spurious\ntranscripts posted AFTER the meeting ended.\n\n### Layer 3: Polling grace period (up to 120s)\n\nAfter flush, poll `meeting.entries` for new entries every 2s. If new entries\narrive (in-flight transcription completed), wait one more cycle. If no new\nentries after 10s, assume nothing is in-flight and proceed.\n\n```python\npre_wait_count = len(meeting.entries)\nwhile waited \u003C max_wait:\n    await asyncio.sleep(poll_interval)\n    if len(meeting.entries) > pre_wait_count:\n        pre_wait_count = len(meeting.entries)\n        await asyncio.sleep(poll_interval)  # one more cycle\n        if len(meeting.entries) == pre_wait_count:\n            break  # No more in-flight\n    elif waited >= 10.0:\n        break  # Nothing in-flight\n```\n\nWith Groq STT (sub-second), this typically completes in 10s (the minimum).\nWith local `medium` on CPU, it can take up to 120s for a 60s utterance.\n\n### Layer 4: Flush remaining buffers\n\nBefore the grace period, call `receiver.flush()` to capture any partial\nutterance that hasn't triggered silence detection yet. Transcribe each flushed\nbuffer and record the results.\n\n## Whisper hallucination filter\n\nWhisper commonly produces fluent but completely wrong text on silent or\nnear-silent audio. Known hallucinations:\n\n- English: \"thank you\", \"thanks for watching\", \"subscribe to my channel\", \"bye\", \"you\"\n- Russian: \"продолжение следует\"\n- French: \"sous-titres réalisés par la communauté d'amara.org\"\n- Italian: \"sottotitoli creati dalla comunità amara.org\"\n- Japanese: \"ご視聴ありがとうございました\"\n\nPlus a regex for repetitive patterns: `^(?:thank you|thanks|bye|you|ok|the end|\\.|\\s|,|!)+$`\n\n## LLM meeting summary\n\n### System prompt\n```\nVocê é um assistente especializado em redigir atas de reuniões. Analise a\ntranscrição e extraia informações estruturadas em português. Seja conciso e\npreciso. Responda APENAS em formato JSON válido.\n```\n\n### User prompt structure\n```\nAnalise a seguinte transcrição de reunião e produza um JSON com esta estrutura:\n{\n  \"summary\": \"Resumo executivo de 2-4 frases\",\n  \"decisions\": [\"Lista de decisões tomadas\"],\n  \"tasks\": [\"Lista de tarefas com responsável\"]\n}\n```\n\nThe LLM corrects STT errors in the summary (e.g., \"Swagra\" → \"Swagger\",\n\"Vood S\" → \"Vue.js\") because it understands context. This is why the glossary\nprompt on the STT layer + LLM summarization together produce clean atas.\n\n### Regex fallback\n\nIf the LLM call fails, regex extraction using Portuguese keywords\n(decidimos, aprovado, combinado, vou, vai, responsável, até, prazo) provides\na basic fallback.\n\n## Output format\n\n```markdown\n# Ata — [Meeting Title]\n\nData: 2026-06-06 20:47 UTC\nDuração: 1min\nCanal de voz: [channel name]\nParticipantes: [names]\n\n## Resumo executivo\n[LLM-generated 2-4 sentence summary]\n\n## Decisões\n- [Decision 1]\n- [Decision 2]\n\n## Tarefas \u002F action items\n- [Task 1 with responsible party]\n- [Task 2 with responsible party]\n\n## Transcrição\n- `2026-06-06T20:46:27Z` **felippe:** Full transcript line 1\n- `2026-06-06T20:47:21Z` **felippe:** Full transcript line 2\n```\n\nSaved to: `\u003Coutput_dir>\u002F\u003Cguild_id>\u002F\u003Ctimestamp>-\u003Ctitle>.md` with private local permissions.\nReturned to the authorized command invoker as an ephemeral `.md` file attachment with a preview.\n\n## Configuration\n\nSee `templates\u002Fconfig.yaml` for a complete annotated config template and\n`templates\u002Fenv.example` for required environment variables.\n\n### Key tuning constants\n\n| Setting | Default | Impact |\n|---|---|---|\n| `silence_threshold` | 0.8s | Lower = faster utterance splits, but may cut natural pauses. Higher = longer utterances, but slower stop |\n| `min_speech_duration` | 0.3s | Lower = captures more (including noise). Higher = skips short interjections |\n| `keepalive_interval` | 30s | Must be \u003C 60s or Discord drops the UDP session |\n| `grace_period_max` | 120s | Max wait after stop for in-flight transcriptions. With Groq, 10s suffices |\n| `grace_period_poll` | 2.0s | Poll interval during grace period |\n\n## Performance characteristics (validated)\n\nTest setup: Hetzner Cloud server, 20 vCPU, no GPU, Portuguese audio.\n\n| Metric | Local Whisper medium (CPU) | Groq whisper-large-v3-turbo |\n|---|---|---|\n| 51s audio transcription time | ~47s (1x realtime) | **0.4s** (~127x realtime) |\n| Quality (PT) | Good — some dropped words | **Excellent** |\n| Stop grace period needed | Up to 120s | 10s (minimum) |\n| Ata completeness risk | Empty if stop arrives before transcription | None |\n| Cost | Free (CPU) | Free (Groq free tier) |\n\n## Known pitfalls\n\n1. **UDP firewall blocks voice**: Cloud firewalls that aren't stateful for UDP\n   silently drop Discord voice return packets. Symptom: `channel.connect()`\n   hangs 60s then fails with empty exception. Fix: allow UDP 32768-65535\n   inbound.\n\n2. **GUILD_MEMBERS intent disabled**: Multi-speaker identification fails\n   silently. The bot can hear audio but can't map SSRC to usernames. Fix:\n   enable in Discord Developer Portal + set `intents.members = True`.\n\n3. **STT language not set**: If language is empty or wrong, Whisper\n   hallucinates — Portuguese speech produces fluent Romanian text. Fix: set\n   `stt.groq.language: pt` (or appropriate ISO 639-1 code).\n\n4. **Whisper base model for PT**: The `base` model produces duplicated phrases,\n   dropped words, and wrong-language hallucinations even with correct config.\n   Use `medium` minimum for local, or Groq `large-v3-turbo` for cloud.\n\n5. **Race condition on stop**: If meeting is popped before flush\u002Fgrace period\n   completes, in-flight transcriptions are lost. Fix: `_stopping` flag +\n   `pause()` + polling grace period (see Meeting stop section above).\n\n6. **Missing UDP keepalive**: Discord drops the voice session after ~60s of\n   silence. Fix: send keepalive packet every 30s.\n\n7. **RTP padding not stripped**: If the padding bit is set but padding isn't\n   stripped, corrupted bytes reach Opus decode and produce garbled audio.\n   Fix: check padding bit, strip `payload[-1]` bytes from decrypted payload.\n\n8. **Shared Opus decoder across SSRCs**: Each user needs independent decoder\n   state. Sharing a decoder corrupts audio for all speakers. Fix: one\n   `Decoder()` per SSRC.\n\n9. **Writing API keys to .env with sed**: Inline `sed -i` with API key values\n   corrupts the value due to quoting\u002Fescaping. Fix: use a Python script that\n   writes by line number, then set `chmod 600 .env`.\n\n## Integrating into an existing bot framework\n\nThe reference implementation (`scripts\u002Fmeeting_bot.py`) is self-contained but\neach component can be extracted and adapted:\n\n- **VoiceReceiver** → Drop into any discord.py bot. Only needs a VoiceClient\n  and a callback for completed utterances.\n- **STT function** → `transcribe_groq(wav_path, config)` is a standalone\n  function. Swap Groq for any provider.\n- **LLM summarizer** → `generate_llm_summary(meeting, config)` works with\n  approved OpenAI-compatible remote endpoints, local loopback endpoints, or an\n  explicitly opted-in custom remote endpoint with a provider-specific API key env.\n- **Markdown generator** → `generate_meeting_markdown(meeting, llm_result)`\n  is pure string formatting, no dependencies.\n\nFor Hermes Agent specifically, these components are already integrated in:\n- `plugins\u002Fplatforms\u002Fdiscord\u002Fadapter.py` — VoiceReceiver class\n- `gateway\u002Frun.py` — meeting lifecycle + LLM summary\n- `tools\u002Ftranscription_tools.py` — STT with multi-provider support\n\n## References\n\n- `scripts\u002Fmeeting_bot.py` — Complete standalone reference implementation\n- `templates\u002Fconfig.yaml` — Annotated configuration template\n- `templates\u002Fenv.example` — Environment variable template\n- `references\u002Ftroubleshooting.md` — Detailed debugging guide\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"description":7},"Hermes Agent","2.0.0",{"hermes":27},{"tags":28,"related_skills":39},[29,30,31,32,33,34,35,36,37,38],"discord","voice","meeting","transcription","whisper","groq","atas","stt","opus","rtp",[],"main","b5c05537c2a696d4f96f17b51e5e2951fcab8f5b","skills\u002Fsocial-media\u002Fdiscord-voice-meetings","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills","https:\u002F\u002Fgithub.com\u002Ffmercurio","2026-11-07 04:26:06",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add fmercurio\u002Fclawdia-custom-skills --skill discord-voice-meetings",{"tool":52,"command":53},"bunx","bunx skills add fmercurio\u002Fclawdia-custom-skills --skill discord-voice-meetings",{"tool":55,"command":56},"pnpm","pnpm dlx skills add fmercurio\u002Fclawdia-custom-skills --skill discord-voice-meetings","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002FSKILL.md",true,[60,66,72,76,80,84,90,94],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Ftroubleshooting.md","REFERENCE","参考文档",21681,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Freferences\u002Ftroubleshooting.md",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Faudit_helpers.py","SCRIPT","脚本",4655,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Fscripts\u002Faudit_helpers.py",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Faudit-meeting-pipeline.py",8364,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Fscripts\u002Faudit-meeting-pipeline.py",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fmeeting_bot.py",66285,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Fscripts\u002Fmeeting_bot.py",{"path":81,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":82,"sourceHtmlUrl":83},"templates\u002Fconfig.yaml",10135,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Ftemplates\u002Fconfig.yaml",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"templates\u002Fenv.example","OTHER","其他",1990,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Ftemplates\u002Fenv.example",{"path":91,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":92,"sourceHtmlUrl":93},"tests\u002Ftest_audit_pipeline_security.py",4865,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Ftests\u002Ftest_audit_pipeline_security.py",{"path":95,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":96,"sourceHtmlUrl":97},"tests\u002Ftest_meeting_bot_privacy.py",21018,"https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsocial-media\u002Fdiscord-voice-meetings\u002Ftests\u002Ftest_meeting_bot_privacy.py",[99,106,112,118,124,129],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M75BDD9N7RSFBWGDNTZK9NYT","overlay-skill","Fixture skill for deployment planner tests.","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Ftools\u002Fskill_deploy\u002Ftests\u002Ffixtures\u002Fworkspace\u002Fskills\u002Fproductivity\u002Foverlay-skill\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M75BDAV2X86DYXADGV8B1ZCZ","candidate-skill","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Ftools\u002Fskill_deploy\u002Ftests\u002Ffixtures\u002Fworkspace\u002Fskills\u002Fproductivity\u002Fcandidate-skill\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M75BD9NPF9EKPHAZMBVDM8GN","builtin-collision","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Ftools\u002Fskill_deploy\u002Ftests\u002Ffixtures\u002Fworkspace\u002Fskills\u002Fproductivity\u002Fbuiltin-collision\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M75BD7NV55ZMQVC0GY7FSG2F","approved-global","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Ftools\u002Fskill_deploy\u002Ftests\u002Ffixtures\u002Fworkspace\u002Fskills\u002Fproductivity\u002Fapproved-global\u002FSKILL.md",[],[],{"skillNo":125,"name":120,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":19},"01M75BD54973NF4BHPZR3F4Z8A","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Ftools\u002Fskill_deploy\u002Ftests\u002Ffixtures\u002Fworkspace\u002Fskills\u002Fproductivity\u002Fapproved-global-duplicate\u002FSKILL.md",[],[],{"skillNo":130,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":19},"01M75BD2N1FJZ142MYPJ19R29Z","https:\u002F\u002Fgithub.com\u002Ffmercurio\u002Fclawdia-custom-skills\u002Fblob\u002Fmain\u002Ftools\u002Fskill_deploy\u002Ftests\u002Ffixtures\u002Fworkspace\u002Fruntime\u002Fskills\u002Fproductivity\u002Foverlay-skill\u002FSKILL.md",[],[]]