Przejdź do treści
Biblioteka skilli
AI i agenci · Integracja z narzędziem

Voice for Agent

/Voice for Agent

Pomaga zainstalować i sterować usługą mowy dla agentów, sprawdzać jej stan, zatrzymywać mowę i usuwać narzędzie.

Licencja
MIT
Ostatnia zmiana repozytorium
05.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format15 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pomaga zainstalować i sterować usługą mowy dla agentów, sprawdzać jej stan, zatrzymywać mowę i usuwać narzędzie.

Oryginalny opis (EN)

Install and use output-only text-to-speech for AI agents. Use when the user wants an agent to speak summaries aloud, install voice-for-agent from a GitHub URL, speak selected text with a double-tap Ctrl hotkey, control the hotkey systemd service, stop speech, check TTS status, or remove the local speech tool.

Jak działa

  1. Requirements
  2. Install from a GitHub URL
  3. Use
  4. Double-tap Ctrl service
  5. Update
  6. Remove
  7. Rules
  8. Platform and privacy
  9. Defaults
  10. Chat speech vs global hotkey
Sekcje z nagłówków SKILL.md, w oryginale · 192 linii, 714 słów
Podgląd SKILL.md
---
name: Voice for Agent
description: Install and use output-only text-to-speech for AI agents. Use when the user wants an agent to speak summaries aloud, install voice-for-agent from a GitHub URL, speak selected text with a double-tap Ctrl hotkey, control the hotkey systemd service, stop speech, check TTS status, or remove the local speech tool.
license: MIT
compatibility: Linux, WSL
---

# Voice for Agent

This skill installs a small **output-only** text-to-speech tool. The agent
writes text; the tool cleans it and speaks it. There is no microphone,
speech-to-text, or realtime duplex chat.

The full user guide is `README.md` in the repository root. The operations guide
is `AGENT_GUIDE.md`. This file is the short path for an agent.

## Requirements

- Linux or WSL, with audio output.
- Python 3.10–3.13.
- One player: `mpv`, `ffplay`, `paplay`, or `aplay`.
- For the hotkey service: systemd user units, and the user in the `input` group.

## Install from a GitHub URL

Use the repository URL, not the `/tree/...` folder URL.

```bash
TARGET="${XDG_DATA_HOME:-$HOME/.local/share}/voice-for-agent"

if [ -d "$TARGET/.git" ]; then
  git -C "$TARGET" pull --ff-only
else
  git clone --depth 1 https://github.com/rishb0/voice-for-agent.git "$TARGET"
fi

cd "$TARGET"
bash install.sh
bash menu.sh status
```

Or, from a checkout:

```bash
bash bootstrap.sh --repo https://github.com/rishb0/voice-for-agent.git
```

The bootstrap can also register the MCP server globally in OpenCode:

```bash
bash bootstrap.sh \
  --repo https://github.com/rishb0/voice-for-agent.git \
  --register-opencode
```

Manual OpenCode registration:

```bash
TARGET="${XDG_DATA_HOME:-$HOME/.local/share}/voice-for-agent"
opencode mcp add voice-for-agent --global -- \
  "$TARGET/.venv/bin/python" "$TARGET/mcp_server.py"
```

## Use

Preferred when the MCP server is registered:

- `speak(text)` — queue a 2–4 sentence plain-language summary.
- `stop_speaking()` — stop current speech and clear the queue.

CLI fallback:

```bash
bash menu.sh speak "Build finished. All tests passed."
bash menu.sh async "Build finished. All tests passed."
bash menu.sh speak-clipboard
bash menu.sh speak-selection
bash menu.sh toggle
bash menu.sh stop
```

Status and diagnostics:

```bash
bash menu.sh status
bash menu.sh speaking
bash menu.sh log
bash menu.sh voices
bash menu.sh test
bash menu.sh config
```

## Double-tap Ctrl service

Install once:

```bash
bash menu.sh service install
```

Then control it with `systemctl --user`:

```bash
systemctl --user status voice-for-agent-hotkey.service
systemctl --user start voice-for-agent-hotkey.service
systemctl --user stop voice-for-agent-hotkey.service
systemctl --user restart voice-for-agent-hotkey.service
systemctl --user enable voice-for-agent-hotkey.service
systemctl --user disable voice-for-agent-hotkey.service
journalctl --user -u voice-for-agent-hotkey.service -n 50 --no-pager
```

