Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Agent Podcast?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/asiernoide-agent-podcast)
---
name: agent-podcast
description: "Use when running a personal podcast from RSS feeds."
version: 0.3.0
author: Asier Gallego Roca
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [podcast, news, rss, tts, briefing, audio]
blueprint:
schedule: "0 7 * * *"
deliver: local
prompt: "Produce today's episode of the user's Agent Podcast show following the agent-podcast skill."
---
# Agent Podcast
A local-first newsroom for one person. The engine collects feeds, scores and selects stories, writes a dossier and validates the script. You (the agent) do the editorial work: verify, write and deliver. Nothing leaves the machine except the feed requests, the TTS requests and whatever you send.
## When to use
- The user wants a daily, weekly or on-demand audio briefing from RSS feeds and GitHub releases.
- The user asks to set up, run, schedule, fix or change their podcast.
- A scheduled job asks for today's episode.
## Requirements
- Python 3.10+ and `ffmpeg`/`ffprobe` on PATH.
- The engine's dependencies are declared inside the script: `feedparser`, `PyYAML`, `edge-tts`.
- `uv` runs it with those dependencies (`uv run <script>`). If `uv` is missing, create a venv once and use its interpreter wherever this file says `uv run`:
macOS and Linux:
```bash
python3 -m venv ~/.local/share/agentpodcast/venv
~/.local/share/agentpodcast/venv/bin/pip install feedparser pyyaml edge-tts
```
Then `uv run X.py` becomes `~/.local/share/agentpodcast/venv/bin/python X.py`.
Windows (PowerShell; the interpreter is usually `py` or `python`, and the venv keeps its executables in `Scripts\`, not `bin/`):
```powershell
py -m venv "$env:LOCALAPPDATA\agentpodcast\venv"
& "$env:LOCALAPPDATA\agentpodcast\venv\Scripts\pip.exe" install feedparser pyyaml edge-tts
```
Then `uv run X.py` becomes `& "$env:LOCALAPPDATA\agentpodcast\venv\Scripts\python.exe" X.py`.
## Two copies of the engine
- **The skill's copy** lives in `scripts/` next to this SKILL.md. Call its folder `SKILL_DIR`: it is the directory that contains this file. Some runtimes report it (Hermes: `skill_view` returns `skill_dir`); otherwise use the path you read this file from. Use this copy only for `init`.
- **The show's copy** lives in `<show>/scripts/`. `init` puts it there. Use it for everything else: it finds its show by itself, so `--home` is not needed.
```bash
uv run "$SKILL_DIR/scripts/agentpodcast.py" --version
```
## First run: the interview
Eight things to settle. Adapt the wording; do not read them verbatim.
1. **Show title.**
2. **Language.** Everything written in the show uses it. The engine, the script markers and this skill stay in English.
3. **Schedule.** Timezone, preferred delivery time and cadence (daily, weekdays, weekly).
4. **Length.** Target words or minutes. 1500 words is about 10 minutes.
5. **Topics and sources.** Ask for feed URLs, or an OPML export from their RSS reader. If they have no feeds, offer to find a few for their topics with web search and confirm the list before writing it.
6. **Hosts.** One to three. Names must be one word (they become the script labels), plus a one-line character brief for each.
7. **Voices.** Edge works without a key: run `voices --locale <locale>` and offer two or three candidates per host. If they want OpenAI, ElevenLabs or Gemini, set `audio.provider` and tell them which environment variable must hold the key (`OPENAI_API_KEY`, `ELEVENLABS_API_KEY`, `GEMINI_API_KEY`); the voice is the provider's name or ID. Never ask them to paste a key into the chat or the YAML.
8. **Delivery.** This chat through your own messaging tool, a folder, or both. Never assume a platform.
**How to ask.** If your runtime has a tool for asking the user structured questions with selectable options (for example `AskUserQuestion` in Claude Code), use it: it is faster to answer than a questionnaire. Group the questions into a few rounds, because later answers depend on earlier ones and such tools take a handful of questions per call:
- **Round 1: the basics.** Language, cadence, delivery time and length. Offer the language of this conversation first, `daily`, `weekdays` and `weekly`, two or three common times in the timezone this machine reports (say which one you assumed), and lengths such as 5, 10 and 15 minutes.
- **Round 2: content.** Topics, with a multi-select of likely ones, and sources: "I have feed URLs or an OPML file" or "find feeds for these topics".
- **Round 3: the show.** Title and hosts. Suggest two or three titles that fit the topics and language, and host line-ups (one, two or three hosts, each with a name and a one-line brief).
- **Round 4: sound and delivery.** One question per host with two or three voices from `voices --locale <locale>`, and the delivery options.
Put your recommended option first. Free text is still needed for feed URLs and custom names: say the user can type their own answer. Settle anything still open in a short follow-up.
Without such a tool, ask everything in one compact message, not one by one, and give a suggested default for each question so the user can accept with a single reply.
Then create the show:
```bash
uv run "$SKILL_DIR/scripts/agentpodcast.py" init --home ~/Podcasts/<slug>
```
Write `config/show.yaml` and `config/sources.yaml` from the answers. Keep the comments. Declare in `topics:` every topic a feed uses. Do not invent feeds: use only what the user gave or confirmed. Add GitHub `projects` only for repositories the user names; finding feeds for a topic never adds one. Then:
```bash
cd ~/Podcasts/<slug>
uv run scripts/agentpodcast.py doctor
```
Fix every `[FAIL]` before producing anything. `[WARN]` lines are worth reading (a typo in a key, an undeclared topic, a feed that did not answer) but do not block an edition. When `doctor` is ready, run `collect` and `brief`, show the user the top stories, and offer a first episode.
## The episode loop
Work from the show directory, with the show's copy of the engine (`uv run scripts/agentpodcast.py <command>`).
1. **Collect.** `collect` fetches the feeds, scores, clusters and selects. It writes `data/<edition>/selected.json` and `candidates.json`. The edition is today's date on this machine's clock. The window covers the time since the last rendered episode plus 12 hours, so it follows the cadence by itself. If the last episode is more than a week old, `doctor` warns that the window will be capped at a week: when the user is here, ask first whether to produce a capped episode, use another window (`collect --hours N`) or skip; in a scheduled run, go ahead and mention it in the delivery.
2. **Brief.** `brief` writes `data/<edition>/brief.md`: the stories, their summaries, links and the script format.
3. **Write.** Read `brief.md`. Open the original links for the stories that matter and verify the facts you intend to use. When a story lists other coverage, the newest article may carry the latest state of the story; use it if it is about the same thing. A story marked as already covered in an earlier episode gets only what is new since then, briefly; drop it if nothing is. Write `data/<edition>/script.md` in the show language.
4. **Check.** `check data/<edition>/script.md`. Fix every error. Read the warnings: a figure that is not in the cited stories' articles must be verified or removed.
5. **Render.** `render data/<edition>/script.md`. It synthesises, masters and tags `output/<edition>.mp3`, and writes `data/<edition>/sources.md`. Lines already synthesised for this edition are reused, so a second render after a fix is cheap.
6. **Deliver.** Send the mp3 with your own messaging tool, then the sources list as a separate message. If there is no gateway, leave both files where they are and tell the user the exact paths.
## Writing rules
- Content in the show language. Machine markers (`## 01 · Title`, `[Sources: 1, 4]`) always in English.
- Speaker labels are the host names in capitals. Alternate; `check` warns when one host has three lines in a row.
- End every block with `[Sources: ...]`, using the ids in the brief. Use `[Sources: -]` only for blocks that cite nothing.
- Every number must be in the summary of a source cited in that block, or verified by you and attributed. No invented figures, names, quotes or dates.
- No filler, no ads, no "in today's episode we will talk about". Say the thing.
- If there is not enough material, make a shorter episode. Never pad it.
- The frontmatter needs `edition` and a short `subtitle` (2 to 6 words). It becomes the episode title.
The full format is in `references/script-format.md`.
## Scheduling
A scheduled run starts you without the user, with a one-line prompt such as the blueprint's. Follow the episode loop; do not ask questions, because nobody is there to answer them. If something blocks the run, stop and report it.
- **Hermes.** The skill carries a blueprint for a daily 07:00 run. When the user accepts it, adjust the cron expression to their timezone and preferred time. `deliver` decides where the run summary goes; you always send the episode yourself.
- **Other agents.** Use the system scheduler (cron, launchd, systemd timers, Task Scheduler) to start the agent's non-interactive mode in the show directory, for example `claude -p "<prompt>"`, `codex exec "<prompt>"` or `gemini -p "<prompt>"`. The job needs `PATH` to include `uv`, `ffmpeg` and the agent, any TTS key in its environment, and permission to run commands, edit files in the show and open web pages. The repository's `docs/scheduling.md` has a complete crontab line.
Write the schedule in the user's timezone, or convert it if the scheduler runs in UTC.
## Pitfalls
- **Do not tune the window to the cadence.** It follows the time since the last episode by itself; `window_hours` only sets the first episode's window. Use `collect --hours` for a one-off.
- **A dead feed does not stop the edition.** `collect` lists it under `errors` and carries on; `doctor` only warns. Do not edit the config because of one transient DNS failure.
- **TTS needs network.** If synthesis fails, run `render` again: lines that already worked are reused. If it still fails, say so instead of shipping a half episode.
- **`check` warnings are not bugs.** They are the list of claims to verify.
- **No secrets in YAML.** Keys belong in the environment; the engine has no credentials of its own.
- **`collect` will not replace the selection under a written script.** The ids in `[Sources: ...]` are positions in `selected.json`. If the edition already has `script.md` or an mp3, `collect` refuses; carry on from the existing selection (a retried scheduled run does exactly that). Use `--force` only when the user wants a new selection, and then rewrite the script from the new `brief.md`.
- **Do not hand-edit `state/editions.json` or `state/covered.json`.** Episode numbers are assigned by `render`, and the next window starts from the last rendered episode. `covered.json` is what keeps the next episodes from repeating this one. If a test render took a number (and so moved the window and the memory), tell the user and let them decide.
- **Update the engine from the skill, not from the show.** `uv run "$SKILL_DIR/scripts/agentpodcast.py" init --home <show> --update`.
## Reversal
Delete the show directory and the scheduled job. Nothing outside the show is touched.