{
  "schemaVersion": "1.0",
  "item": {
    "slug": "edge-tts",
    "name": "Edge TTS",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/i3130002/edge-tts",
    "canonicalUrl": "https://clawhub.ai/i3130002/edge-tts",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/edge-tts",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=edge-tts",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "skill-info.json",
      "SKILL.md",
      "DISTRIBUTION.md",
      "install.sh",
      "scripts/tts-converter.js",
      "scripts/package-lock.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/edge-tts"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/edge-tts",
    "agentPageUrl": "https://openagent3.xyz/skills/edge-tts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/edge-tts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/edge-tts/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "Generate high-quality text-to-speech audio using Microsoft Edge's neural TTS service via the node-edge-tts npm package. Supports multiple languages, voices, adjustable speed/pitch, and subtitle generation."
      },
      {
        "title": "Quick Start",
        "body": "When you detect TTS intent from triggers or user request:\n\nCall the tts tool (Clawdbot built-in) to convert text to speech\nThe tool returns a MEDIA: path\nClawdbot routes the audio to the current channel\n\n// Example: Built-in tts tool usage\ntts(\"Your text to convert to speech\")\n// Returns: MEDIA: /path/to/audio.mp3"
      },
      {
        "title": "Trigger Detection",
        "body": "Recognize \"tts\" keyword as TTS requests. The skill automatically filters out TTS-related keywords from text before conversion to avoid converting the trigger words themselves to audio."
      },
      {
        "title": "Using the Node.js Scripts",
        "body": "For more control, use the bundled scripts directly:\n\nTTS Converter\n\ncd scripts\nnpm install\nnode tts-converter.js \"Your text\" --voice en-US-AriaNeural --rate +10% --output output.mp3\n\nOptions:\n\n--voice, -v: Voice name (default: en-US-AriaNeural)\n--lang, -l: Language code (e.g., en-US, es-ES)\n--format, -o: Output format (default: audio-24khz-48kbitrate-mono-mp3)\n--pitch: Pitch adjustment (e.g., +10%, -20%, default)\n--rate, -r: Rate adjustment (e.g., +10%, -20%, default)\n--volume: Volume adjustment (e.g., +0%, -10%, default)\n--save-subtitles, -s: Save subtitles as JSON file\n--output, -f: Output file path (default: tts_output.mp3)\n--proxy, -p: Proxy URL (e.g., http://localhost:7890)\n--timeout: Request timeout in milliseconds (default: 10000)\n--list-voices, -L: List available voices\n\nConfiguration Manager\n\ncd scripts\nnpm install\nnode config-manager.js --set-voice en-US-AriaNeural\n\nnode config-manager.js --set-rate +10%\n\nnode config-manager.js --get\n\nnode config-manager.js --reset"
      },
      {
        "title": "Voice Selection",
        "body": "Common voices (use --list-voices for full list):\n\nEnglish:\n\nen-US-MichelleNeural (female, natural, default)\nen-US-AriaNeural (female, natural)\nen-US-GuyNeural (male, natural)\nen-GB-SoniaNeural (female, British)\nen-GB-RyanNeural (male, British)\n\nOther Languages:\n\nes-ES-ElviraNeural (Spanish, Spain)\nfr-FR-DeniseNeural (French)\nde-DE-KatjaNeural (German)\nja-JP-NanamiNeural (Japanese)\nzh-CN-XiaoxiaoNeural (Chinese)\nar-SA-ZariyahNeural (Arabic)"
      },
      {
        "title": "Rate Guidelines",
        "body": "Rate values use percentage format:\n\n\"default\": Normal speed\n\"-20%\" to \"-10%\": Slow, clear (tutorials, stories, accessibility)\n\"+10%\" to \"+20%\": Slightly fast (summaries)\n\"+30%\" to \"+50%\": Fast (news, efficiency)"
      },
      {
        "title": "Output Formats",
        "body": "Choose audio quality based on use case:\n\naudio-24khz-48kbitrate-mono-mp3: Standard quality (voice notes, messages)\naudio-24khz-96kbitrate-mono-mp3: High quality (presentations, content)\naudio-48khz-96kbitrate-stereo-mp3: Highest quality (professional audio, music)"
      },
      {
        "title": "scripts/tts-converter.js",
        "body": "Main TTS conversion script using node-edge-tts. Generates audio files with customizable voice, rate, volume, pitch, and format. Supports subtitle generation and voice listing."
      },
      {
        "title": "scripts/config-manager.js",
        "body": "Manages persistent user preferences for TTS settings (voice, language, format, pitch, rate, volume). Stores config in ~/.tts-config.json."
      },
      {
        "title": "scripts/package.json",
        "body": "NPM package configuration with node-edge-tts dependency."
      },
      {
        "title": "references/node_edge_tts_guide.md",
        "body": "Complete documentation for node-edge-tts npm package including:\n\nFull voice list by language\nProsody options (rate, pitch, volume)\nUsage examples (CLI and Module)\nSubtitle generation\nOutput formats\nBest practices and limitations"
      },
      {
        "title": "Voice Testing",
        "body": "Test different voices and preview audio quality at: https://tts.travisvn.com/\n\nRefer to this when you need specific voice details or advanced features."
      },
      {
        "title": "Installation",
        "body": "To use the bundled scripts:\n\ncd /home/user/clawd/skills/public/tts-skill/scripts\nnpm install\n\nThis installs:\n\nnode-edge-tts - TTS library\ncommander - CLI argument parsing"
      },
      {
        "title": "Workflow",
        "body": "Detect intent: Check for \"tts\" trigger or keyword in user message\nChoose method: Use built-in tts tool for simple requests, or scripts/tts-converter.js for customization\nGenerate audio: Convert the target text (message, search results, summary)\nReturn to user: The tts tool returns a MEDIA: path; Clawdbot handles delivery"
      },
      {
        "title": "Basic Test",
        "body": "Run the test script to verify TTS functionality:\n\ncd /home/user/clawd/skills/public/edge-tts/scripts\nnpm test\n\nThis generates a test audio file and verifies the TTS service is working."
      },
      {
        "title": "Voice Testing",
        "body": "Test different voices and preview audio quality at: https://tts.travisvn.com/"
      },
      {
        "title": "Integration Test",
        "body": "Use the built-in tts tool for quick testing:\n\n// Example: Test TTS with default settings\ntts(\"This is a test of the TTS functionality.\")"
      },
      {
        "title": "Configuration Test",
        "body": "Verify configuration persistence:\n\ncd /home/user/clawd/skills/public/edge-tts/scripts\nnode config-manager.js --get\nnode config-manager.js --set-voice en-US-GuyNeural\nnode config-manager.js --get"
      },
      {
        "title": "Troubleshooting",
        "body": "Test connectivity: Run npm test to check if TTS service is accessible\nCheck voice availability: Use node tts-converter.js --list-voices to see available voices\nVerify proxy settings: If using proxy, test with node tts-converter.js \"test\" --proxy http://localhost:7890\nCheck audio output: The test should generate test-output.mp3 in the scripts directory"
      },
      {
        "title": "Notes",
        "body": "node-edge-tts uses Microsoft Edge's online TTS service (updated, working authentication)\nNo API key needed (free service)\nOutput is MP3 format by default\nRequires internet connection\nSupports subtitle generation (JSON format with word-level timing)\nTemporary File Handling: By default, audio files are saved to the system's temporary directory (/tmp/edge-tts-temp/ on Unix, C:\\Users\\<user>\\AppData\\Local\\Temp\\edge-tts-temp\\ on Windows) with unique filenames (e.g., tts_1234567890_abc123.mp3). Files are not automatically deleted - the calling application (Clawdbot) should handle cleanup after use. You can specify a custom output path with the --output option if permanent storage is needed.\nTTS keyword filtering: The skill automatically filters out TTS-related keywords (tts, TTS, text-to-speech) from text before conversion to avoid converting the trigger words themselves to audio\nFor repeated preferences, use config-manager.js to set defaults\nDefault voice: en-US-MichelleNeural (female, natural)\nNeural voices (ending in Neural) provide higher quality than Standard voices"
      }
    ],
    "body": "Edge-TTS Skill\nOverview\n\nGenerate high-quality text-to-speech audio using Microsoft Edge's neural TTS service via the node-edge-tts npm package. Supports multiple languages, voices, adjustable speed/pitch, and subtitle generation.\n\nQuick Start\n\nWhen you detect TTS intent from triggers or user request:\n\nCall the tts tool (Clawdbot built-in) to convert text to speech\nThe tool returns a MEDIA: path\nClawdbot routes the audio to the current channel\n// Example: Built-in tts tool usage\ntts(\"Your text to convert to speech\")\n// Returns: MEDIA: /path/to/audio.mp3\n\nTrigger Detection\n\nRecognize \"tts\" keyword as TTS requests. The skill automatically filters out TTS-related keywords from text before conversion to avoid converting the trigger words themselves to audio.\n\nAdvanced Customization\nUsing the Node.js Scripts\n\nFor more control, use the bundled scripts directly:\n\nTTS Converter\ncd scripts\nnpm install\nnode tts-converter.js \"Your text\" --voice en-US-AriaNeural --rate +10% --output output.mp3\n\n\nOptions:\n\n--voice, -v: Voice name (default: en-US-AriaNeural)\n--lang, -l: Language code (e.g., en-US, es-ES)\n--format, -o: Output format (default: audio-24khz-48kbitrate-mono-mp3)\n--pitch: Pitch adjustment (e.g., +10%, -20%, default)\n--rate, -r: Rate adjustment (e.g., +10%, -20%, default)\n--volume: Volume adjustment (e.g., +0%, -10%, default)\n--save-subtitles, -s: Save subtitles as JSON file\n--output, -f: Output file path (default: tts_output.mp3)\n--proxy, -p: Proxy URL (e.g., http://localhost:7890)\n--timeout: Request timeout in milliseconds (default: 10000)\n--list-voices, -L: List available voices\nConfiguration Manager\ncd scripts\nnpm install\nnode config-manager.js --set-voice en-US-AriaNeural\n\nnode config-manager.js --set-rate +10%\n\nnode config-manager.js --get\n\nnode config-manager.js --reset\n\nVoice Selection\n\nCommon voices (use --list-voices for full list):\n\nEnglish:\n\nen-US-MichelleNeural (female, natural, default)\nen-US-AriaNeural (female, natural)\nen-US-GuyNeural (male, natural)\nen-GB-SoniaNeural (female, British)\nen-GB-RyanNeural (male, British)\n\nOther Languages:\n\nes-ES-ElviraNeural (Spanish, Spain)\nfr-FR-DeniseNeural (French)\nde-DE-KatjaNeural (German)\nja-JP-NanamiNeural (Japanese)\nzh-CN-XiaoxiaoNeural (Chinese)\nar-SA-ZariyahNeural (Arabic)\nRate Guidelines\n\nRate values use percentage format:\n\n\"default\": Normal speed\n\"-20%\" to \"-10%\": Slow, clear (tutorials, stories, accessibility)\n\"+10%\" to \"+20%\": Slightly fast (summaries)\n\"+30%\" to \"+50%\": Fast (news, efficiency)\nOutput Formats\n\nChoose audio quality based on use case:\n\naudio-24khz-48kbitrate-mono-mp3: Standard quality (voice notes, messages)\naudio-24khz-96kbitrate-mono-mp3: High quality (presentations, content)\naudio-48khz-96kbitrate-stereo-mp3: Highest quality (professional audio, music)\nResources\nscripts/tts-converter.js\n\nMain TTS conversion script using node-edge-tts. Generates audio files with customizable voice, rate, volume, pitch, and format. Supports subtitle generation and voice listing.\n\nscripts/config-manager.js\n\nManages persistent user preferences for TTS settings (voice, language, format, pitch, rate, volume). Stores config in ~/.tts-config.json.\n\nscripts/package.json\n\nNPM package configuration with node-edge-tts dependency.\n\nreferences/node_edge_tts_guide.md\n\nComplete documentation for node-edge-tts npm package including:\n\nFull voice list by language\nProsody options (rate, pitch, volume)\nUsage examples (CLI and Module)\nSubtitle generation\nOutput formats\nBest practices and limitations\nVoice Testing\n\nTest different voices and preview audio quality at: https://tts.travisvn.com/\n\nRefer to this when you need specific voice details or advanced features.\n\nInstallation\n\nTo use the bundled scripts:\n\ncd /home/user/clawd/skills/public/tts-skill/scripts\nnpm install\n\n\nThis installs:\n\nnode-edge-tts - TTS library\ncommander - CLI argument parsing\nWorkflow\nDetect intent: Check for \"tts\" trigger or keyword in user message\nChoose method: Use built-in tts tool for simple requests, or scripts/tts-converter.js for customization\nGenerate audio: Convert the target text (message, search results, summary)\nReturn to user: The tts tool returns a MEDIA: path; Clawdbot handles delivery\nTesting\nBasic Test\n\nRun the test script to verify TTS functionality:\n\ncd /home/user/clawd/skills/public/edge-tts/scripts\nnpm test\n\n\nThis generates a test audio file and verifies the TTS service is working.\n\nVoice Testing\n\nTest different voices and preview audio quality at: https://tts.travisvn.com/\n\nIntegration Test\n\nUse the built-in tts tool for quick testing:\n\n// Example: Test TTS with default settings\ntts(\"This is a test of the TTS functionality.\")\n\nConfiguration Test\n\nVerify configuration persistence:\n\ncd /home/user/clawd/skills/public/edge-tts/scripts\nnode config-manager.js --get\nnode config-manager.js --set-voice en-US-GuyNeural\nnode config-manager.js --get\n\nTroubleshooting\nTest connectivity: Run npm test to check if TTS service is accessible\nCheck voice availability: Use node tts-converter.js --list-voices to see available voices\nVerify proxy settings: If using proxy, test with node tts-converter.js \"test\" --proxy http://localhost:7890\nCheck audio output: The test should generate test-output.mp3 in the scripts directory\nNotes\nnode-edge-tts uses Microsoft Edge's online TTS service (updated, working authentication)\nNo API key needed (free service)\nOutput is MP3 format by default\nRequires internet connection\nSupports subtitle generation (JSON format with word-level timing)\nTemporary File Handling: By default, audio files are saved to the system's temporary directory (/tmp/edge-tts-temp/ on Unix, C:\\Users\\<user>\\AppData\\Local\\Temp\\edge-tts-temp\\ on Windows) with unique filenames (e.g., tts_1234567890_abc123.mp3). Files are not automatically deleted - the calling application (Clawdbot) should handle cleanup after use. You can specify a custom output path with the --output option if permanent storage is needed.\nTTS keyword filtering: The skill automatically filters out TTS-related keywords (tts, TTS, text-to-speech) from text before conversion to avoid converting the trigger words themselves to audio\nFor repeated preferences, use config-manager.js to set defaults\nDefault voice: en-US-MichelleNeural (female, natural)\nNeural voices (ending in Neural) provide higher quality than Standard voices"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/i3130002/edge-tts",
    "publisherUrl": "https://clawhub.ai/i3130002/edge-tts",
    "owner": "i3130002",
    "version": "2.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/edge-tts",
    "downloadUrl": "https://openagent3.xyz/downloads/edge-tts",
    "agentUrl": "https://openagent3.xyz/skills/edge-tts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/edge-tts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/edge-tts/agent.md"
  }
}