--- name: kirupa-podcast description: How to produce and promote a KIRUPA podcast interview on kirupa.com. Use it to transcribe a recording into speaker turns and write the editorial JSON; to render or fix a podcast page (podcast/.htm plus its .md, .txt, and preview image) and take it live over FTP; and for the site-wide publish (podcast index card, learn hub latest list, RSS in modular/kirupa.xml, llms.txt). It also covers Spotify and Apple Podcasts listening links, the YouTube title and description, 16:9 and 9:16 highlight clips with "Birdy font" captions, and LinkedIn, X, TikTok, or YouTube Shorts posts for a clip, plus a LinkedIn and X post for the full interview. Use it as well to turn any widescreen video, including a talk with slides that isn't a podcast, into a vertical 9:16 version for TikTok, Instagram Reels, or YouTube Shorts, and to make "Giant word" YouTube thumbnails (one huge pixel word with Kirupa cut out in front) for his own videos. --- # KIRUPA podcast Each interview Kirupa records becomes a page in `podcast/` with a full transcript, then a card on the podcast index, an RSS item, YouTube copy, short captioned highlight clips, and social posts. This skill is the procedure behind the Francis Ma and Dave Thackeray pages and the highlight clips for all 50 interviews, written down so any agent can repeat it. This skill's home is `skills/kirupa-podcast/` in kirupaWWW, published at https://www.kirupa.com/skills/kirupa-podcast/SKILL.md. Edit it there; `.github/skills/kirupa-podcast/` is a generated mirror (`python3 tools/skills/sync_public_skills.py`). Read this file, then the whole reference for the phase Kirupa asked for, before you act. For the page's search title, description, structured data, and `llms.txt` entries, and for every YouTube, clip, and social post, also read and follow [kirupa-seo-aeo](https://www.kirupa.com/skills/kirupa-seo-aeo/SKILL.md) (`skills/kirupa-seo-aeo/SKILL.md`); this skill's formats win on episode specifics. Run commands from the repo root with `SK=skills/kirupa-podcast`. ## Phases Kirupa asks for each phase himself, in whatever order suits the episode. Dave's went 1, 2, 3, 5, 7, 4, 8, 6. Don't run ahead: a draft isn't a go-live, and going live isn't the site-wide publish. | # | When Kirupa asks for | Read | Tools | Result | | --- | --- | --- | --- | --- | | 1 | A transcript of a new recording | `references/transcript.md` | `scripts/transcript/` | Speaker turns, two more Whisper witnesses, and the 1280x720 preview frame, all in your session folder | | 2 | The page draft | `references/editorial.md`, then `references/page.md` | `assemble_editorial.py`, `transcript/transcript_images.py`, `transcript/turn_portraits.py`, `render_article.py`, `validate_article.py` | The editorial JSON, the transcript images (a portrait for nearly every turn, `page.md` 1b), then the page files committed on your branch | | 3 | The page live ("FTP the changes") | `references/page.md`, "5. Go live" | `tools/publish_site.py` over FTPS | `https://www.kirupa.com/podcast/.htm` | | 4 | The publish, with site-wide updates and RSS | `references/publish.md` | `publish_episode.py`, `tools/build_podcast_search.py` | Index card, searchable transcript with timestamp links, learn hub latest item, podcast left rail link, RSS item, and `llms.txt` lines, uploaded and pushed | | 5 | The YouTube title, description, and thumbnails | `references/youtube.md` | `youtube_check.py`, `thumbnails.py` | Two code blocks in your reply, plus 1920x1080 and 1080x1920 thumbnails next to the recording. The same copy goes on Spotify and Apple. | | 5a | A thumbnail for one of Kirupa's own videos, not an interview | `references/video-thumbnails.md` | `giant_word_thumbnail.py`, `person_mask.swift` | 1920x1080 and 1080x1920 "Giant word" thumbnails and a 320x180 preview, next to the recording | | 6 | Spotify and Apple links on the page | `references/listening-links.md` | `find_listening_links.py` | The ▶️ 🎧 🍎 line above "About this conversation" | | 7 | Highlight clips (16:9 and 9:16) | `references/highlight-clips.md` | `scripts/highlights/` | Captioned MP4s and a `manifest.json`, outside the repo | | 7a | A vertical 9:16 version of any widescreen video, podcast or not, for TikTok, Reels, or Shorts | `references/vertical-social.md`, then `references/highlight-clips.md` | `scripts/vertical/example_404_arcade.py` or, for a deck with a demo and short cuts, `scripts/vertical/example_rofl_design_system.py` (examples to adapt), `scripts/highlights/clip_engine.py` | A 1080x1920 MP4, its preview, and a `manifest.json`, outside the repo | | 8 | LinkedIn, X, TikTok, or Shorts posts | `references/social-posts.md` | `social_counts.py` | The full-interview LinkedIn and X posts, then per-clip copy blocks, with character counts in your reply | | – | A fix to a live page | `references/page.md`, "Editing a live page" | `episodes/.json`, `render_article.py --check` | Re-rendered page files, uploaded | ## Ground rules Most of these come from something that went wrong once. - Work only in your session's worktree, never in Kirupa's main checkout (`~/.copilot/repos/kirupawww`). Fetch `origin/main` and rebase before you push. Never force-push. - Keep media out of the repo: no source videos, audio, mic tracks, clips, or fonts. If Kirupa says not to copy a recording, work from what has already been extracted. - Don't reassign speakers. The turns come from each person's isolated mic, so the attribution is reliable. - Edit the transcript lightly. Never summarize or invent, and keep negations exactly as spoken. When Kirupa says he misspoke, fix the page and the clip caption together. At 1:17:44 he said "That option existed" but meant it didn't, so both now read "That option did not exist" (`a41f9edf`). - Keep a guest's words in the transcript, but don't repeat their mistakes in your own copy. Dave credited Kevin Kelly with "Flounder Mode", which is Brie Wolfson's essay in Colossus, so nothing outside the transcript credits Kelly with it. - Don't stretch what Kirupa said into a bigger claim, or present his plans as things he's done. April's intro, about paragraph, chapter text, and Spotify copy said he'd rebuilt kirupaVille with Colorfigures. He never did, so the intro hook was cut and the other lines now say only that he tweaked it to draw 8-bit pixel art. - Check every name on the web. The solo intro is recorded separately and gets misheard ("Dave Daquiri" was Dave Thackeray), and Whisper garbles names everywhere else ("Jan LeCun", "Noah Yuval Harari"). - Before you change a doubtful word, test the audio unprompted and with competing prompts. "Re-sit" became "reset" because every prompt agreed. "Fly by" and "Jeff" never moved, so they stayed in `uncertain_terms`. - Render pages with `render_article.py`. To change one, edit its episode JSON and re-render rather than touching the markup, so `--check` keeps matching the live files. Pages older than this skill have no JSON and are edited by hand. - After adding or editing a transcript, run `python3 tools/build_podcast_search.py`, then `python3 tools/build_podcast_search.py --check`. Commit the updated `podcast/search-index.json` and `podcast/index.htm`; publish the index JSON before the listing. Search uses the public pages' speaker-turn timestamps and existing YouTube links, not estimated word timings. - **Every new episode release must update transcript search.** `publish_episode.py` adds discovery links but does not rebuild the search index. After rendering the final episode and adding its listing card, run the search builder and its checks as required by `references/publish.md`. Include `podcast/search-index.json` in the drift capture, commit, and guarded upload; preserve the builder's cache key in `podcast/index.htm`. Verify the released episode is searchable using a distinctive transcript phrase and follow its timestamp link. A listing card alone is not a finished release. - Transcript search uses ranked phrases, whole-word/plural matching, and the general topic vocabulary in `podcast/search.js`; it does not call an AI service or recognize arbitrary semantic relationships. Extend topic aliases there, not with episode-specific result exceptions. Run `node --test tools/podcast_search.test.mjs` and the podcast browser check after changes; keep real transcript evidence, unknown query qualifiers, and existing timestamp links intact. - Every page, draft included, needs its transcript images under `podcast/images/transcript//`: `guest.jpg` and a portrait for nearly every turn, as on Amit's page. Make them from the final recording with `--video` without being asked. The renderer won't write a page without them, the validator fails it, and they upload before the page does. See `references/page.md`, 1b. - Chapter bands are text only: number, time, title, description, and the "Watch this part" link. Kirupa had the large chapter frames taken off every page because they didn't fit the site's theme, so never add images to bands. The validator fails a band that has one. - Drift-check before you upload any file that already exists on the server. The server can be newer than git. - Never print, echo, or paste the FTP credentials. `curl --netrc` reads them from `~/.netrc`. - Never rename a live slug. The RSS feed, `llms.txt`, YouTube, and the social posts all link to it. - Pass the commit title, the body, and the `Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>` trailer as separate `-m` arguments. A single `-m` with `\n\n` inside stored a literal backslash-n in the Francis publish commit. - "Birdy font captions" means Born2bSportyV10 (`~/Library/Fonts/Born2bSportyV10.ttf`). Birdy itself is caps-only and has no apostrophe, dash, or ellipsis. - Put every deliverable in your final reply, in copyable code blocks: titles, descriptions, posts, URLs, and commit SHAs. Kirupa once couldn't find posts that had only appeared mid-session. ## Quick commands ```bash SK=skills/kirupa-podcast # Render a page. Add --youtube-id once the video exists. python3 $SK/scripts/render_article.py --data --slug --min-last-seconds # Validate the JSON and the rendered files python3 $SK/scripts/validate_article.py --data --slug --runtime --closing "" # Prove that a live page still matches its episode JSON. Writes nothing. python3 $SK/scripts/render_article.py --data $SK/episodes/.json --slug --check # Site-wide publish. Run it with --dry-run first. python3 $SK/scripts/publish_episode.py --data --slug --card-title "" \ --icon --runtime --youtube-id --dry-run # Required after the final render and site-wide inserts, before commit/upload python3 tools/build_podcast_search.py python3 tools/build_podcast_search.py --check python3 -m unittest discover -s tools -p 'test_podcast_search.py' node --test tools/podcast_search.test.mjs # Spotify and Apple episode links python3 $SK/scripts/find_listening_links.py "" # YouTube copy. Add --live after Kirupa pastes it into YouTube. python3 $SK/scripts/youtube_check.py --title-file --description-file \ --data --slug # Character counts for social copy python3 $SK/scripts/social_counts.py # Transcript images, before the first render (needs the venv in page.md, 1b) $V $SK/scripts/transcript/transcript_images.py grab --video --data $V $SK/scripts/transcript/turn_portraits.py grab --video --data # Episode thumbnails, 1920x1080 and 1080x1920, written next to the recording python3 $SK/scripts/thumbnails.py --time --out-dir \ --name thumbnail__kirupa ``` These scripts need only Python 3, except the transcript images, which need an OpenCV venv, and the thumbnails, which need Pillow. The transcript and clip pipelines also need `ffmpeg`, an `mlx-whisper` venv, and more; copy `scripts/highlights/` to a scratch folder outside the repo and run the clip pipeline there. Each reference lists its own setup. ## What's in this folder | Path | Contents | | --- | --- | | `references/` | One procedure per phase | | `scripts/` | The page, publish, YouTube, and social tools, including both thumbnail compositors | | `scripts/transcript/` | Track alignment, Whisper passes, the merge into speaker turns, and audio spot checks | | `scripts/highlights/` | The highlight-clip pipeline, from picking moments to rendering, with schema examples in `examples/` | | `scripts/vertical/` | Examples for `references/vertical-social.md`. From The 404 Arcade: the compositor behind its vertical video, its Instagram cut, and the fit that separated its voice from the music bed. From the ROFL Design System video: one compositor for a full vertical, a 9:16 and 16:9 punch cut, and a 16:9 LinkedIn overview. Their paths, offsets, crops, edits, and caption fixes are those recordings'. | | `templates/` | The editorial JSON example (also split into `fields.example.json` and `parts/`), Dave's YouTube title and description, the social posts for his clip 04, and Kirupa's published full-interview posts for April Zhu | | `episodes/` | The final JSON behind each page this skill rendered. With `--check`, it reproduces the live Dave Thackeray and Francis Ma pages byte for byte. | ## Reference episodes | | Francis Ma | Dave Thackeray | | --- | --- | --- | | Page | `podcast/francis_ma_systems_thinking.htm` | `podcast/dave_thackeray_staying_human.htm` | | YouTube ID | `LrOvRn1a1tE` | `ClFkj9v5TeI` | | Commits | Publish `09588d6d`, shorter card title `5dec4c6e` | Draft `88c0fb26`, publish `df5e22e3`, transcript fix `a41f9edf`, listening links `fcc8bab9` and `98f42df2` | The delivered clips are in `~/Desktop/Thack/dave-social-clips/` and `~/Desktop/kirupa-podcast-highlights/`. ## macOS notes - `cat` has no `-A`. Use `cat -et`. - Set `LC_ALL=C` before running `sed` or `cut` on text that contains emoji. - `git diff --no-index` exits 1 whenever the files differ, so that exit code isn't a failure. - `sips -g pixelWidth -g pixelHeight ` reads an image's size. - The local mirror of the site is `/Users/kirupa/Documents/Documents - kirupaM4/kirupa/www`. After an upload, copy the same files there so the mirror, the live site, and git all match.