🤖
Podcast to Substack
Publish podcast episodes from RSS and Notion to Substack with Apple Podcasts embeds and images, then generate LinkedIn-ready companion posts.
安全通过
⚙️脚本
技能说明
name: podcast-to-substack description: Publish podcast episodes from RSS + Notion to Substack with reliable Apple Podcasts embedding and image extraction, then generate LinkedIn-ready companion posts. Use when asked to run or improve podcast-to-substack workflows, fix Notion image fetch failures, prevent Substack embed-as-text issues, or cross-post episode summaries to LinkedIn.
Podcast Substack + LinkedIn
Run this workflow when handling Realist podcast episode publishing.
Inputs
- RSS feed URL
- Notion data source/database ID with episode scripts
- Notion API key (
NOTION_API_KEYor~/.config/notion/api_key) - Substack publish access
Workflow
- Fetch recent episodes:
python3 scripts/fetch_rss.py "$RSS_URL" 3
- Fetch episode script + images from Notion (recursive block traversal, image downloads included):
python3 scripts/fetch_notion_episode.py "EPISODE_NUMBER"
- Build Substack draft content from script text.
- Publish with stable embed behavior using the playbook in
references/substack-embed-playbook.md. - Generate LinkedIn post copy from the same content:
python3 scripts/render_linkedin_post.py --json-file episode.json
- Post or queue the LinkedIn copy.
Non-negotiable rules
- Do not use iframe code or markdown links for podcast embeds in Substack.
- Prefer duplicating the existing Substack draft template that already has a working embed block.
- If creating a fresh post, use
/embedand confirm the player card renders before publishing. - Use top-level Apple Podcasts show URL for reliable fallback.
References
- Substack embed behavior:
references/substack-embed-playbook.md - LinkedIn formatting:
references/linkedin-playbook.md
如何使用「Podcast to Substack」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Podcast to Substack」技能完成任务
- 结果即时呈现,支持继续对话优化