CommunityProgramación y desarrollogithub.com

sherpa-onnx-tts

Síntesis de voz local mediante sherpa-onnx (sin conexión, sin nube).

¿Qué es sherpa-onnx-tts?

Esta habilidad permite convertir texto a voz de forma local y offline utilizando la CLI de sherpa-onnx, sin necesidad de servicios en la nube. Es ideal para desarrolladores y usuarios que desean generar audio de voz en sus propios entornos sin depender de conexiones externas. Funciona sobre cualquier sistema operativo compatible con sherpa-onnx (Linux, macOS, Windows) y se integra fácilmente en OpenClaw configurando rutas de ejecución y modelo. Para usarla, basta con descargar un runtime específico para el sistema operativo y un modelo de voz, configurar las variables de entorno correspondientes, y ejecutar el script wrapper que genera un archivo WAV con la locución deseada. Soporta diferentes voces mediante la selección de modelos, y opciones avanzadas como rutas personalizadas de archivos de tokens o datos.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/sherpa-onnx-tts

Installed? Explore more Programación y desarrollo skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

¿Qué hace sherpa-onnx-tts?

Síntesis de voz local mediante la CLI offline de sherpa-onnx.

Instalación

  1. Descarga el runtime para tu sistema operativo (se extrae en $OPENCLAW_STATE_DIR/tools/sherpa-onnx-tts/runtime, por defecto ~/.openclaw/tools/sherpa-onnx-tts/runtime)
  2. Descarga un modelo de voz (se extrae en $OPENCLAW_STATE_DIR/tools/sherpa-onnx-tts/models, por defecto ~/.openclaw/tools/sherpa-onnx-tts/models)

Primero, resuelve el directorio de estado activo:

STATE_DIR="${OPENCLAW_STATE_DIR:-$HOME/.openclaw}"

Luego, escribe esas rutas resueltas en el archivo de configuración activo de OpenClaw ($OPENCLAW_CONFIG_PATH, por defecto ~/.openclaw/openclaw.json):

{
  skills: {
    entries: {
      "sherpa-onnx-tts": {
        env: {
          SHERPA_ONNX_RUNTIME_DIR: "/ruta/a/tu/state-dir/tools/sherpa-onnx-tts/runtime",
          SHERPA_ONNX_MODEL_DIR: "/ruta/a/tu/state-dir/tools/sherpa-onnx-tts/models/vits-piper-en_US-lessac-high",
        },
      },
    },
  },
}

El wrapper se encuentra en la carpeta de esta habilidad. Ejecútalo directamente o añade el wrapper al PATH:

export PATH="{baseDir}/bin:$PATH"

Uso

{baseDir}/bin/sherpa-onnx-tts -o ./tts.wav "Hola desde la TTS local."

Notas:

  • Elige un modelo diferente de la versión tts-models de sherpa-onnx si deseas otra voz.
  • Si el directorio del modelo contiene varios archivos .onnx, establece SHERPA_ONNX_MODEL_FILE o usa --model-file.
  • También puedes usar --tokens-file o --data-dir para sobrescribir los valores predeterminados.
  • Windows: ejecuta node {baseDir}\bin\sherpa-onnx-tts -o tts.wav "Hola desde la TTS local."

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

Skills relacionados