Token导航 LogoToken导航

Agent Skill · 效率

local-piper-tts-multilang-secure(本地 Piper tts 多语言安全)

local-piper-tts-multilang-secure 用于处理音频、语音、转写和声音素材相关任务,适合在 OpenClaw 中需要整理音频流程、转写内容或生成配音素材时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

local-piper-tts-multilang-secure 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 3,076。

总安装 19,741周安装 848GitHub Stars 公开资料未说明下载 6,920核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:local-piper-tts-multilang-secure(本地 Piper tts 多语言安全)
来源仓库:https://github.com/szafranski/local-piper-tts-multilang-secure
安装命令:
openclaw skills install local-piper-tts-multilang-secure
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install local-piper-tts-multilang-secure

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

通过 Piper 引擎实现多语言离线文本转语音,无需联网即可工作。自动识别语种并匹配对应语音包,支持细粒度音色切换。适用于教育课件、无障碍阅读与国际会议同传准备。首次使用需下载语言模型文件,占用约数百 MB 存储空间。

local-piper-tts-multilang-secure 属于效率类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install local-piper-tts-multilang-secure;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

local-piper-tts-multilang-secure 怎么安装?

在终端执行 openclaw skills install local-piper-tts-multilang-secure。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

local-piper-tts-multilang-secure 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

local-piper-tts-multilang-secure 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

local-piper-tts-multilang-secure 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

local-piper-tts-multilang-secure 用的人多吗?

公开数据是累计安装 19,741 次,近一周安装 848 次,下载 6,920 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

local-piper-tts-multilang-secure 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
local-piper-tts-multilang-secure

本地 Piper tts 多语言安全 · 本页

19,741—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
local-piper-tts-multilang-secure
description
Local offline text-to-speech via Piper TTS. Self-contained setup, automatic language detection, per-call voice selection. Extensible to any language. Writes output into the OpenClaw workspace.
metadata
{"openclaw":{"emoji":"🔊","requires":{"bins":["ffmpeg","python3"]}}}

local-piper-tts-multilang-secure

Description

Local (offline) text-to-speech via Piper.

Purpose: generate audio files (OGG/Opus by default) from text, fully offline. No sending is performed by the skill — sending is handled by the agent after the file is ready.

Features

  • Fully offline (no API keys)
  • Self-contained setup via setup() — installs Piper into an isolated venv, no system-wide changes
  • Automatic language detection for 20+ languages with English as default
  • Per-call voice selection via voice parameter
  • On-demand voice download via downloadVoices() — no models bundled, choose what you need
  • Voice removal via removeVoice() — clean up voices you no longer want
  • Extensible: add any language by installing a Piper .onnx model
  • Writes outputs into OpenClaw workspace

First-run flow — full agent procedure

Follow this sequence exactly when the user asks to use TTS for the first time in a setup context.

Step 1 — check status

const s = await status();

Step 2 — install Piper if needed

If s.stage is not-setup or no-piper:

  • Tell the user: *"To use local TTS I need to install piper-tts into the skill's venv (~30 seconds, one-time). OK to proceed?"*
  • Wait for confirmation, then call setup().
  • If setup returns a step containing "WARNING: espeak-ng not found", relay the warning and install instructions to the user.
  • Call status() again after setup completes.

Step 3 — offer voice download if no models present

If s.stage is no-model (Piper installed but no .onnx files):

3a. Offer English defaults: Explain that two English voices are available as defaults (~65 MB each):

  • en_US-ryan-medium — male, American
  • en_US-amy-medium — female, American

Ask which they want, or both: *"Which English voice(s) should I download? Ryan (male), Amy (female), or both?"*

3b. Ask about other languages: After the English choice, ask: *"Do you need any other languages? For example German, French, Spanish, Polish, Italian, Portuguese, Russian… Just tell me and I'll check what's available."*

If the user names a language, look up the available models at https://github.com/rhasspy/piper/blob/master/VOICES.md and list the options. Download whatever the user picks using the same downloadVoices() call.

3c. Download everything at once:

const result = await downloadVoices(['en_US-ryan-medium', 'en_US-amy-medium', /* + any others */]);
// result.downloaded — succeeded
// result.failed     — [{stem, error}] if any failed

Each voice requires internet access. Download takes ~1–2 min per voice on a typical connection.

If any downloads fail:

  • Check internet connectivity
  • Verify the stem exists at https://github.com/rhasspy/piper/blob/master/VOICES.md
  • Offer to retry

Step 4 — play samples so the user can choose

After downloading, generate a short audio sample for each downloaded voice and send it to the user.

For each voice, use a greeting in the voice's language:

  • English: "Hello, I'm [name]. How can I help you today?"
  • German: "Hallo, ich heiße [Name]. Wie kann ich Ihnen helfen?"
  • French: "Bonjour, je m'appelle [prénom]. Comment puis-je vous aider?"
  • Spanish: "Hola, me llamo [nombre]. ¿Cómo puedo ayudarte?"
  • Polish: "Cześć, mam na imię [imię]. Jak mogę Ci pomóc?"
  • Italian: "Ciao, mi chiamo [nome]. Come posso aiutarti?"
  • Portuguese: "Olá, meu nome é [nome]. Como posso ajudar?"
  • Russian: "Привет, меня зовут [имя]. Чем могу помочь?"
  • For other languages: use an equivalent native greeting.

Replace [name] with the voice name (e.g. *Ryan*, *Amy*, *Thorsten*).

const sample = await tts({ text: 'Hello, I\'m Ryan. How can I help you today?', voice: 'en_US-ryan-medium' });
// send sample.path to the user as a voice message

Send all samples, then ask: *"Which voice do you prefer? Or shall I download a different one?"*

Step 5 — choose speech speed

