agentleFS
eins78eins78/agent-skills/skills/private-podcast-feed/SKILL.md

private-podcast-feed

Skill2 starsChanged 15 days agoMITView on GitHub

Use when publishing a private MP3+RSS feed for self-subscription. Covers itunes:block, token-prefixed URLs, ID3 CHAP/CTOC chapters for Overcast skip-ahead, and the Overcast refresh ping. Triggers: private podcast, RSS feed for Overcast, self-hosted podcast, private audio feed, MP3 RSS, personal podcast, chapter markers, Overcast ping, podcast XML, itunes:block.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the named export — the default export does not work:

    line 27
  2. Very specific:

    If using the text-to-speech skill, chapters are injected automatically during render when chapters.json is present.

    line 79
  3. Distinctive:

    After publishing a new episode, ping Overcast to trigger an immediate fetch:

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

private-podcast-feed

Publishes a private MP3+RSS feed for self-subscription in Overcast (or any podcast client). "Private" means URL obscurity via token prefix and itunes:block=Yes to keep it out of public indexes. Not cryptographic access control — the feed URL is the only secret.

1. podcast@2.0.1 Named Export

Use the named export — the default export does not work:

import { podcast } from "podcast";   // ✅ named — correct
import podcast from "podcast";        // ❌ default — fails at runtime (R3 gotcha)

2. itunes:block=Yes via customElements

The typed FeedITunes interface does not expose itunesBlock. The only correct path is the customElements array:

const feed = new podcast({
  title: "My Private Feed",
  feedUrl,
  siteUrl: new URL(feedUrl).origin,
  customElements: [{ "itunes:block": "Yes" }],  // keeps feed out of public indexes
});

Without this, the feed may be discovered and indexed by Apple Podcasts search.

3. Token-Prefixed URL

Serve the feed at /p/<32-hex>/feed.xml. The 32-hex token is 128 bits of URL obscurity — anyone with the URL can subscribe.

https://your-host.com/p/5042a002464df562718eef84ac1316f5/feed.xml

Generate a token: openssl rand -hex 16

Gitignore .token if you store the raw token on disk. Note: this is NOT access control — the URL is the only barrier. Do not store sensitive content.

4. ID3 CHAP/CTOC Chapter Frames

Inject chapters post-ffmpeg via mutagen so Overcast shows skippable chapters:

# inject_chapters.py (bundled in text-to-speech skill)
inject(mp3_path, [
    {"start_ms": 0,       "title": "Introduction"},
    {"start_ms": 125000,  "title": "Section Two"},
])

Chapters must be strictly increasing by start_ms. End time of chapter N is set to start time of N+1; last chapter ends at the MP3's total duration.

If using the text-to-speech skill, chapters are injected automatically during render when chapters.json is present.

5. Static-Hosting Pattern

The feed needs an HTTPS host returning correct content-types:

feed.xml   → Content-Type: text/xml
*.mp3      → Content-Type: audio/mpeg

Any static hosting platform works (Cloudflare R2, S3, Caddy, nginx). Podcast clients revalidate the feed URL periodically — the URL must be stable.

6. Overcast Refresh Ping

After publishing a new episode, ping Overcast to trigger an immediate fetch:

${CLAUDE_SKILL_DIR}/scripts/ping-overcast.sh https://your-host.com/p/<token>/

The script is idempotent — safe to call on every feed regeneration. It pings https://overcast.fm/ping?urlprefix=<encoded-prefix> and exits 0 on HTTP 2xx.

7. Sanity Verification

# Feed responds with correct type
curl -I <feed-url>

# itunes:block is set
curl -s <feed-url> | grep "itunes:block"   # must print "Yes"

# Item count
curl -s <feed-url> | xmllint --xpath 'count(//item)' -

# MP3 URL responds
curl -I <mp3-url>   # expect: HTTP/2 200, content-type: audio/mpeg

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.