Command Palette

Search for a command to run...

Назад к скиллам
скилл № 65040

pan-tts

Built-in dashboard text-to-speech playback plus optional external sidecar support through Qwen3-TTS (or any local TTS engine). The dashboard speaks…

БесплатноЗапускает вложенные скрипты
eltmonот eltmon★ 36 звёзд на GitHub

Установить pan-tts в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

pan-tts — Overdeck Activity TTS

Status: built into the dashboard when tts.enabled=true; external sidecar optional.

What It Is

Overdeck has built-in dashboard TTS playback for activity.tts events when tts.enabled=true in ~/.overdeck/config.yaml. The dashboard server resolves the configured voice and POSTs directly to the local Qwen3-TTS daemon, so no external subscriber is needed for the normal local-dashboard path.

pan-tts remains an optional external sidecar for users who want SSE-based TTS on a different machine or want to consume Overdeck's public event stream independently.

The TTS pipeline has three independent components:

  1. Dashboard playback service — subscribes to internal activity.tts events, resolves tts.voice / tts.statusVoice / tts.voiceMap, and forwards utterances to the daemon when dashboard TTS is enabled.
  2. Qwen3-TTS HTTP daemon (sync-sources/skills/pan-tts/scripts/tts_daemon.py) — keeps the 1.7B model resident in VRAM, synthesizes speech on demand via POST /speak, and plays audio through the default PipeWire sink. This is the component that actually drives the speaker.
  3. Optional SSE subscriber (~/Projects/pan-tts/) — connects to Overdeck's /events/stream, formats condensed utterances, and forwards them to the daemon for external playback.

Architecture

Overdeck dashboard             qwen-tts daemon            audio out
────────────────────────       ─────────────────          ─────────
activity.tts ──▶ resolve voice ──▶ POST /speak ──▶         PipeWire
                 mute/filter      synthesize (GPU)
                 priority voice   persistent pw-play stream

Optional external path:

/events/stream ──SSE──▶ pan-tts subscriber ──▶ POST /speak ──▶ PipeWire

Why keep the sidecar?

  • The dashboard path is the default local playback path when tts.enabled=true.
  • The GPU daemon is expensive to start (model load ~10s) and must stay resident.
  • The optional subscriber is cheap to restart and can run on another machine without touching the dashboard server.
  • The /speak contract is simple HTTP; anything that can POST JSON can use the daemon.

Qwen3-TTS HTTP Daemon

Source: sync-sources/skills/pan-tts/scripts/tts_daemon.py

The daemon loads Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice on cuda:0 at startup and exposes three endpoints:

  • POST /speak — queue a text utterance for synthesis and playback
  • POST /extract-embedding — generate a VoiceDesign audio clip and extract a 2048-dim speaker embedding for voice cloning
  • GET /health — queue depth and model status

Running the daemon

pan install                # creates packages/qwen-tts-linux-x64/.venv on Linux/CUDA
pan install --skip-tts-daemon
pan tts start
pan tts status
pan tts stop
pan tts restart
pan tts install-systemd

pan tts start uses tts.daemonHost and tts.daemonPort from ~/.overdeck/config.yaml, tracks the PID at ~/.overdeck/pids/qwen-tts.pid, and waits for /health before returning. Set tts.daemon.autoStart: true to have pan up start the daemon automatically; the default is off because the model cold-start and VRAM footprint are expensive.

The daemon auto-detects the default PipeWire sink and uses a persistent pw-play stream to avoid audio truncation caused by sink suspend/resume (see PipeWire Suspend below).

PipeWire Suspend

PipeWire suspends idle audio sinks by default. When a sink is suspended, the first ~50–500ms of audio can be dropped while the DAC resumes. The daemon handles this in play_audio():

  • A persistent pw-play subprocess is kept open for up to 10 seconds after the last utterance, keeping the sink RUNNING between consecutive announcements.
  • On cold starts (sink is SUSPENDED), 600ms of silence is prepended to cover the resume latency.
  • On warm playback (sink already RUNNING), only 50ms of safety silence is added.

This ensures short utterances (e.g. "PAN-1024 ready for merge") are never truncated, while the sink returns to SUSPENDED within a reasonable timeout once the queue is drained.

SSE Subscriber

Source: ~/Projects/pan-tts/src/pan_tts/

The subscriber is a small Python project that connects to Overdeck's SSE feed and speaks activity entries.

Configuration

~/.pan-tts/config.yaml:

endpoint: http://127.0.0.1:3000/events/stream
token: ${OVERDECK_EVENTS_TOKEN}   # optional, only if Overdeck has the token set

filters:
  types: [activity.tts]
  sources: [merge-agent, cloister, review-specialist, test-specialist]
  # issueId: PAN-537  # uncomment to focus on one issue

tts:
  engine: qwen3
  voice: default            # voice id from stream-voices VoiceDesign
  max_chars: 140            # truncate utterances longer than this
  rate: 1.1

queue:
  max_depth: 8            # subscriber-side queue; drops low-priority info events when full
  drop_info_when_full: true

Secrets (if any) go in ~/.overdeck.env alongside the rest of the pan

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read
  3. 03Write

Вложенные файлы

  • scripts/say.sh
  • scripts/tts_daemon.py

FAQ

Что делает скилл pan-tts?

Built-in dashboard text-to-speech playback plus optional external sidecar support through Qwen3-TTS (or any local TTS engine). The dashboard speaks activity.tts events directly when tts.enabled=true; the SSE sidecar remains optional for external TTS on another machine. Also exposes an ad-hoc speak helper (scripts/say.sh) so agents can announce one-off messages on demand.

Как установить скилл pan-tts?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pan-tts запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить pan-tts с