/anglesite:podcastfrom anglesite
Sets up a podcast site with Keystatic-managed episodes, RSS 2.0 feed (iTunes/Podcast Index namespaces), audio player, transcripts, and directory submission checklist.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Stand up first-class podcast support: a Keystatic episodes collection, an RSS 2.0 feed with the iTunes and Podcast Index namespaces, episode pages with an embedded vanilla audio player, transcripts with anchored timestamps, optional YouTube video embed per episode, and a submission checklist for the major directories.
.mdoc files<audio> element, no embedded player widget${CLAUDE_PLUGIN_ROOT}/docs/smb/podcaster.md — pages, design, hosting, distribution, monetizationtemplate/keystatic.config.ts (episodes) and template/src/content.config.ts (episodes)template/src/pages/podcast/rss.xml.tstemplate/src/pages/podcast/index.astro, template/src/pages/podcast/[slug].astrotemplate/src/pages/podcast/subscribe.astrotemplate/src/components/AudioPlayer.astroRead EXPLAIN_STEPS from .site-config. If true or not set, explain before every tool call that triggers a permission prompt — tell the owner what you're about to do and why in plain English. If false, proceed without pre-announcing tool calls.
Read .site-config for SITE_TYPE, BUSINESS_TYPE, and any existing podcast-related keys (PODCAST_*).
Glob for src/content/episodes/*.mdoc. Then:
If the owner's intent is unclear, ask: "Are we setting up a new podcast, or do you want to add an episode / change something about an existing show?"
Ask the owner for the show-level details. Frame each question by the use case so the owner understands what it's for. Do not ask preemptively for fields that aren't required at this stage.
Required:
en-us. Ask if the show is in another languageTechnology, Business, Society & Culture, Comedy, News, Arts, Educationtrue or false. Required by Apple Podcastspublic/images/podcast/cover.jpg (or similar)On-demand (the iTunes feed needs an owner email — frame the ask around directory submission):
OWNER_NAME from .site-config. If missing, ask: "Apple Podcasts requires an owner name on the feed. What name should appear there?" Save back to .site-config as OWNER_NAME..site-config as PODCAST_OWNER_EMAIL. Add the email to PII_EMAIL_ALLOW in .site-config so the deploy scan does not flag it (the feed exposes it inside the iTunes XML but only podcast apps read that).Save the rest to .site-config:
PODCAST_TITLE=…
PODCAST_DESCRIPTION=…
PODCAST_AUTHOR=…
PODCAST_LANGUAGE=en-us
PODCAST_CATEGORY=Technology
PODCAST_EXPLICIT=false
PODCAST_IMAGE=/images/podcast/cover.jpg
These get exposed to the build via Astro's import.meta.env by adding the matching PUBLIC_PODCAST_* keys (Astro requires the PUBLIC_ prefix for client-readable env). Update the build environment by writing them to a .env file the owner does not commit:
PUBLIC_PODCAST_TITLE=…
PUBLIC_PODCAST_DESCRIPTION=…
PUBLIC_PODCAST_AUTHOR=…
PUBLIC_PODCAST_OWNER_NAME=…
PUBLIC_PODCAST_OWNER_EMAIL=…
PUBLIC_PODCAST_IMAGE=/images/podcast/cover.jpg
PUBLIC_PODCAST_CATEGORY=Technology
PUBLIC_PODCAST_LANGUAGE=en-us
PUBLIC_PODCAST_EXPLICIT=false
.env is gitignored. For Cloudflare Workers, mirror these as Worker environment variables in wrangler.jsonc so production builds can read them.
Tell the owner: "Audio files are large — they don't belong in the website's git repo or public/ directory. They live on a host that serves the audio and (usually) reports download analytics. I'll embed the player on your site, but the file itself sits somewhere else."
Read the audio hosting comparison in ${CLAUDE_PLUGIN_ROOT}/docs/smb/podcaster.md (Tools → Podcast hosting) and present the options:
Ask the owner which they want. Save to .site-config as PODCAST_HOST=r2 (or buzzsprout, transistor, captivate, libsyn, castopod).
Anglesite can provision an R2 bucket with the Cloudflare MCP tools and upload episodes through wrangler. The owner's only visit to the Cloudflare dashboard is the one-time public-address setup in item 5 below.
Cost expectations for the owner (prices as of writing — re-check before quoting):
Tell the owner: "For most starting podcasts, R2 is free or under $1/month. The trade-off vs. Buzzsprout is that you don't get per-episode download charts — Cloudflare gives you total request counts, but not the listener-app breakdown sponsors sometimes ask for."
Then provision:
Confirm the user is logged in to Cloudflare — run npx wrangler whoami. If not logged in, prompt them through npx wrangler login (browser OAuth).
Pick a bucket name. Use <site-slug>-podcast-audio (e.g., acmeshow-podcast-audio). R2 bucket names are globally unique within an account, lowercase, hyphens allowed. Read SITE_SLUG from .site-config; if missing, derive from PODCAST_TITLE (lowercased, hyphenated).
Check whether the bucket already exists with the Cloudflare tool r2_buckets_list (tools are found by suffix and the account is selected as described in ${CLAUDE_PLUGIN_ROOT}/docs/cloudflare-mcp.md). If a bucket with the chosen name is present, reuse it; otherwise create it with r2_bucket_create (location: auto unless the owner has a strong reason to pin a region). If those tools are not available, use npx wrangler r2 bucket list and then npx wrangler r2 bucket create <bucket>.
Save the bucket name to .site-config as PODCAST_R2_BUCKET=<name>.
Configure public access. R2 buckets are private by default — podcast apps need the audio at a public URL.
audio.<owner-domain>. Tell the owner: "I'll set up audio.<your-domain> to serve audio files. Cloudflare DNS handles this; no extra setup needed beyond confirming the domain." Bucket → R2 → Settings → Custom Domains → Connect Domain. Save as PODCAST_R2_PUBLIC_BASE=https://audio.<owner-domain>.r2.dev development URL (https://pub-<hash>.r2.dev). Faster to set up, but Cloudflare rate-limits it and discourages production use. Save the URL to .site-config as PODCAST_R2_PUBLIC_BASE=….Emit the upload command for the owner to run per episode. Tell them: "Drop the MP3 anywhere on your machine, then run this for each episode."
npx wrangler r2 object put <bucket>/<slug>.mp3 --file=/path/to/episode.mp3 --content-type=audio/mpeg
The episode's audio URL will be ${PODCAST_R2_PUBLIC_BASE}/<slug>.mp3.
Auto-fill the Keystatic episode entry in Step 4: when the host is R2 and the owner gives a local file path, get the file size in bytes for lengthBytes (the node -e command in Step 4), set audioUrl to ${PODCAST_R2_PUBLIC_BASE}/<slug>.mp3, and (if wrangler is configured) run the wrangler r2 object put command on their behalf — only after confirming the bucket and the file path with the owner.
Off-ramp. R2 isn't a podcast host in the Buzzsprout sense. If the owner later wants per-episode analytics or transcription, they can move to a real podcast host without changing their RSS feed URL: re-host the audio elsewhere, update each episode's audioUrl, redeploy. Mention this when offering R2 so the owner doesn't feel locked in.
The owner uploads each episode to the host's dashboard and copies the host's MP3 URL into the Keystatic episode entry. Anglesite does not store audio files on R2 or in public/audio/ in this case.
Do not drop audio files in public/audio/ for production. Cloudflare's static assets bind has a 25 MB per-file limit, but more importantly, large binaries in git slow every clone, push, and deploy. The legacy public/audio/ path is preserved only as a last-resort fallback for very small files (e.g., a single 5 MB trailer). Nothing checks this automatically — check the file size yourself (the node -e command in Step 4) and steer the owner to a host if it is over 10 MB.
The schema is already defined in template/src/content.config.ts and template/keystatic.config.ts, but only activates when src/content/episodes/ contains at least one file. Use the Write tool to create src/content/episodes/.gitkeep (empty file) — Write creates the directory. public/audio/ and public/images/podcast/ are created the same way when the first file lands in them. Then restart npm run dev; Astro picks up the new content directory automatically.
Walk the owner through filling in the first episode. Frame the questions plainly:
npx wrangler r2 object put $PODCAST_R2_BUCKET/<slug>.mp3 --file=<path> --content-type=audio/mpeg and set audioUrl = $PODCAST_R2_PUBLIC_BASE/<slug>.mp3.public/audio/: only for trailers under 10 MB; set audioUrl = /audio/<slug>.mp3.public/audio/, run node -e "console.log(require('fs').statSync(process.argv[1]).size)" <local-path> (works on macOS, Linux, and Windows) and write the number it prints to the episode's lengthBytes. For hosted platforms, the host shows the size in the episode dashboard. Apple's directory listing requires this.MM:SS or HH:MM:SSfull, trailer, or bonusyoutube-nocookie iframe under the audio player. See Step 4b.Write the file at src/content/episodes/<slug>.mdoc. The body of the file is the show notes and transcript — this is the SEO-critical part. See Step 5.
Ask the owner: "Do you also publish video versions of episodes — on YouTube, Spotify, or both? More podcasts are doing this for the discovery boost."
If yes:
PODCAST_VIDEO=youtube in .site-config. Then run npm run ai-csp, which adds www.youtube-nocookie.com to frame-src in public/_headers (nothing does this at build time).youtubeUrl field. The skill embeds the player on the episode page automatically.<enclosure type="video/mp4">) but most owners use the YouTube + Spotify direct-upload combo instead — this skill ships the audio-first RSS path.Trade-offs to surface:
youtube-nocookie, viewers' interactions are visible to YouTube. Some owners prefer to leave the YouTube link in the show notes instead of embedding.Tell the owner: "Search engines can't listen to audio, but they can read text. Show notes and transcripts are how your podcast gets discovered through search."
Ask the owner to provide:
${CLAUDE_PLUGIN_ROOT}/docs/smb/podcaster.md Compliance)Format timestamps as markdown links to special anchors. The audio player picks these up and seeks the player when clicked:
- [12:34](#t-12-34) — How we got started
- [25:10](#t-25-10) — The hardest decision of year one
- [1:08:42](#t-1-8-42) — Listener Q&A
The pattern is #t-<minutes>-<seconds> for under an hour, #t-<hours>-<minutes>-<seconds> for an hour or more. The vanilla JS in AudioPlayer.astro parses these and calls audio.currentTime.
Ask the owner: "Do you have a transcript? If yes, I'll add it under the show notes. If no, I can suggest tools."
Tools:
pip install openai-whisper && whisper episode.mp3If the owner has a transcript, paste it into the markdown body under a ## Transcript heading. Format speaker turns with bold names and inline [12:34](#t-12-34) links every 30–60 seconds so listeners can jump to a specific spot from the transcript.
Remind the owner: auto-generated transcripts get proper nouns and technical terms wrong. Always proofread before publishing.
Run the build:
npm run build
Then check:
dist/podcast/index.html — episode listingdist/podcast/<slug>/index.html — episode page with audio playerdist/podcast/rss.xml — feed with iTunes namespace and at least one <item>Open the episode page in npm run dev and verify:
[12:34](#t-12-34) link in show notes seeks the playerValidate the RSS feed: Read dist/podcast/rss.xml and confirm the show title, owner email, artwork URL, and each <enclosure> (URL, length, type) are filled in. After the first deploy, point the owner at the Cast Feed Validator and the Podbase iTunes validator with the deployed feed URL — both need a public URL, so they can't check the local build.
After the first deploy, walk the owner through directory submissions. Submit once — the directories pull updates from the RSS feed automatically afterward.
Use this checklist as a markdown checkbox list and update it as the owner confirms each submission. Save the state to
.site-configasPODCAST_SUBMITTED=apple,spotify,….
.env as PUBLIC_PODCAST_APPLE_URL=….PUBLIC_PODCAST_SPOTIFY_URL=….PUBLIC_PODCAST_OVERCAST_URL=….PUBLIC_PODCAST_POCKETCASTS_URL=….PUBLIC_PODCAST_INDEX_URL=….youtubeUrl field to embed it on the website.After saving the platform URLs to .env, redeploy so /podcast/subscribe/ shows direct links instead of the platform homepages.
If src/content/episodes/*.mdoc already exists, the owner is back to add/edit/release an episode. Ask:
.mdoc file).mdoc file.env and .site-config, then redeploy/anglesite:stats (this skill does not fetch host analytics)Remind the owner: "You can also create or edit episodes directly in Keystatic — look under 'Podcast Episodes' in the sidebar."
After any change, run npm run build and verify the RSS feed still validates.
/anglesite:newsletter) — when an episode is published, the newsletter skill can syndicate it. The episode body is markdown, so it works the same as a blog post. Suggest this once the show has a few episodes.${CLAUDE_PLUGIN_ROOT}/skills/qr/SKILL.md (it is not a slash command) to offer a QR code for each episode page (e.g., for a sticker, a flyer at a live show, or a guest's social bio)./anglesite:photography) — show artwork and guest portraits matter more for podcasts than most verticals. The photography shot list for podcasters covers this./anglesite:seo) — the podcast pages get the standard SEO pass. The transcript is the biggest single SEO contribution; remind the owner not to skip it./anglesite:backup) — episode .mdoc files commit normally. Audio files do not belong in git: hosted shows have audio at the host, R2-hosted shows have audio in the bucket, and the legacy public/audio/ fallback should only hold tiny clips. The backup skill does not filter by size — anything left in public/audio/ is committed, so keep large files out of it./anglesite:stats) — Cloudflare reports website visits to episode pages. Audio download counts come from the podcast host (Buzzsprout, Transistor, etc.) — the website cannot see them./anglesite:podcast is idempotent. Running it again on an existing podcast enters Step 8 (manage). It does not overwrite show metadata, episodes, or .env.
What SKILL.md sets; muted values are Claude Code's defaults
Use when the owner wants to publish a podcast, host episodes on the site, or submit a show to Apple Podcasts, Spotify, or other directories.
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/bookingEmbed appointment scheduling (Cal.com or Calendly) into the siteOther plugins' skills for the same job