Communityコーディング&開発github.com

sherpa-onnx-tts

ローカルで動作するオフライン音声合成(テキスト読み上げ)をsherpa-onnx経由で提供します。

sherpa-onnx-tts とは?

このスキルは、sherpa-onnxのオフラインCLIツールを利用して、ローカル環境でテキスト読み上げ(TTS)を実現するためのAIエージェントスキルです。外部クラウドサービスに依存せず、ダウンロードしたランタイムと音声モデルを使って完全にオフラインで動作するため、プライバシーやネットワーク制限が重要な開発・検証環境に最適です。 このスキルはOpenClawフレームワークと統合されており、OpenClawの設定ファイル内でランタイムパスとモデルパスを環境変数として設定することで利用できます。対応プラットフォームはmacOS、Linux、Windowsで、各OS用のランタイムが提供されています。また、複数の音声モデルを切り替えたり、モデルファイルやトークンファイルをオプションで指定する柔軟性も備えています。 使い方は簡単で、シェルから1つのコマンドでテキストを音声ファイルに変換でき、出力ファイルはWAV形式で保存されます。このスキルは、ローカルのAIエージェントや開発ツールに音声出力機能を追加したい場合に非常に有用です。

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

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

sherpa-onnx-tts は何をしますか?

sherpa-onnxのオフラインCLIを使用したローカルTTS(テキスト読み上げ)です。

インストール

  1. お使いのOS用のランタイムをダウンロードします($OPENCLAW_STATE_DIR/tools/sherpa-onnx-tts/runtimeに展開されます。デフォルトは~/.openclaw/tools/sherpa-onnx-tts/runtime)。
  2. 音声モデルをダウンロードします($OPENCLAW_STATE_DIR/tools/sherpa-onnx-tts/modelsに展開されます。デフォルトは~/.openclaw/tools/sherpa-onnx-tts/models)。

最初にアクティブなステートディレクトリを解決します:

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

次に、解決したパスをアクティブなOpenClaw設定ファイル($OPENCLAW_CONFIG_PATH、デフォルトは~/.openclaw/openclaw.json)に書き込みます:

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

ラッパーはこのスキルフォルダ内にあります。直接実行するか、ラッパーをPATHに追加します:

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

使い方

{baseDir}/bin/sherpa-onnx-tts -o ./tts.wav "Hello from local TTS."

注意事項:

  • 別の声を使いたい場合は、sherpa-onnxのtts-modelsリリースから別のモデルを選択してください。
  • モデルディレクトリに複数の.onnxファイルがある場合は、SHERPA_ONNX_MODEL_FILEを設定するか、--model-fileオプションを渡してください。
  • デフォルトを上書きするために、--tokens-fileや--data-dirを渡すこともできます。
  • Windowsの場合:node {baseDir}\bin\sherpa-onnx-tts -o tts.wav "Hello from local TTS."

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, Grok Build, 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 and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

関連スキル