# Send Pywayne Tts to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tts-2",
    "name": "Pywayne Tts",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/wangyendt/tts-2",
    "canonicalUrl": "https://clawhub.ai/wangyendt/tts-2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/tts-2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tts-2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "tts-2",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T16:10:38.609Z",
      "expiresAt": "2026-05-14T16:10:38.609Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tts-2",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tts-2",
        "contentDisposition": "attachment; filename=\"tts-2-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "tts-2"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/tts-2"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tts-2",
    "downloadUrl": "https://openagent3.xyz/downloads/tts-2",
    "agentUrl": "https://openagent3.xyz/skills/tts-2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tts-2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tts-2/agent.md"
  }
}
```
## Documentation

### Pywayne TTS

Text-to-speech (TTS) tool that converts text to audio files (opus or mp3 format).

### text_to_speech_output_opus - Convert text to Opus format

from pywayne.tts import text_to_speech_output_opus

# Output: test.opus
text_to_speech_output_opus("你好，世界", "test.opus")

Parameters:

text - Text to convert
opus_filename - Output .opus filename
use_say - If True, use macOS 'say' command; otherwise use gTTS (default True)

Behavior:

On macOS, prefers native 'say' command when use_say=True
On other platforms, uses Google TTS (gTTS) service
Uses ffmpeg to convert audio to opus format (16kHz, mono channel)
Automatically cleans up temporary files

### text_to_speech_output_mp3 - Convert text to MP3 format

from pywayne.tts import text_to_speech_output_mp3

# Output: test.mp3
text_to_speech_output_mp3("你好，世界", "test.mp3")

Parameters:

text - Text to convert
mp3_filename - Output .mp3 filename
use_say - If True, use macOS 'say' command; otherwise use gTTS (default True)

Behavior:

On macOS, prefers native 'say' command when use_say=True
On other platforms, uses Google TTS (gTTS) service
Uses ffmpeg to convert audio to mp3 format
Automatically cleans up temporary files

### Quick Start

# Convert text to Opus format (default: macOS uses 'say')
text_to_speech_output_opus "你好，世界" "test.opus"

# Convert text to MP3 format
text_to_speech_output_mp3 "你好，世界" "test.mp3"

# Force use gTTS instead of macOS 'say'
text_to_speech_output_mp3 "你好，世界" "test.mp3" use_say=False

### Requirements

ffmpeg: Required for audio conversion

macOS: brew install ffmpeg
Windows: Download from https://ffmpeg.org and add to PATH
Linux: sudo apt install ffmpeg or package manager


gtts: Python library for Google TTS service

### Platform Detection

Module automatically detects platform and prompts for ffmpeg installation if missing.

### Audio Formats

Opus: Better quality, smaller file size, suitable for voice calls
MP3: Better compatibility, suitable for multimedia playback

### Notes

Requires network connection for gTTS service
Temporary files are automatically cleaned up
Ensure output directory has write permissions
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wangyendt
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T16:10:38.609Z
- Expires at: 2026-05-14T16:10:38.609Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/tts-2)
- [Send to Agent page](https://openagent3.xyz/skills/tts-2/agent)
- [JSON manifest](https://openagent3.xyz/skills/tts-2/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/tts-2/agent.md)
- [Download page](https://openagent3.xyz/downloads/tts-2)