After the user picks a voice, ask: *"How fast should I speak? Normal is 100%. Some options: 125% (faster), 115% (slightly faster), 100% (normal), 80% (slower) — or tell me a percentage."*

Always present speed as a percentage to the user. Never mention lengthScale directly.

lengthScale is the internal duration multiplier — lower = faster. To convert: lengthScale = 1 / (speed% / 100). Examples:

  • 125% speed → lengthScale 0.8
  • 115% speed → lengthScale 0.87
  • 100% speed → lengthScale 1.0 (default)
  • 80% speed → lengthScale 1.25

Generate a short sample at the chosen speed so the user can hear the difference:

const sample = await tts({ text: 'This is how I sound at this speed.', voice: 'chosen-voice', lengthScale: 0.8 });
// send sample.path to the user

Confirm with the user, then offer to save it permanently: *"Should I save this as your default speed? It'll be used automatically every session."*

If the user agrees:

await saveConfig({ lengthScale: 0.8 });

Once saved, tts() reads it from config.json in the skill directory automatically — no need to pass lengthScale on every call.

Step 6 — note the preferred voice and speed

Once confirmed, remember both voice and lengthScale for the session. Pass them to every subsequent tts() call unless the user asks to change them.


Before first use — always call status()

Always call status() before the first tts() call in a session to determine what is needed.

stageMeaningWhat to do
readyFully installed, at least one voice model presentProceed with tts()
not-setupPiper not installedAsk user for confirmation, then call setup()
no-piperVenv exists but piper binary missingAsk user for confirmation, then call setup()
no-modelPiper installed but no voice model downloadedFollow Steps 3–5 of first-run flow above

IMPORTANT: Always ask the user for confirmation before calling setup(). It installs the piper-tts package from PyPI into a venv inside the skill directory.

Usage

  • Input: text, optional format ("ogg" or "wav"), optional voice (model stem), optional lengthScale (speech speed, default 1.0)
  • Output: path to generated file (usually .ogg)

Controlling voice and language

To list installed voices, call listVoices() — returns stems of all installed .onnx models. Never assume a fixed list; it varies per user and installation.

Auto-detection (no voice param): The script detects language from the text using character and script analysis:

  • Non-Latin scripts: Cyrillic (Russian, Ukrainian, Bulgarian), Greek, Arabic, Persian, Chinese, Japanese, Korean, Georgian
  • Latin-script languages: Vietnamese, Polish, Romanian, Turkish, Czech, Slovak, Hungarian, Portuguese, Spanish, Catalan, German, Finnish, Scandinavian (Swedish, Norwegian, Danish), French, Italian
  • Fallback: English keywords → first English model → any installed model

Auto-detection is best-effort. For reliable results with a specific language, always pass the voice parameter explicitly.

Explicit override: set PIPER_VOICE_MODEL env var to a full .onnx path (overrides everything).

When the user requests a specific voice or language:

  1. Call listVoices() to see what is installed
  2. Pass the matching stem as voice to tts(), e.g. voice: "en_US-amy-medium"
  3. If the requested voice is not installed, offer to download it with downloadVoices([stem])

To switch back to auto-detect, omit the voice parameter.

Downloading additional voices

The user may say things like *"I don't like this voice, use a female one"* or *"Download a German voice"*. When this happens:

  1. Find the model at https://github.com/rhasspy/piper/blob/master/VOICES.md
  2. Confirm the stem (e.g. de_DE-thorsten-medium) and call downloadVoices([stem])
  3. Generate a sample and send it to the user
  4. Confirm with listVoices() — the new voice is immediately usable

Removing voices

The user may say *"remove that voice"* or *"I don't need the German voice anymore"*. When this happens:

  1. Call listVoices() to confirm which voices are installed
  2. Confirm with the user which voice to remove
  3. Call removeVoice(stem) — e.g. removeVoice('de_DE-thorsten-medium')
  4. Returns { removed, filesDeleted } on success
  5. If the removed voice was the user's preferred voice, ask them to pick a new one

Never remove the last remaining voice without warning the user that TTS will stop working.

Changing speech speed

The user may say things like *"speak faster"*, *"too slow"*, or *"speed it up"*. When this happens:

  1. Ask what speed they want in %, or suggest: 125% (faster), 115%, 100% (normal), 80% (slower)
  2. Convert their % to lengthScale: lengthScale = 1 / (speed% / 100)
  3. Generate a short sample: await tts({ text: '...', voice: 'current-voice', lengthScale: 0.8 })
  4. Send the sample and confirm
  5. Offer to persist: *"Save this as default?"* — if yes, call saveConfig({ lengthScale: 0.8 })
  6. Use the new lengthScale for all subsequent tts() calls in the session

Where files are written

  • OPENCLAW_WORKSPACE/tts/ if OPENCLAW_WORKSPACE env var is set
  • otherwise: ~/.openclaw/workspace/tts/

Dependencies

  • python3 (3.8+) — required for setup() to create the venv
  • ffmpeg — for WAV → OGG/Opus conversion
  • espeak-ng — system library used by Piper internally; setup() checks for it and warns if missing.

Install: sudo apt install espeak-ng (Debian/Ubuntu), sudo dnf install espeak-ng (Fedora), brew install espeak (macOS)

  • At least one Piper .onnx + .onnx.json voice model pair in the skill directory

Platform support

  • Linux x86_64: fully supported
  • macOS x86_64 / arm64: fully supported
  • Linux ARM: may require building piper-tts from source
  • Windows: not supported

Remove

rm -rf ~/.openclaw/skills/local-piper-tts-multilang-secure

This removes everything: skill code, venv, and all voice models.

平台分布

OpenClaw

92.23%
按下载量换算6,382

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills