Article to podcast script

From digoal/blog · View interactive version

Article to podcast script is an AI agent skill from the GitHub repository digoal/blog. Convert a Markdown article into a natural first-person podcast script for 1 to 4 speakers and save it as a .txt file under the current project's markdown directory. Default to Chinese output unless the user explicitly specifies another language, while preserving English terms that appear in the arti

How to use this skill

Skill file

Article To Podcast Script

Workflow

  1. Read the input Markdown article and identify its title, thesis, key sections, facts, examples, and conclusion.
  2. Confirm the requested speaker count is an integer from 1 to 4. If it is missing or outside this range, ask for a valid count before writing the script.
  3. Write a podcast-ready Chinese dialogue script by default, using only labels in the form Speaker N: where N is from 1 to the requested count. If the user explicitly specifies another language, write the script in that language instead. Transform the article's ideas into the speaker's own first-person viewpoint, as if the speaker is directly sharing their thinking on the topic, not reviewing, summarizing, or reacting to an article.
  4. Save the result as a .txt file in the current project's markdown directory. Create that directory if needed.
  5. Report the output path and any important assumptions.

Use scripts/save_podcast_script.py to write the final text:

python3 /path/to/article-to-podcast-script/scripts/save_podcast_script.py ARTICLE.md SPEAKER_COUNT < draft.txt

The script validates the speaker count, creates ./markdown, builds a stable output filename from the article name, and writes stdin to the .txt file.

Script Requirements

Speaker 1: 大家好,欢迎收听本期节目。今天我想聊一个很关键的判断...
Speaker 2: 没错,真正的核心不是表面的新闻,而是背后的传导链条...

Diction Polish

Speaker Patterns

Structure

Follow this shape unless the article clearly calls for another:

  1. Opening hook and topic setup.
  2. Core personal thesis in plain language.
  3. Main points in a natural spoken order, using the article only as the evidence and logic source.
  4. Tensions, tradeoffs, limitations, or counterpoints if present in the article.
  5. Practical takeaway or closing synthesis.

Match length to the article and user request. If no duration is specified, produce enough script to cover the article's substance without padding.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.