podcast-agent
Search articles on any topic, generate a two-host dialogue script, and synthesize podcast audio via TTS. Turn long reads into listenable content.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/besty0121/podcast-agent播客生成器 / Podcast Agent
搜索文章 → 提取核心观点 → 写对话脚本 → 合成播客音频。
Turn articles into podcasts. Search, summarize, script, synthesize.
工作流程
你说:帮我做一期关于"AI Agent 最新进展"的播客
↓
我搜索相关文章 (web_search)
↓
我读文章,提取 3-5 个核心观点
↓
我写对话体脚本(主持人 A 问,专家 B 答)
↓
TTS 合成音频(女声主持 + 男声专家)
↓
发给你 MP3 文件
前置安装
pip install edge-tts
Agent 工作流
第一步:搜索文章
Agent 用 web_search 搜索相关文章,或者用工具直接抓取:
python podcast_gen.py fetch --url "https://example.com/article"
第二步:生成脚本
Agent 阅读文章后,生成对话体脚本。脚本格式:
{
"title": "AI Agent 最新进展",
"duration_estimate": "5 min",
"segments": [
{"speaker": "A", "text": "大家好,欢迎收听今天的科技播客。今天我们来聊聊 AI Agent 的最新进展。"},
{"speaker": "B", "text": "最近这个领域确实发展很快。最大的变化是..."},
{"speaker": "A", "text": "听起来很有意思。那具体有哪些应用场景呢?"},
{"speaker": "B", "text": "主要有三个方面..."}
]
}
脚本写作指南:
- A 是主持人,负责提问、过渡、总结
- B 是专家,负责回答、分析、举例
- 每段对话控制在 2-4 句话
- 有开头问候、中间讨论、结尾总结
- 语气自然,像真的在聊天
第三步:合成音频
python podcast_gen.py tts --script script.json --output podcast.mp3
语音配置
python podcast_gen.py voices
| 角色 | 语音 ID | 特点 |
|---|---|---|
| A (主持人) | zh-CN-XiaoxiaoNeural | 女声,温暖 |
| B (专家) | zh-CN-YunyangNeural | 男声,专业 |
完整示例
Agent 的完整操作流程
# 1. 搜索
results = web_search("AI agent 最新进展", count=3)
# 2. 抓取每篇文章
for url in result_urls:
content = fetch(url)
# 3. 写脚本(由 Agent 完成,基于对文章的理解)
script = {
"title": "AI Agent 周报",
"segments": [
{"speaker": "A", "text": "..."},
{"speaker": "B", "text": "..."},
...
]
}
save(script, "script.json")
# 4. 合成
podcast_gen.py tts --script script.json --output ai_agent_podcast.mp3
用户交互
用户说:
"帮我做一期关于最新手机的播客"
Agent 自动:
- 搜索 "最新手机发布 2026"
- 读 2-3 篇文章
- 写脚本(5 分钟,10-15 个对话轮次)
- 合成音频
- 发送 MP3
脚本模板
{
"title": "主题名称",
"duration_estimate": "5 min",
"segments": [
{"speaker": "A", "text": "开场白 + 引入话题"},
{"speaker": "B", "text": "回应 + 第一个观点"},
{"speaker": "A", "text": "追问细节"},
{"speaker": "B", "text": "展开说明 + 举例"},
{"speaker": "A", "text": "过渡到下一个话题"},
{"speaker": "B", "text": "第二个观点"},
{"speaker": "A", "text": "总结 + 听众建议"},
{"speaker": "B", "text": "补充 + 展望"},
{"speaker": "A", "text": "结尾 + 下期预告"}
]
}
输出
音频文件保存在 <skill_dir>/output/ 目录,格式 MP3。
注意事项
- edge-tts 需要联网(微软 TTS 服务)
- 音频质量取决于脚本质量——写得越自然,听起来越好
- 单个片段建议不超过 30 秒(约 100 字)
- 一期 5 分钟播客约需 10-15 个对话轮次
- 合并音频最好有 ffmpeg(没有也能用,质量稍降)
目录结构
podcast-agent/
├── SKILL.md # 本文件
├── scripts/
│ └── podcast_gen.py # CLI 工具
└── output/ # 生成的音频文件
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-besty0121-podcast-agent": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
brand-butler-local-authority-engine
Brand Butler: Local Authority Engine — the white-glove SEO and AEO system for local service businesses. Use this skill immediately when the user asks about SEO rankings, backlinks, citations, site audits, Google Search Console indexing problems, competitor backlink analysis, directory submissions, schema markup, content placement articles, local map pack visibility, or AI answer engine optimization (Perplexity, ChatGPT, Google AI Overviews). Also triggers for any local business growth, online visibility, or 'why isn't my site ranking?' conversation. Works for agencies managing clients and business owners doing their own SEO. Covers HVAC, plumbing, electrical, law, dental, roofing, and any local service business. Built by Adrian Boysel.
keyword-research
SEO Keyword Research Tool für high-value Keywords mit Search Intent Analysis, Difficulty Assessment und Content Opportunity Mapping.
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
narrator-ai-cli
Create AI-narrated film/drama commentary videos via CLI. Two workflow paths (Original & Adapted narration), 100+ movies, 146 BGM tracks, 63 dubbing voices in 11 languages, 90+ narration templates. Use when creating narration videos, film commentary, short drama dubbing, or video production.
narrator-ai-cli
AI电影解说视频自动生成技能(AI解说大师 CLI Skill)。当用户需要创建电影解说视频、短剧解说、影视二创、AI配音旁白视频、film commentary、video narration、drama dubbing、movie narration时触发。内置93部电影素材、146首BGM、63种配音音色(11种语言)、90+解说模板。通过narrator-ai-cli命令行工具实现:搜片选片→选择模板→选BGM→选配音→生成文案→合成视频的全流程自动化。CLI client for Narrator AI (AI解说大师) video narration API. Use when user needs to create AI narration videos, manage narration tasks, browse dubbing/BGM/material resources, or automate video production.