Communitygithub.com

sundial-org/awesome-openclaw-skills

node-edge-tts npmパッケージを使用したテキスト読み上げ変換。複数の音声、言語、速度調整、ピッチ制御、字幕生成をサポートします。

awesome-openclaw-skills とは?

このスキルは、Microsoft EdgeのニューラルTTSサービスを利用した高品質なテキスト読み上げ(TTS)機能を提供します。主にClawdbot環境向けに設計されており、node-edge-tts npmパッケージを介して、複数の言語と音声、速度・ピッチの調整、字幕生成などをサポートします。ユーザーが「tts」トリガーやキーワードを使用して音声出力を要求したり、マルチタスク中やアクセシビリティ目的で読み上げが必要な場合に自動的に検出され、組み込みの`tts`ツールまたはカスタマイズ可能なNode.jsスクリプト(tts-converter.js)を使用して音声ファイルを生成します。生成された音声はMEDIAパスとして返され、Clawdbotが現在のチャンネルに配信します。また、設定マネージャー(config-manager.js)によりユーザー設定を永続化でき、一時ファイルの管理やトリガーキーワードの自動フィルタリング機能も備えています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/edge-tts

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

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

ドキュメント

Edge-TTS スキル

概要

Microsoft EdgeのニューラルTTSサービスをnode-edge-tts npmパッケージ経由で利用し、高品質なテキスト読み上げオーディオを生成します。複数の言語、音声、速度/ピッチの調整、字幕生成をサポートします。

クイックスタート

トリガーまたはユーザーリクエストからTTSインテントを検出した場合:

  1. ttsツール(Clawdbot組み込み)を呼び出してテキストを音声に変換します
  2. ツールはMEDIA: パスを返します
  3. Clawdbotがオーディオを現在のチャンネルにルーティングします
// 例: 組み込みttsツールの使用法
tts("音声に変換するテキスト")
// 戻り値: MEDIA: /path/to/audio.mp3

トリガー検出

"tts"キーワードをTTSリクエストとして認識します。このスキルは、変換前にテキストからTTS関連キーワードを自動的にフィルタリングし、トリガーワード自体が音声に変換されるのを防ぎます。

高度なカスタマイズ

Node.jsスクリプトの使用

より詳細な制御が必要な場合は、同梱のスクリプトを直接使用します:

TTSコンバーター

cd scripts
npm install
node tts-converter.js "テキスト" --voice ja-JP-NanamiNeural --rate +10% --output output.mp3