Remove it:

```bash
bash menu.sh service remove
```

Tap `Ctrl` twice to speak the selection or the clipboard. Tap it twice again to
stop. The service needs `input` group membership; ask the user to run
`sudo usermod -aG input "$USER"` and log out if the log says
`no readable /dev/input devices`.

## Update

```bash
git pull --ff-only
bash install.sh
bash menu.sh service install     # only if the unit or service changed
bash menu.sh status
```

## Remove

Confirm with the user first:

```bash
bash menu.sh uninstall --yes
```

Preview:

```bash
bash menu.sh uninstall --dry-run
```

Keep voices and config:

```bash
bash menu.sh uninstall --yes --keep-voices --keep-config
```

## Rules

1. Do not run `sudo`. If a system package is missing, show the user the exact
   `apt` command printed by the installer and wait.
2. Do not install Python packages globally. `install.sh` uses a local `.venv/`.
3. Do not delete files manually. Use `uninstall.sh`.
4. Do not read code, commands, paths, or long lists aloud. Say what they are.
5. Keep the full detailed answer on screen. Speak only when the user asks or
   after "voice on".
6. Do not commit `.venv/`, `voices/*.onnx`, `.run/`, `.tmp/`, or `config.json`.
7. If the user asks to stop talking or mute, call `stop_speaking` and do not
   speak again until told otherwise.
8. Do not edit the generated unit in `~/.config/systemd/user/` by hand. Change
   `systemd/voice-for-agent-hotkey.service.in` and rerun
   `bash menu.sh service install`.

## Platform and privacy

- Linux and WSL are supported.
- macOS and native Windows are not supported by the current installer.
- `edge-tts` sends text to Microsoft. Use `--engine piper` for private text.
- Piper runs locally.
- The hotkey service reads `/dev/input` but stores no keystrokes.
- No API keys, accounts, telemetry, or network listeners.

## Defaults

- Engine: `edge`
- Edge voice: `en-IN-PrabhatNeural` (Indian English male, reads Hinglish)
- Hindi voice: `hi-IN-MadhurNeural`, used automatically for Devanagari text
- Offline voice: `en_US-ljspeech-high`
- Rate: `+0%`, pitch: `+0Hz`
- Spoken limit: `1200` characters
- License: MIT

## Chat speech vs global hotkey

- Chat `speak` comes from the MCP server, so it only works while the agent
  client is running.
- The double-tap Ctrl service is a systemd user unit and works in every app.

Stopping the hotkey service does not break chat speech, and closing the agent
does not break the hotkey.

Voices are synthetic. Never describe them as a real person's voice.

Wersje

RepozytoriumWynikLicencja
Ta strona · rishb0/voice-for-agent90MIT
rishb0/voice-for-agent90MIT

Migawka bazy z 13.11.2026 · wersja paczki c754ab990443 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100deepgram-js-text-to-speech
    Obsługuje w JavaScripcie i TypeScripcie Deepgram Text-to-Speech v1 (/v1/speak): jednorazowa synteza mowy przez REST i strumieniowanie przez WebSocket.
  • 100voice
    Zamienia tekst na mowę i transkrybuje nagrania: konfiguruje głos, testuje go i odpowiada na polecenia czytania na głos.
  • 87speak
    Zamienia tekst na mowę modelem chatterbox-nano, z możliwością klonowania głosu, dla agentów głosowych i audiobooków.
  • 91awvoice
    Zamienia mowę na tekst i tekst na mowę przez usługę hostowaną we własnym zakresie, także w awatarze biurkowym.
  • 87zerogpu-speak
    Zamienia tekst na mowę modelem chatterbox-nano, z klonowaniem głosu, dla agentów głosowych i audiobooków.
  • 100deepgram-python-text-to-speech
    Obsługuje w Pythonie Deepgram Text-to-Speech v1 (/v1/speak): jednorazowa synteza przez REST, strumieniowanie przez WebSocket oraz składanie tekstu pomocnikiem TextBuilder.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.