[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M771ANFR2694YZ5MAT7GYAYQ":3,"skill-same:01M771ANFR2694YZ5MAT7GYAYQ":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M771ANFR2694YZ5MAT7GYAYQ","audio-gen",null,"Generate audiobooks, podcasts, or educational audio content on demand. User provides an idea or topic, Claude AI writes a script, and ElevenLabs converts it to high-quality audio. Supports multiple formats (audiobook, podcast, educational), custom lengths, and voice effects. Use when asked to create audio content, make a podcast, generate an audiobook, or produce educational audio. Returns MP3 audio file via MEDIA token.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fudiedrichsen\u002Faudio-gen\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: audio-gen\ndescription: Generate audiobooks, podcasts, or educational audio content on demand. User provides an idea or topic, Claude AI writes a script, and ElevenLabs converts it to high-quality audio. Supports multiple formats (audiobook, podcast, educational), custom lengths, and voice effects. Use when asked to create audio content, make a podcast, generate an audiobook, or produce educational audio. Returns MP3 audio file via MEDIA token.\nhomepage: https:\u002F\u002Fgithub.com\u002Fclawdbot\u002Fclawdbot\nmetadata: {\"clawdbot\":{\"emoji\":\"🎙️\",\"requires\":{\"skills\":[\"sag\"],\"env\":[\"ANTHROPIC_API_KEY\",\"ELEVENLABS_API_KEY\"]},\"primaryEnv\":\"ANTHROPIC_API_KEY\"}}\n---\n\n# 🎙️ Audio Content Generator\n\nGenerate high-quality audiobooks, podcasts, or educational audio content on demand using AI-written scripts and ElevenLabs text-to-speech.\n\n## Quick Start\n\n**Create an audiobook chapter:**\n```\nUser: \"Create a 5-minute audiobook chapter about a dragon discovering friendship\"\n```\n\n**Generate a podcast:**\n```\nUser: \"Make a 10-minute podcast about the history of coffee\"\n```\n\n**Produce educational content:**\n```\nUser: \"Generate a 15-minute educational audio explaining how neural networks work\"\n```\n\n## Content Formats\n\n### Audiobook\n**Style:** Narrative storytelling with emotional depth\n- Clear beginning, middle, and end\n- Descriptive language and vivid imagery\n- Dramatic pacing with thoughtful pauses\n- Emotional tone that matches the story\n- Use voice effects like `[whispers]`, `[excited]`, `[serious]` for impact\n\n**Example Structure:**\n```\n[Opening hook - set the scene]\n[long pause]\n\n[Story development with character emotions]\n[short pause] between sentences\n[long pause] between paragraphs\n\n[Climax with dramatic tension]\n[long pause]\n\n[Resolution and emotional closure]\n```\n\n### Podcast\n**Style:** Conversational and engaging\n- Warm, welcoming intro (15-30 seconds)\n- Main content with natural flow\n- Transitions between topics\n- Memorable outro with key takeaways\n- Conversational tone throughout\n\n**Example Structure:**\n```\n**Intro:** \"Welcome to [topic]. I'm excited to share...\"\n[short pause]\n\n**Main Content:** \"Let's start with... [topic 1]\"\n[long pause] between segments\n\n**Outro:** \"Thanks for listening! Remember...\"\n```\n\n### Educational Content\n**Style:** Clear explanations for learning\n- Simple introductions to complex topics\n- Step-by-step breakdowns\n- Real-world examples and analogies\n- Recap of key concepts at the end\n- Enthusiastic delivery with `[excited]` for important points\n\n**Example Structure:**\n```\n**Introduction:** What is [topic] and why it matters?\n\n**Main Content:**\n- Concept 1: Explanation + Example\n- Concept 2: Explanation + Example\n- Concept 3: Explanation + Example\n\n**Summary:** Key takeaways and next steps\n```\n\n## Length Guidelines\n\n**Word Count to Duration Conversion:**\n- 5 minutes = ~375 words\n- 10 minutes = ~750 words\n- 15 minutes = ~1,125 words\n- 20 minutes = ~1,500 words\n- 30 minutes = ~2,250 words\n\n**Pacing:** Average conversational speed is ~75 words per minute\n\n**Practical Limits:**\n- Minimum: 2 minutes (~150 words)\n- Maximum: 30 minutes (~2,250 words)\n- Sweet spot: 5-15 minutes for best engagement\n\n## Workflow Instructions\n\n### Step 1: Understand the Request\n\nParse the user's request for:\n1. **Content type** (audiobook, podcast, educational, or inferred from topic)\n2. **Topic\u002Ftheme** (what should the content be about)\n3. **Target length** (how many minutes)\n4. **Tone\u002Fstyle** (dramatic, casual, educational, etc.)\n5. **Special requests** (specific voice, emphasis on certain points)\n\n### Step 2: Calculate Word Count\n\n```\ntarget_words = target_minutes × 75\n```\n\nExample: 10 minutes = 10 × 75 = 750 words\n\n### Step 3: Generate the Script\n\nWrite the complete script following these rules:\n\n**Content Guidelines:**\n- Start strong with an engaging hook\n- Maintain natural, conversational flow\n- Use active voice and simple sentence structure\n- Include relevant examples and stories\n- End with a satisfying conclusion\n\n**Formatting Rules:**\n- Add `[short pause]` after sentences (use sparingly, not every sentence)\n- Add `[long pause]` between paragraphs or major sections\n- Use voice effects strategically: `[whispers]`, `[shouts]`, `[excited]`, `[serious]`, `[sarcastic]`, `[sings]`, `[laughs]`\n- Write numbers as words: \"twenty-three\" not \"23\"\n- Spell out acronyms first time: \"AI, or artificial intelligence\"\n- Avoid complex punctuation (em-dashes work, but semicolons don't read well)\n- Remove markdown formatting before TTS conversion\n\n### Step 4: Present the Script\n\nShow the script to the user and ask:\n```\nHere's the [format] script I've created (approximately [length] minutes):\n\n[Display the script]\n\nWould you like me to:\n1. Generate the audio now\n2. Make changes to the script\n3. Adjust the length or tone\n```\n\n### Step 5: Handle User Feedback\n\nIf user requests changes:\n- Regenerate the script with adjustments\n- Maintain the target word count\n- Present the revised version\n\nIf user approves:\n- Proceed to audio generation\n\n### Step 6: Generate Audio\n\n**Format the script for TTS:**\n1. Remove any remaining markdown (headers, bold, italics)\n2. Ensure voice effects are in proper `[effect]` format\n3. Check that pauses are appropriately placed\n4. Verify numbers and acronyms are spelled out\n\n**Invoke the TTS script:**\n\n**IMPORTANT:** The `ELEVENLABS_API_KEY` environment variable is already configured in the system. Simply invoke the TTS script directly.\n\n```bash\nuv run \u002Fhome\u002Fclawdbot\u002Fclawdbot\u002Fskills\u002Fsag\u002Fscripts\u002Ftts.py \\\n  -o \u002Ftmp\u002Faudio-gen-[timestamp]-[topic-slug].mp3 \\\n  -m eleven_multilingual_v2 \\\n  \"[formatted_script]\"\n```\n\n**For long scripts, use heredoc:**\n```bash\nuv run \u002Fhome\u002Fclawdbot\u002Fclawdbot\u002Fskills\u002Fsag\u002Fscripts\u002Ftts.py \\\n  -o \u002Ftmp\u002Faudio-gen-[timestamp]-[topic-slug].mp3 \\\n  -m eleven_multilingual_v2 \\\n  \"$(cat \u003C\u003C'EOF'\n[formatted_script]\nEOF\n)\"\n```\n\n**Return the result:**\n```\nMEDIA:\u002Ftmp\u002Faudio-gen-[timestamp]-[topic-slug].mp3\n\nYour [format] is ready! [Brief description of content]. Duration: approximately [X] minutes.\n```\n\n## Voice Effects (SSML Tags)\n\nAvailable voice modulation effects (use sparingly for impact):\n\n- `[whispers]` - Soft, intimate delivery\n- `[shouts]` - Loud, emphatic delivery\n- `[excited]` - Enthusiastic, energetic tone\n- `[serious]` - Grave, solemn tone\n- `[sarcastic]` - Ironic, mocking tone\n- `[sings]` - Musical, melodic delivery\n- `[laughs]` - Amused, jovial tone\n- `[short pause]` - Brief silence (~0.5s)\n- `[long pause]` - Extended silence (~1-2s)\n\n**Best Practices:**\n- Use effects for emotional moments, not every sentence\n- Pauses are your most powerful tool for pacing\n- Voice effects work best in audiobooks and dramatic content\n- Keep podcasts and educational content mostly natural\n\n## Error Handling\n\n### Script Too Long\nIf the generated script exceeds target by >20%:\n```\nThe script I generated is [X] words ([Y] minutes), which is longer than your target of [Z] minutes. Would you like me to:\n1. Condense it to fit the target length\n2. Split it into multiple parts\n3. Keep it as is\n```\n\n### Script Too Short\nIf the generated script is under target by >20%:\n```\nThe script is [X] words ([Y] minutes), shorter than your target. Would you like me to:\n1. Expand it with more detail\n2. Add additional examples or stories\n3. Generate as is\n```\n\n### TTS Generation Fails\nIf the TTS script fails:\n```\nI've created the script, but I'm unable to generate the audio right now. Here's your script:\n\n[Display script]\n\nError: [specific error message]\n\nYou can:\n1. Check that ELEVENLABS_API_KEY is configured\n2. Use the script with your own text-to-speech tool\n3. Try again in a moment\n4. Ask me to troubleshoot the audio generation\n```\n\n**Common TTS Issues:**\n- API key not set: Verify ELEVENLABS_API_KEY in config\n- Rate limit: Wait a moment and try again\n- Text too long: Break into smaller chunks (max ~5000 characters)\n\n### Invalid Request\nFor unrealistic requests (e.g., \"100-hour audiobook\"):\n```\nThat length would require [X] words and take significant time to generate. I recommend:\n- Breaking it into multiple episodes\u002Fchapters\n- Targeting 5-30 minutes per audio file\n- Creating a series instead of one long file\n```\n\n## Tips for Best Results\n\n### For Engaging Audiobooks\n- Focus on character emotions and sensory details\n- Use pauses to build dramatic tension\n- Vary sentence length for rhythm\n- Include internal monologue and reflection\n\n### For Compelling Podcasts\n- Start with a question or surprising fact\n- Use conversational phrases: \"You know what's interesting...\"\n- Include relatable examples from everyday life\n- End with actionable takeaways\n\n### For Effective Educational Content\n- Use the \"explain like I'm five\" approach\n- Build from simple to complex concepts\n- Repeat key terms and definitions\n- Provide multiple examples for clarity\n\n## Technical Notes\n\n**TTS Implementation:**\n- Uses Python script: `~\u002F.clawdbot\u002Fclawdbot\u002Fskills\u002Fsag\u002Fscripts\u002Ftts.py`\n- No binary installation required (pure Python + requests)\n- Directly calls ElevenLabs API\n- Compatible with Linux and macOS\n\n**File Storage:**\n- Audio files are saved to `\u002Ftmp\u002Faudio-gen\u002F`\n- Filename format: `audio-gen-[timestamp]-[topic-slug].mp3`\n- Files are automatically cleaned up after 24 hours\n\n**API Requirements:**\n- Anthropic API for script generation (already configured)\n- ElevenLabs API for text-to-speech (configured via ELEVENLABS_API_KEY)\n- Both services must be configured and have available credits\n\n**Supported Models:**\n- `eleven_multilingual_v2` - Best quality (default)\n- `eleven_turbo_v2` - Faster generation\n- `eleven_turbo_v2_5` - Fastest generation\n- `eleven_multilingual_v1` - Legacy model\n\n**Cost Estimate:**\n- 10-minute audio (~750 words): approximately $1.43\n  - Claude API: ~$0.075\n  - ElevenLabs: ~$1.35\n- Longer content scales proportionally\n\n**Generation Time:**\n- Script generation: 5-30 seconds (depending on length)\n- Audio generation: 5-15 seconds (ElevenLabs processing)\n- Total: Usually under 1 minute for 10-minute audio\n\n## Limitations\n\n1. **Maximum Length:** 30 minutes (~2,250 words) per audio file\n   - For longer content, create multiple parts\u002Fepisodes\n\n2. **Single Voice:** Currently supports one narrator voice\n   - Cannot do multi-voice dialogue or character voices\n\n3. **No Background Music:** Pure voice narration only\n   - No background music, sound effects, or audio mixing\n\n4. **Real-time Generation:** Each request generates fresh content\n   - No pre-made templates or cached audio\n\n5. **Language:** Primarily English\n   - ElevenLabs supports other languages, but content generation optimized for English\n\n## Example Conversations\n\n### Example 1: Quick Audiobook\n```\nUser: Create a 5-minute audiobook chapter about a lonely robot learning to feel emotions\n\nAgent: I'll create a 5-minute sci-fi audiobook chapter. Let me write the story...\n\n[Generates ~400-word narrative with emotional arc]\n\nHere's the story I've created about Unit-7, a maintenance robot who discovers the meaning of friendship through an unexpected encounter. Would you like me to generate the audio or make changes first?\n\nUser: Generate the audio\n\nAgent: [Invokes SAG with formatted script]\n\nMEDIA:\u002Ftmp\u002Faudio-gen-1234567890-lonely-robot.mp3\n\nYour audiobook chapter is ready! The story follows Unit-7's emotional awakening through a touching encounter with a young engineer. Duration: approximately 5 minutes.\n```\n\n### Example 2: Podcast with Revisions\n```\nUser: Make a 10-minute podcast about sustainable living tips\n\nAgent: [Generates podcast script with intro, 5 practical tips, outro]\n\nHere's a 10-minute podcast with 5 actionable sustainable living tips. The tone is encouraging and practical. Would you like me to:\n1. Generate audio now\n2. Make it more urgent\u002Fclimate-focused\n3. Add more specific examples\n4. Adjust the length\n\nUser: Add more specific examples for each tip\n\nAgent: [Regenerates with detailed examples]\n\nBetter? I've added specific examples like calculating your carbon footprint, composting at home, and choosing sustainable brands. Ready for audio?\n\nUser: Perfect!\n\nAgent: MEDIA:\u002Ftmp\u002Faudio-gen-1234567890-sustainable-living.mp3\n\nYour sustainable living podcast is ready with 5 practical tips, each with concrete examples you can start using today! Duration: 10 minutes.\n```\n\n### Example 3: Educational Content\n```\nUser: Create a 15-minute educational audio explaining quantum computing for beginners\n\nAgent: I'll create a beginner-friendly 15-minute explanation of quantum computing...\n\n[Generates ~1,100 words with analogies, examples, and clear structure]\n\nScript preview:\n- Introduction: What is quantum computing? (2 min)\n- Classical vs Quantum: The key differences (4 min)\n- Qubits and Superposition: How it works (5 min)\n- Real Applications: What it means for you (3 min)\n- Conclusion: The future of computing (1 min)\n\nShould I generate the audio?\n\nUser: Yes please\n\nAgent: MEDIA:\u002Ftmp\u002Faudio-gen-1234567890-quantum-computing.mp3\n\nYour educational podcast on quantum computing is ready! It uses everyday analogies to explain qubits, superposition, and real-world applications. Duration: approximately 15 minutes.\n```\n\n## When to Use This Skill\n\nUse the audio-gen skill when users request:\n- \"Create an audiobook about...\"\n- \"Make a podcast episode about...\"\n- \"Generate audio content explaining...\"\n- \"Record a story about...\"\n- \"Produce an audio guide for...\"\n- \"Create a narrated version of...\"\n- \"Make an audio lesson about...\"\n\n**Do NOT use for:**\n- Transcribing existing audio (use whisper skills instead)\n- Converting user-written text to audio (use SAG skill directly)\n- Real-time voice interaction (use voice-call plugin)\n- Multi-speaker dialogues or interviews (current limitation)\n\n## Advanced Usage\n\n### Voice Selection\nUsers can request specific voices:\n```\nUser: Create a podcast with the Rachel voice\n\nAgent: [Checks voice configuration for \"Rachel\" voice ID and uses it in SAG command]\n```\n\n### Series\u002FEpisodes\nFor multi-part content:\n```\nUser: Create a 3-episode series about space exploration\n\nAgent: I'll create Episode 1 first. Each episode will be 10 minutes. Let's start with \"The Dawn of the Space Age\"...\n\n[After completion]\n\nEpisode 1 is ready! Would you like me to continue with Episode 2?\n```\n\n### Format Blending\nMix formats for unique styles:\n```\nUser: Create an educational podcast that tells a story\n\nAgent: [Generates content that combines storytelling narrative with educational explanations]\n```\n\n## Troubleshooting\n\n**Issue:** Audio sounds robotic or unnatural\n**Solution:** Add more pauses and voice effects. Use contractions and conversational language.\n\n**Issue:** Script doesn't match requested length\n**Solution:** Regenerate with explicit word count target. Check calculations (75 words\u002Fmin).\n\n**Issue:** Content is too technical or too simple\n**Solution:** Ask user for target audience. Adjust complexity accordingly.\n\n**Issue:** SAG command fails\n**Solution:** Check ELEVENLABS_API_KEY is set. Verify SAG skill is installed and working.\n\n**Issue:** User wants to edit the script manually\n**Solution:** Provide the plain text script. User can modify it and paste back for audio generation.\n\n---\n\n💡 **Pro Tip:** Always generate the script first and get user approval before creating audio. This saves time and API costs, and ensures the user gets exactly what they want.\n","# 🎙️ Audio Content Generator\n\nGenerate high-quality audiobooks, podcasts, or educational audio content on demand using AI-written scripts and ElevenLabs text-to-speech.\n\n## Quick Start\n\n**Create an audiobook chapter:**\n```\nUser: \"Create a 5-minute audiobook chapter about a dragon discovering friendship\"\n```\n\n**Generate a podcast:**\n```\nUser: \"Make a 10-minute podcast about the history of coffee\"\n```\n\n**Produce educational content:**\n```\nUser: \"Generate a 15-minute educational audio explaining how neural networks work\"\n```\n\n## Content Formats\n\n### Audiobook\n**Style:** Narrative storytelling with emotional depth\n- Clear beginning, middle, and end\n- Descriptive language and vivid imagery\n- Dramatic pacing with thoughtful pauses\n- Emotional tone that matches the story\n- Use voice effects like `[whispers]`, `[excited]`, `[serious]` for impact\n\n**Example Structure:**\n```\n[Opening hook - set the scene]\n[long pause]\n\n[Story development with character emotions]\n[short pause] between sentences\n[long pause] between paragraphs\n\n[Climax with dramatic tension]\n[long pause]\n\n[Resolution and emotional closure]\n```\n\n### Podcast\n**Style:** Conversational and engaging\n- Warm, welcoming intro (15-30 seconds)\n- Main content with natural flow\n- Transitions between topics\n- Memorable outro with key takeaways\n- Conversational tone throughout\n\n**Example Structure:**\n```\n**Intro:** \"Welcome to [topic]. I'm excited to share...\"\n[short pause]\n\n**Main Content:** \"Let's start with... [topic 1]\"\n[long pause] between segments\n\n**Outro:** \"Thanks for listening! Remember...\"\n```\n\n### Educational Content\n**Style:** Clear explanations for learning\n- Simple introductions to complex topics\n- Step-by-step breakdowns\n- Real-world examples and analogies\n- Recap of key concepts at the end\n- Enthusiastic delivery with `[excited]` for important points\n\n**Example Structure:**\n```\n**Introduction:** What is [topic] and why it matters?\n\n**Main Content:**\n- Concept 1: Explanation + Example\n- Concept 2: Explanation + Example\n- Concept 3: Explanation + Example\n\n**Summary:** Key takeaways and next steps\n```\n\n## Length Guidelines\n\n**Word Count to Duration Conversion:**\n- 5 minutes = ~375 words\n- 10 minutes = ~750 words\n- 15 minutes = ~1,125 words\n- 20 minutes = ~1,500 words\n- 30 minutes = ~2,250 words\n\n**Pacing:** Average conversational speed is ~75 words per minute\n\n**Practical Limits:**\n- Minimum: 2 minutes (~150 words)\n- Maximum: 30 minutes (~2,250 words)\n- Sweet spot: 5-15 minutes for best engagement\n\n## Workflow Instructions\n\n### Step 1: Understand the Request\n\nParse the user's request for:\n1. **Content type** (audiobook, podcast, educational, or inferred from topic)\n2. **Topic\u002Ftheme** (what should the content be about)\n3. **Target length** (how many minutes)\n4. **Tone\u002Fstyle** (dramatic, casual, educational, etc.)\n5. **Special requests** (specific voice, emphasis on certain points)\n\n### Step 2: Calculate Word Count\n\n```\ntarget_words = target_minutes × 75\n```\n\nExample: 10 minutes = 10 × 75 = 750 words\n\n### Step 3: Generate the Script\n\nWrite the complete script following these rules:\n\n**Content Guidelines:**\n- Start strong with an engaging hook\n- Maintain natural, conversational flow\n- Use active voice and simple sentence structure\n- Include relevant examples and stories\n- End with a satisfying conclusion\n\n**Formatting Rules:**\n- Add `[short pause]` after sentences (use sparingly, not every sentence)\n- Add `[long pause]` between paragraphs or major sections\n- Use voice effects strategically: `[whispers]`, `[shouts]`, `[excited]`, `[serious]`, `[sarcastic]`, `[sings]`, `[laughs]`\n- Write numbers as words: \"twenty-three\" not \"23\"\n- Spell out acronyms first time: \"AI, or artificial intelligence\"\n- Avoid complex punctuation (em-dashes work, but semicolons don't read well)\n- Remove markdown formatting before TTS conversion\n\n### Step 4: Present the Script\n\nShow the script to the user and ask:\n```\nHere's the [format] script I've created (approximately [length] minutes):\n\n[Display the script]\n\nWould you like me to:\n1. Generate the audio now\n2. Make changes to the script\n3. Adjust the length or tone\n```\n\n### Step 5: Handle User Feedback\n\nIf user requests changes:\n- Regenerate the script with adjustments\n- Maintain the target word count\n- Present the revised version\n\nIf user approves:\n- Proceed to audio generation\n\n### Step 6: Generate Audio\n\n**Format the script for TTS:**\n1. Remove any remaining markdown (headers, bold, italics)\n2. Ensure voice effects are in proper `[effect]` format\n3. Check that pauses are appropriately placed\n4. Verify numbers and acronyms are spelled out\n\n**Invoke the TTS script:**\n\n**IMPORTANT:** The `ELEVENLABS_API_KEY` environment variable is already configured in the system. Simply invoke the TTS script directly.\n\n```bash\nuv run \u002Fhome\u002Fclawdbot\u002Fclawdbot\u002Fskills\u002Fsag\u002Fscripts\u002Ftts.py \\\n  -o \u002Ftmp\u002Faudio-gen-[timestamp]-[topic-slug].mp3 \\\n  -m eleven_multilingual_v2 \\\n  \"[formatted_script]\"\n```\n\n**For long scripts, use heredoc:**\n```bash\nuv run \u002Fhome\u002Fclawdbot\u002Fclawdbot\u002Fskills\u002Fsag\u002Fscripts\u002Ftts.py \\\n  -o \u002Ftmp\u002Faudio-gen-[timestamp]-[topic-slug].mp3 \\\n  -m eleven_multilingual_v2 \\\n  \"$(cat \u003C\u003C'EOF'\n[formatted_script]\nEOF\n)\"\n```\n\n**Return the result:**\n```\nMEDIA:\u002Ftmp\u002Faudio-gen-[timestamp]-[topic-slug].mp3\n\nYour [format] is ready! [Brief description of content]. Duration: approximately [X] minutes.\n```\n\n## Voice Effects (SSML Tags)\n\nAvailable voice modulation effects (use sparingly for impact):\n\n- `[whispers]` - Soft, intimate delivery\n- `[shouts]` - Loud, emphatic delivery\n- `[excited]` - Enthusiastic, energetic tone\n- `[serious]` - Grave, solemn tone\n- `[sarcastic]` - Ironic, mocking tone\n- `[sings]` - Musical, melodic delivery\n- `[laughs]` - Amused, jovial tone\n- `[short pause]` - Brief silence (~0.5s)\n- `[long pause]` - Extended silence (~1-2s)\n\n**Best Practices:**\n- Use effects for emotional moments, not every sentence\n- Pauses are your most powerful tool for pacing\n- Voice effects work best in audiobooks and dramatic content\n- Keep podcasts and educational content mostly natural\n\n## Error Handling\n\n### Script Too Long\nIf the generated script exceeds target by >20%:\n```\nThe script I generated is [X] words ([Y] minutes), which is longer than your target of [Z] minutes. Would you like me to:\n1. Condense it to fit the target length\n2. Split it into multiple parts\n3. Keep it as is\n```\n\n### Script Too Short\nIf the generated script is under target by >20%:\n```\nThe script is [X] words ([Y] minutes), shorter than your target. Would you like me to:\n1. Expand it with more detail\n2. Add additional examples or stories\n3. Generate as is\n```\n\n### TTS Generation Fails\nIf the TTS script fails:\n```\nI've created the script, but I'm unable to generate the audio right now. Here's your script:\n\n[Display script]\n\nError: [specific error message]\n\nYou can:\n1. Check that ELEVENLABS_API_KEY is configured\n2. Use the script with your own text-to-speech tool\n3. Try again in a moment\n4. Ask me to troubleshoot the audio generation\n```\n\n**Common TTS Issues:**\n- API key not set: Verify ELEVENLABS_API_KEY in config\n- Rate limit: Wait a moment and try again\n- Text too long: Break into smaller chunks (max ~5000 characters)\n\n### Invalid Request\nFor unrealistic requests (e.g., \"100-hour audiobook\"):\n```\nThat length would require [X] words and take significant time to generate. I recommend:\n- Breaking it into multiple episodes\u002Fchapters\n- Targeting 5-30 minutes per audio file\n- Creating a series instead of one long file\n```\n\n## Tips for Best Results\n\n### For Engaging Audiobooks\n- Focus on character emotions and sensory details\n- Use pauses to build dramatic tension\n- Vary sentence length for rhythm\n- Include internal monologue and reflection\n\n### For Compelling Podcasts\n- Start with a question or surprising fact\n- Use conversational phrases: \"You know what's interesting...\"\n- Include relatable examples from everyday life\n- End with actionable takeaways\n\n### For Effective Educational Content\n- Use the \"explain like I'm five\" approach\n- Build from simple to complex concepts\n- Repeat key terms and definitions\n- Provide multiple examples for clarity\n\n## Technical Notes\n\n**TTS Implementation:**\n- Uses Python script: `~\u002F.clawdbot\u002Fclawdbot\u002Fskills\u002Fsag\u002Fscripts\u002Ftts.py`\n- No binary installation required (pure Python + requests)\n- Directly calls ElevenLabs API\n- Compatible with Linux and macOS\n\n**File Storage:**\n- Audio files are saved to `\u002Ftmp\u002Faudio-gen\u002F`\n- Filename format: `audio-gen-[timestamp]-[topic-slug].mp3`\n- Files are automatically cleaned up after 24 hours\n\n**API Requirements:**\n- Anthropic API for script generation (already configured)\n- ElevenLabs API for text-to-speech (configured via ELEVENLABS_API_KEY)\n- Both services must be configured and have available credits\n\n**Supported Models:**\n- `eleven_multilingual_v2` - Best quality (default)\n- `eleven_turbo_v2` - Faster generation\n- `eleven_turbo_v2_5` - Fastest generation\n- `eleven_multilingual_v1` - Legacy model\n\n**Cost Estimate:**\n- 10-minute audio (~750 words): approximately $1.43\n  - Claude API: ~$0.075\n  - ElevenLabs: ~$1.35\n- Longer content scales proportionally\n\n**Generation Time:**\n- Script generation: 5-30 seconds (depending on length)\n- Audio generation: 5-15 seconds (ElevenLabs processing)\n- Total: Usually under 1 minute for 10-minute audio\n\n## Limitations\n\n1. **Maximum Length:** 30 minutes (~2,250 words) per audio file\n   - For longer content, create multiple parts\u002Fepisodes\n\n2. **Single Voice:** Currently supports one narrator voice\n   - Cannot do multi-voice dialogue or character voices\n\n3. **No Background Music:** Pure voice narration only\n   - No background music, sound effects, or audio mixing\n\n4. **Real-time Generation:** Each request generates fresh content\n   - No pre-made templates or cached audio\n\n5. **Language:** Primarily English\n   - ElevenLabs supports other languages, but content generation optimized for English\n\n## Example Conversations\n\n### Example 1: Quick Audiobook\n```\nUser: Create a 5-minute audiobook chapter about a lonely robot learning to feel emotions\n\nAgent: I'll create a 5-minute sci-fi audiobook chapter. Let me write the story...\n\n[Generates ~400-word narrative with emotional arc]\n\nHere's the story I've created about Unit-7, a maintenance robot who discovers the meaning of friendship through an unexpected encounter. Would you like me to generate the audio or make changes first?\n\nUser: Generate the audio\n\nAgent: [Invokes SAG with formatted script]\n\nMEDIA:\u002Ftmp\u002Faudio-gen-1234567890-lonely-robot.mp3\n\nYour audiobook chapter is ready! The story follows Unit-7's emotional awakening through a touching encounter with a young engineer. Duration: approximately 5 minutes.\n```\n\n### Example 2: Podcast with Revisions\n```\nUser: Make a 10-minute podcast about sustainable living tips\n\nAgent: [Generates podcast script with intro, 5 practical tips, outro]\n\nHere's a 10-minute podcast with 5 actionable sustainable living tips. The tone is encouraging and practical. Would you like me to:\n1. Generate audio now\n2. Make it more urgent\u002Fclimate-focused\n3. Add more specific examples\n4. Adjust the length\n\nUser: Add more specific examples for each tip\n\nAgent: [Regenerates with detailed examples]\n\nBetter? I've added specific examples like calculating your carbon footprint, composting at home, and choosing sustainable brands. Ready for audio?\n\nUser: Perfect!\n\nAgent: MEDIA:\u002Ftmp\u002Faudio-gen-1234567890-sustainable-living.mp3\n\nYour sustainable living podcast is ready with 5 practical tips, each with concrete examples you can start using today! Duration: 10 minutes.\n```\n\n### Example 3: Educational Content\n```\nUser: Create a 15-minute educational audio explaining quantum computing for beginners\n\nAgent: I'll create a beginner-friendly 15-minute explanation of quantum computing...\n\n[Generates ~1,100 words with analogies, examples, and clear structure]\n\nScript preview:\n- Introduction: What is quantum computing? (2 min)\n- Classical vs Quantum: The key differences (4 min)\n- Qubits and Superposition: How it works (5 min)\n- Real Applications: What it means for you (3 min)\n- Conclusion: The future of computing (1 min)\n\nShould I generate the audio?\n\nUser: Yes please\n\nAgent: MEDIA:\u002Ftmp\u002Faudio-gen-1234567890-quantum-computing.mp3\n\nYour educational podcast on quantum computing is ready! It uses everyday analogies to explain qubits, superposition, and real-world applications. Duration: approximately 15 minutes.\n```\n\n## When to Use This Skill\n\nUse the audio-gen skill when users request:\n- \"Create an audiobook about...\"\n- \"Make a podcast episode about...\"\n- \"Generate audio content explaining...\"\n- \"Record a story about...\"\n- \"Produce an audio guide for...\"\n- \"Create a narrated version of...\"\n- \"Make an audio lesson about...\"\n\n**Do NOT use for:**\n- Transcribing existing audio (use whisper skills instead)\n- Converting user-written text to audio (use SAG skill directly)\n- Real-time voice interaction (use voice-call plugin)\n- Multi-speaker dialogues or interviews (current limitation)\n\n## Advanced Usage\n\n### Voice Selection\nUsers can request specific voices:\n```\nUser: Create a podcast with the Rachel voice\n\nAgent: [Checks voice configuration for \"Rachel\" voice ID and uses it in SAG command]\n```\n\n### Series\u002FEpisodes\nFor multi-part content:\n```\nUser: Create a 3-episode series about space exploration\n\nAgent: I'll create Episode 1 first. Each episode will be 10 minutes. Let's start with \"The Dawn of the Space Age\"...\n\n[After completion]\n\nEpisode 1 is ready! Would you like me to continue with Episode 2?\n```\n\n### Format Blending\nMix formats for unique styles:\n```\nUser: Create an educational podcast that tells a story\n\nAgent: [Generates content that combines storytelling narrative with educational explanations]\n```\n\n## Troubleshooting\n\n**Issue:** Audio sounds robotic or unnatural\n**Solution:** Add more pauses and voice effects. Use contractions and conversational language.\n\n**Issue:** Script doesn't match requested length\n**Solution:** Regenerate with explicit word count target. Check calculations (75 words\u002Fmin).\n\n**Issue:** Content is too technical or too simple\n**Solution:** Ask user for target audience. Adjust complexity accordingly.\n\n**Issue:** SAG command fails\n**Solution:** Check ELEVENLABS_API_KEY is set. Verify SAG skill is installed and working.\n\n**Issue:** User wants to edit the script manually\n**Solution:** Provide the plain text script. User can modify it and paste back for audio generation.\n\n---\n\n💡 **Pro Tip:** Always generate the script first and get user approval before creating audio. This saves time and API costs, and ensures the user gets exactly what they want.\n",{"name":5,"homepage":24,"metadata":25,"description":7},"https:\u002F\u002Fgithub.com\u002Fclawdbot\u002Fclawdbot",{"clawdbot":26},{"emoji":27,"requires":28,"primaryEnv":30},"🎙️",{"env":29,"skills":32},[30,31],"ANTHROPIC_API_KEY","ELEVENLABS_API_KEY",[33],"sag","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fudiedrichsen\u002Faudio-gen",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill audio-gen",{"tool":49,"command":50},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill audio-gen",{"tool":52,"command":53},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill audio-gen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fudiedrichsen\u002Faudio-gen\u002FSKILL.md",true,[],[58,66,73,80,87,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":65},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":65},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":65},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":65},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":65},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":65},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]