Public repository for Agent Skills
audiobook
Agent skill frombenchflow-ai/skillsbench
Create audiobooks from web content or text files. Handles content fetching, text processing, and TTS conversion with automatic fallback between ElevenLabs, OpenAI TTS, and gTTS.
How to install audiobook
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/pg-essay-to-audiobook/environment/skills/audiobook/
# into
~/.claude/skills/audiobook/ (all projects)
.claude/skills/audiobook/ (one project)
1# Audiobook Creation Guide23Create audiobooks from web articles, essays, or text files. This skill covers the full pipeline: content fetching, text processing, and audio generation.45## Quick Start67```python8import os910# 1. Check which TTS API is available11def get_tts_provider():12 if os.environ.get("ELEVENLABS_API_KEY"):13 return "elevenlabs"14 elif os.environ.get("OPENAI_API_KEY"):15 return "openai"16 else:17 return "gtts" # Free, no API key needed1819provider = get_tts_provider()20print(f"Using TTS provider: {provider}")21```2223## Step 1: Fetching Web Content2425### IMPORTANT: Verify fetched content is complete2627WebFetch and similar tools may return summaries instead of full text. Always verify:2829```python30import subprocess3132def fetch_article_content(url):33 """Fetch article content using curl for reliability."""34 # Use curl to get raw HTML - more reliable than web fetch tools35 result = subprocess.run(36 ["curl", "-s", url],37 capture_output=True,38 text=True39 )40 html = result.stdout4142 # Strip HTML tags (basic approach)43 import re44 text = re.sub(r'<script[^>]*>.*?</script>', '', html, flags=re.DOTALL)45 text = re.sub(r'<style[^>]*>.*?</style>', '', html, flags=re.DOTALL)46 text = re.sub(r'<[^>]+>', ' ', text)47 text = re.sub(r'\s+', ' ', text).strip()4849 return text50```5152### Content verification checklist5354Before converting to audio, verify:55…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
The open-source app everyone uses to manage agents at work
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
