Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

docs(skills): update whisper skill with correct transcription priority

Naiyuan Qing7b885673da44
diff --git a/skills/whisper/SKILL.md b/skills/whisper/SKILL.md
index 1748a79d15..fa9a128dfd 100644
--- a/skills/whisper/SKILL.md
+++ b/skills/whisper/SKILL.md
@@ -1,7 +1,7 @@
---
name: Audio Transcription
-description: Transcribe audio files using local Whisper CLI (fallback when API is unavailable)
-version: 1.0.0
+description: Transcribe audio files using local Whisper CLI when automatic pre-processing is unavailable
+version: 1.1.0
metadata:
emoji: "πŸŽ™οΈ"
requires:
@@ -23,14 +23,33 @@ userInvocable: false
disableModelInvocation: false
---
-## Audio Transcription (Local Fallback)
+## Audio Transcription (Agent Fallback)
-Voice messages from channels are normally transcribed automatically via the OpenAI Whisper API before reaching you. This skill is only needed when the API is unavailable.
+Voice messages from channels are pre-processed before reaching you. The transcription
+priority is:
-If you receive `[audio message received]` with a `File:` path (instead of `[Voice Message]` with a transcript), it means the API transcription was not available. Use local whisper to transcribe:
+1. **Local whisper CLI** (free, offline) β€” requires `whisper` or `whisper-cli` in PATH
+2. **OpenAI Whisper API** β€” requires an OpenAI API key in credentials
+3. **No provider available** β€” you receive a raw file path instead of a transcript
+
+When both providers are unavailable, you will receive `[audio message received]` with a
+`File:` path instead of `[Voice Message]` with a transcript. Use local whisper to
+transcribe manually:
```
whisper "<file_path>" --model base --output_format txt --output_dir /tmp
```
Then read the `.txt` file from `/tmp/` and respond based on the transcribed content.
+
+### Setup
+
+To enable automatic local transcription (recommended):
+
+```bash
+brew install openai-whisper
+```
+
+The first run will download the `base` model (~139MB) to `~/.cache/whisper/`.
+No app restart is required β€” the binary is detected automatically on the next
+voice message.
diff --git a/src/channels/manager.ts b/src/channels/manager.ts
index 5cbe7425ce..a7d5f248c7 100644
--- a/src/channels/manager.ts
+++ b/src/channels/manager.ts
@@ -265,8 +265,6 @@ export class ChannelManager {
// Keep heartbeat acknowledgements internal (same behavior as desktop/gateway stream path).
if (isHeartbeatAckEvent(event)) {
if (event.type === "message_end") {
- this.stopTyping();
- this.removeAckReaction();
this.aggregator = null;
}
return;