Skip to content
Back to skills

Local Voice

ASecurity

Speak text aloud in any voice, free and fully on your own Mac (Chatterbox, runs locally, nothing leaves the machine). Use when the user wants text read out loud as a .wav file without an API key or a subscription, wants a local text-to-speech voice, or wants to clone their own voice from a short sample. In Hebrew - "תקריא לי", "דבר בקול שלי", "קול מקומי", "הקראה בחינם".

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentspythongobashgitapi

Works with

  • api

Security analysis

A93/100
  • highPerforms destructive filesystem operations

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add ManceRayder42/shufi --skill local-voice --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Local Voice?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Local Voice
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mancerayder42-local-voice/badge)](https://www.skillsdirectory.com/skills/mancerayder42-local-voice)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: local-voice
description: Speak text aloud in any voice, free and fully on your own Mac (Chatterbox, runs locally, nothing leaves the machine). Use when the user wants text read out loud as a .wav file without an API key or a subscription, wants a local text-to-speech voice, or wants to clone their own voice from a short sample. In Hebrew - "תקריא לי", "דבר בקול שלי", "קול מקומי", "הקראה בחינם".
---

# Local voice

Turns text into a spoken `.wav` file on this computer. No account, no API key, no
per-minute cost, and the text never leaves the machine. It can also speak in a voice
cloned from a short sample the user provides.

Engine: [Chatterbox](https://github.com/resemble-ai/chatterbox) (multilingual, 23
languages). Shufi does not bundle it. The user installs it from PyPI with the
scripts in this folder, after saying yes.

For a cloud voice with a polished library, see the `voice` skill (ElevenLabs). This
one is the free, offline option.

## Honest notes (tell the user before installing)

- **Retired upstream.** Chatterbox's own README says that as of August 2026 it is
  retired research and no longer maintained. It works today; nobody will fix it
  if it breaks.
- **Watermark.** Every file it makes carries Resemble AI's imperceptible Perth
  watermark. It cannot be switched off here, and it is not audible.
- **Hardware.** Apple Silicon Mac, or a machine with an NVIDIA GPU. Intel Macs and
  CPU-only machines are not supported (the scripts stop with a plain message).
- **Size and time.** About 3.6 GB on a Mac, about 6 GB on NVIDIA Linux, and about
  20 minutes, mostly the model download. A fresh Python 3.11 may be fetched by
  `uv` if the machine has none.

## Setup (the agent follows these steps in order)

1. **Explain, then ask.** Say what will be downloaded (the engine and its model,
   about 3.6 GB on a Mac / 6 GB on NVIDIA), where it goes
   (`~/.local/share/chatterbox`, plus the Hugging Face cache), how long it takes,
   and the three honest notes above (retired, watermark, hardware). Then ask.
   Run the plain `scripts/install.sh` (no flag) to print the exact plan; it
   changes nothing and exits with code 2.
2. **Only after a visible yes**, run `scripts/install.sh --yes`. It needs `uv`
   (<https://docs.astral.sh/uv/>); if `uv` is missing the script says how to get it
   and stops (exit 4). It never installs `uv` for you. Other stops: exit 3 means
   unsupported hardware.
3. **Hebrew is a separate opt-in, only on an explicit ask.** If the user asks for
   Hebrew, run `scripts/install-hebrew.sh` (no flag) to show the notice, read it to
   them, ask, and only after a visible yes run `scripts/install-hebrew.sh --yes`.
   Never offer it unprompted and never run it as part of step 2.

The install puts a command on the path: `shufi-say` (in `~/.local/bin`). If that
folder is not on `PATH`, the installer prints the one line to add.

## Say -> what happens

| Say | What happens |
|---|---|
| "Read this paragraph aloud" | `shufi-say "..."` writes a `.wav` in the current folder and prints its path. |
| "Read this file aloud" | Pipe the text in: `shufi-say - < notes.txt`. |
| "Say it in my voice using me.wav" | Cloned voice from the sample, but only for the user's own voice or with the speaker's consent (see rules below). |
| "Say it in Spanish" | `shufi-say --lang es "..."` (any of the 23 Chatterbox languages). |
| "Save it as intro.wav" | `shufi-say -o intro.wav "..."`. |
| "Set up Hebrew voice" | Shows the Dicta opt-in notice. Nothing is downloaded until the user says yes. |
| "Remove the local voice" | The uninstall commands below, after a yes. |

Usage: `shufi-say [--lang CODE] [--voice REF.wav] [-o OUT.wav] [TEXT | -]`.
Default language is `en`. Run `shufi-say --help` for the list. Long text is split
into sentences and joined into one file.

## Voice-cloning rules

- Clone only the user's own voice, or a voice whose owner has given explicit
  consent. If the user says it is someone else's voice and does not mention
  consent, ask before doing anything.
- Never use it to impersonate a real person, to fake a statement, or to deceive a
  listener. Say what this is for: narration, accessibility, drafts, the user's own
  voice assistant.
- **Never open the microphone.** The scripts here have no recording code at all.
  If the user wants a reference sample, they record it themselves (a few seconds
  to a minute of clean speech, saved as a `.wav`) and give the file's path. The
  agent never records unless the user explicitly says yes to that exact step, and
  even then uses their own tool, not these scripts.
- `--voice` only reads a file that already exists. Treat the sample as private:
  do not upload it anywhere.

## Hebrew (opt-in)

Chatterbox speaks Hebrew, but needs the text to carry vowel marks first. Upstream's
own step for that is broken in the published package (it fails silently and Hebrew
comes out unvowelled), so `shufi-say` does the step itself using the `dicta-onnx`
package and a model file. Shufi ships none of it, which is why Hebrew is a
separate, explicit choice:

- `dicta-onnx` on PyPI has **no license file**, so its terms are unclear.
- The ~307 MB model file is downloaded from the wrapper author's GitHub release. It
  is an ONNX conversion of Dicta's model, which is CC-BY-4.0. Credit Dicta if you
  publish the audio or anything derived from it.
- It is the user's own download, made only after a yes. `scripts/install-hebrew.sh`
  writes the date and this notice to `~/.local/share/chatterbox/dicta/OPT-IN.txt`.

Without it, `shufi-say --lang he` stops with a message that points to
`install-hebrew.sh`. It never downloads anything by itself.

## Environment

| Env | Default | Meaning |
|---|---|---|
| `CHATTERBOX_HOME` | `~/.local/share/chatterbox` | Where the venv, the model helper and the Hebrew files live |
| `SHUFI_BIN_DIR` | `~/.local/bin` | Where the `shufi-say` command is written |
| `SHUFI_SAY_DEVICE` | auto (Apple GPU, else NVIDIA) | Force `mps` or `cuda` |

## Credits and licences

- **Chatterbox**: MIT, Copyright (c) 2025 Resemble AI. Not bundled. Installed from
  PyPI (`chatterbox-tts`) by the user. Its model weights come from the Hugging Face
  repo `ResembleAI/chatterbox`. Perth watermark by Resemble AI.
- **Dicta** (Hebrew only, opt-in): model `dicta-il/dictabert-large-char-menaked`,
  CC-BY-4.0, credit Dicta. The ONNX conversion and `dicta-onnx` are by a third
  party; see the Hebrew section.
- The scripts in this folder are original to this project (MIT).

## Uninstall

```bash
rm -rf ~/.local/share/chatterbox ~/.local/bin/shufi-say
```

The downloaded model sits in the Hugging Face cache, outside that folder. To free
those ~3.2 GB too, remove `~/.cache/huggingface/hub/models--ResembleAI--chatterbox`.

Files in this skill

  • SKILL.md6.6 KB
  • scripts/install-hebrew.sh2.5 KB
  • scripts/install.sh4.2 KB
  • scripts/shufi_say.py6.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.