オプション:

  • --voice, -v: 音声名(デフォルト: en-US-AriaNeural)
  • --lang, -l: 言語コード(例: ja-JP, en-US)
  • --format, -o: 出力フォーマット(デフォルト: audio-24khz-48kbitrate-mono-mp3)
  • --pitch: ピッチ調整(例: +10%, -20%, default)
  • --rate, -r: 速度調整(例: +10%, -20%, default)
  • --volume: 音量調整(例: +0%, -10%, default)
  • --save-subtitles, -s: 字幕をJSONファイルとして保存
  • --output, -f: 出力ファイルパス(デフォルト: tts_output.mp3)
  • --proxy, -p: プロキシURL(例: http://localhost:7890)
  • --timeout: リクエストタイムアウト(ミリ秒)(デフォルト: 10000)
  • --list-voices, -L: 利用可能な音声一覧を表示

設定マネージャー

cd scripts
npm install
node config-manager.js --set-voice ja-JP-NanamiNeural

node config-manager.js --set-rate +10%

node config-manager.js --get

node config-manager.js --reset

音声選択

一般的な音声(完全なリストは--list-voicesを使用):

英語:

  • en-US-MichelleNeural(女性、自然、デフォルト)
  • en-US-AriaNeural(女性、自然)
  • en-US-GuyNeural(男性、自然)
  • en-GB-SoniaNeural(女性、イギリス英語)
  • en-GB-RyanNeural(男性、イギリス英語)

その他の言語:

  • es-ES-ElviraNeural(スペイン語、スペイン)
  • fr-FR-DeniseNeural(フランス語)
  • de-DE-KatjaNeural(ドイツ語)
  • ja-JP-NanamiNeural(日本語)
  • zh-CN-XiaoxiaoNeural(中国語)
  • ar-SA-ZariyahNeural(アラビア語)

速度ガイドライン

速度値はパーセンテージ形式を使用:

  • "default": 通常速度
  • "-20%" から "-10%": ゆっくり、明瞭(チュートリアル、ストーリー、アクセシビリティ)
  • "+10%" から "+20%": やや速い(要約)
  • "+30%" から "+50%": 速い(ニュース、効率)

出力フォーマット

ユースケースに応じて音声品質を選択:

  • audio-24khz-48kbitrate-mono-mp3: 標準品質(音声メモ、メッセージ)
  • audio-24khz-96kbitrate-mono-mp3: 高品質(プレゼンテーション、コンテンツ)
  • audio-48khz-96kbitrate-stereo-mp3: 最高品質(プロフェッショナル音声、音楽)

リソース

scripts/tts-converter.js

node-edge-ttsを使用したメインTTS変換スクリプト。音声ファイルを生成し、音声、速度、音量、ピッチ、フォーマットをカスタマイズ可能。字幕生成と音声一覧表示をサポート。

scripts/config-manager.js

TTS設定(音声、言語、フォーマット、ピッチ、速度、音量)のユーザー設定を永続的に管理。~/.tts-config.jsonに設定を保存。

scripts/package.json

node-edge-tts依存関係を含むNPMパッケージ構成。

references/node_edge_tts_guide.md

node-edge-tts npmパッケージの完全なドキュメント。以下を含む:

  • 言語別の全音声リスト
  • プロソディオプション(速度、ピッチ、音量)
  • 使用例(CLIおよびモジュール)
  • 字幕生成
  • 出力フォーマット
  • ベストプラクティスと制限事項

音声テスト

さまざまな音声をテストし、音質をプレビュー: https://tts.travisvn.com/

特定の音声の詳細や高度な機能が必要な場合は、これを参照してください。

インストール

同梱スクリプトを使用するには:

cd /home/user/clawd/skills/public/tts-skill/scripts
npm install

これにより以下がインストールされます:

  • node-edge-tts - TTSライブラリ
  • commander - CLI引数解析

ワークフロー

  1. インテントを検出: ユーザーメッセージ内の「tts」トリガーまたはキーワードを確認
  2. 方法を選択: 単純なリクエストには組み込みのttsツール、カスタマイズが必要な場合はscripts/tts-converter.jsを使用
  3. オーディオを生成: 対象テキスト(メッセージ、検索結果、要約)を変換
  4. ユーザーに返す: ttsツールがMEDIA: パスを返し、Clawdbotが配信を処理

テスト

基本テスト

テストスクリプトを実行してTTS機能を確認:

cd /home/user/clawd/skills/public/edge-tts/scripts
npm test

これによりテスト用オーディオファイルが生成され、TTSサービスが動作しているか確認されます。

音声テスト

さまざまな音声をテストし、音質をプレビュー: https://tts.travisvn.com/

統合テスト

組み込みのttsツールを使用して簡単にテスト:

// 例: デフォルト設定でTTSをテスト
tts("これはTTS機能のテストです。")

設定テスト

設定の永続性を確認:

cd /home/user/clawd/skills/public/edge-tts/scripts
node config-manager.js --get
node config-manager.js --set-voice en-US-GuyNeural
node config-manager.js --get

トラブルシューティング

  • 接続テスト: npm testを実行してTTSサービスにアクセス可能か確認
  • 音声の可用性確認: node tts-converter.js --list-voicesで利用可能な音声を表示
  • プロキシ設定の確認: プロキシを使用する場合、node tts-converter.js "test" --proxy http://localhost:7890でテスト
  • 音声出力の確認: テストによりscriptsディレクトリにtest-output.mp3が生成されるはずです

注意事項

  • node-edge-ttsはMicrosoft EdgeのオンラインTTSサービスを使用(更新済み、動作する認証方法)
  • APIキー不要(無料サービス)
  • デフォルト出力はMP3形式
  • インターネット接続が必要
  • 字幕生成をサポート(単語レベルのタイミングを含むJSON形式)
  • 一時ファイルの処理: デフォルトでは、オーディオファイルは一意のファイル名(例: tts_1234567890_abc123.mp3)でシステムの一時ディレクトリ(Unix: /tmp/edge-tts-temp/、Windows: C:\Users\<user>\AppData\Local\Temp\edge-tts-temp\)に保存されます。ファイルは自動削除されません - 呼び出し元のアプリケーション(Clawdbot)が使用後にクリーンアップを処理する必要があります。永続的な保存が必要な場合は、--outputオプションでカスタム出力パスを指定できます。
  • TTSキーワードフィルタリング: このスキルは、変換前にテキストからTTS関連キーワード(tts, TTS, text-to-speech)を自動的にフィルタリングし、トリガーワード自体が音声に変換されるのを防ぎます
  • 繰り返し使用する設定には、config-manager.jsを使用してデフォルトを設定してください
  • デフォルト音声: en-US-MichelleNeural(女性、自然)
  • Neuralで終わるニューラル音声は、Standard音声よりも高品質です

Individual skills in this repo

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

sundial-org/awesome-openclaw-skills

Complete X (Twitter) algorithm mastery - engagement weights, viral formulas, shadow ban avoidance, thread optimization, and growth strategies. Based on X's open-source code analysis and real creator data.

sundial-org/awesome-openclaw-skills

Create product demo videos by automating browser interactions and capturing frames. Use when the user wants to record a demo, walkthrough, product showcase, or interactive video of a web application. Supports Playwright CDP screencast for high-quality capture and FFmpeg for video encoding.

sundial-org/awesome-openclaw-skills

Comprehensive video/audio processing with FFmpeg. Use for: (1) Video transcoding and format conversion, (2) Cutting and merging clips, (3) Audio extraction and manipulation, (4) Thumbnail and GIF generation, (5) Resolution scaling and quality adjustment, (6) Adding subtitles or watermarks, (7) Speed adjustment (slow/fast motion), (8) Color correction and filters.

sundial-org/awesome-openclaw-skills

Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.

sundial-org/awesome-openclaw-skills

Create a verbatim transcript for a YouTube URL using Google Gemini (speaker labels, paragraph breaks; no time codes). Use when the user asks to transcribe a YouTube video or wants a clean transcript (no timestamps).

sundial-org/awesome-openclaw-skills

Generate landing page code from product descriptions

sundial-org/awesome-openclaw-skills

Generate a beautiful HTML landing page from your package.json. Use when you need a quick marketing page for your project.

sundial-org/awesome-openclaw-skills

Founder vs employee personal branding strategies with LinkedIn positioning and exit planning

sundial-org/awesome-openclaw-skills

Monitor stock/crypto holdings, get price alerts, track portfolio performance

sundial-org/awesome-openclaw-skills

End-to-end AI video generation - create videos from text prompts using image generation, video synthesis, voice-over, and editing. Supports OpenAI DALL-E, Replicate models, LumaAI, Runway, and FFmpeg editing.

sundial-org/awesome-openclaw-skills

Local speech-to-text using faster-whisper. 4-6x faster than OpenAI Whisper with identical accuracy; GPU acceleration enables ~20x realtime transcription. Supports standard and distilled models with word-level timestamps.

sundial-org/exa-web-search-free

Free AI search via Exa MCP. Web search for news/info, code search for docs/examples from GitHub/StackOverflow, company research for business intel. No API key needed.

sundial-org/finance-news

Market news briefings with AI summaries. Use when asked about stock news, market updates, portfolio performance, morning/evening briefings, financial headlines, or price alerts. Supports US/Europe/Japan markets, WhatsApp delivery, and English/German output.

sundial-org/jina-reader

Web content extraction via Jina AI Reader API. Three modes: read (URL to markdown), search (web search + full content), ground (fact-checking). Extracts clean content without exposing server IP.

sundial-org/memory-setup

Enable and configure Moltbot/Clawdbot memory search for persistent context. Use when setting up memory, fixing "goldfish brain," or helping users configure memorySearch in their config. Covers MEMORY.md, daily logs, and vector search setup.

sundial-org/news-summary

This skill should be used when the user asks for news updates, daily briefings, or what's happening in the world. Fetches news from trusted international RSS feeds and can create voice summaries.

sundial-org/ontology

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.

sundial-org/remind-me

Set reminders using natural language. Automatically creates one-time cron jobs and logs to markdown.

sundial-org/stock-market-pro

Professional stock price tracking, fundamental analysis, and financial reporting tool. Supports global markets (US, KR, etc.), Crypto, and Forex with real-time data. (1) Real-time quotes, (2) Valuation metrics (PE, EPS, ROE), (3) Earnings calendar and consensus, (4) High-quality Candlestick & Line charts with technical indicators (MA5/20/60).

関連スキル