episode
/episode
Tworzy kompletny odcinek dla kanału shadowcast: research, karta faktów, scenariusz, zatwierdzenie, lektor, zdjęcia, grafika ruchoma, render, dwa Shorts, miniatury i pakiet do publikacji.
- Autor
- generalizingai ↗
- Repozytorium
- shadowcast ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy kompletny odcinek dla kanału shadowcast: research, karta faktów, scenariusz, zatwierdzenie, lektor, zdjęcia, grafika ruchoma, render, dwa Shorts, miniatury i pakiet do publikacji.
Wyzwalacze z opisu
Argumenty
/episode <channel slug> [topic or episode ID]
Oryginalny opis (EN)
Produce one complete episode for a shadowcast channel. Covers research, fact sheet, script, approval gate, voice-over, photos, word-synced motion graphics, layout audit, render, two native Shorts, thumbnails and the upload package. It resumes from the episode's saved status. Use for "make the next video", "new episode about X", or to continue an unfinished one.
Jak działa
- 1. planned → researched
- 2. researched → scripted → awaitingapproval
- 3. approved → voiced
- 4. voiced → built
- 5. built → audited (do not skip)
- 6. audited → rendered
- 7. rendered → packaged
- 8. packaged → scheduled
Podgląd SKILL.md
---
name: episode
description: Produce one complete episode for a shadowcast channel. Covers research, fact sheet, script, approval gate, voice-over, photos, word-synced motion graphics, layout audit, render, two native Shorts, thumbnails and the upload package. It resumes from the episode's saved status. Use for "make the next video", "new episode about X", or to continue an unfinished one.
argument-hint: <channel slug> [topic or episode ID]
---
# Episode pipeline
```
T="${CLAUDE_PLUGIN_ROOT}/tools"
W="${SHADOWCAST_HOME:-$HOME/Shadowcast}/<slug>"
```
Read these before starting:
- `W/channel.json`
- `W/STYLE.md`
- `${CLAUDE_PLUGIN_ROOT}/skills/episode/references/RULES.md`
- `${CLAUDE_PLUGIN_ROOT}/skills/episode/references/KIT.md`
Then run `python3 "$T/ep.py" list <slug>`.
- If an episode ID is given, or one is unfinished, **resume it at its status**.
- Otherwise start a new one.
After each stage, record it with `python3 "$T/ep.py" set <slug> <ID> <status>` so a crash or a new session continues where it stopped.
## 1. planned → researched
1. **Pick the topic.**
- If none was given, take the best unused idea from STYLE.md "Topics".
- Check it isn't a repeat: compare against the existing episode titles.
- Use WebSearch to check it's timely or evergreen.
2. **Create the episode.** Run `python3 "$T/ep.py" new <slug> "<working title>"`. It prints `{id, dir, src}`.
3. **Research.**
- Use WebSearch/WebFetch on primary and reputable sources: court records, major outlets, official stats, the person's own statements.
- Record 2+ sources for any serious claim.
4. **Fill `dir/FACTSHEET.md`.** Every claim, its exact status, and its source; a "Never say" list; numbers with units; the Sources list (outlet, "headline", date, URL).
5. Set status `researched`.
## 2. researched → scripted → awaiting_approval
1. **Write `dir/SCRIPT.md`** from the template.
- Sections are `## ` headings, and every voiced line starts with `**VO:**`.
- Section names drive the rail:
- countdown: `COLD OPEN`, `#10 NAME` … `#1 NAME`, `OUTRO`
- chapters: `COLD OPEN`, `CHAPTER 1: TITLE` …, `OUTRO`
- Length = minutes × wpm words.
2. **Self-check against FACTSHEET line by line.** Every sentence must be supported; fix or cut anything that isn't.
3. If `meta.feedback` exists, this is a rewrite: address every point, then clear it with `python3 "$T/ep.py" set <slug> <ID> scripted feedback=`.
4. **Approval gate.** Set `awaiting_approval`, then run `python3 "$T/notify.py" <slug> "Script ready: <ID>" "<title>. Approve with /shadowcast:approve <slug> <ID>"`. What happens next depends on the session:
- **Interactive session:** show the user the title, a 5-line summary, the claim count and the path. Ask whether to approve now.
- **Autopilot:** stop work on this episode. `ep.py next` decides when it may continue: after the approval window in `optional` mode; never automatically when `real_people` is true or mode is `required`.
5. When approved: set `approved`.
## 3. approved → voiced
1. `python3 "$T/tts.py" "<dir>"`: one ElevenLabs request per section, with timestamps.
- Add pronunciation fixes to `channel.json voice.respell` (e.g. `[["Nguyen","Win"]]`).
2. `python3 "$T/tighten.py" "<dir>" <tempo>`: caps pauses at 0.32 s, tempo from `voice.tempo` (default 1.1).
- It writes `audio/vo_tight.wav`, `words_tight.json` and `sections_tight.json`.
3. Listen-check by reading `words_tight.json` around tricky names. Check the total duration is within ±15% of the target.
4. Set `voiced`.
## 4. voiced → built
1. **Photos.** Start fetching people and backgrounds early. For each item, follow the RULES "Assets" section:
- Search: `python3 "$T/commons.py" search "<query>"`.
- Fetch: `python3 "$T/commons.py" fetch "<dir>/assets/web" p_<name> "File:<title>"`.
- Cut out: `python3 "$T/cutout.py" "<dir>/assets/web/p_<name>.jpg" "<dir>/assets/cut/<name>.png"`.
- **Look at every cut-out.**
- Run several fetches in a background agent if it's slow. Build with stand-ins meanwhile.
2. **Long video shots.** Write `src/shots.tsx`, splitting into `shots1.tsx`/`shots2.tsx` past ~40 shots.
- One shot per beat, every 4-8 s, word-anchored with marks for each reveal.
- Vary the components and follow the STYLE visual grammar.
- Cold open: `TitleCard`, or a `Lineup`/`Teasers` hook. Each countdown item opens with `Countdown`. Outro ends with `Choices` then `EndCard`.
3. **Shorts.** Pick 2 sections (strongest hook; #1 or payoff) and write `short1.tsx` / `short2.tsx` with fresh 9:16 shots for that section.
4. **Thumbnails.** Write `thumbs.tsx` with ThumbA/B/C (see RULES).
5. **`index.tsx`.** Use `makeEpisode({ words: W_, sections: S_, shots: SHOTS, rail, total })` and the EpisodeEntry ids `<ID>`, `<ID>Short1`, `<ID>Short2`, `<ID>ThumbA/B/C`.
- `rail` is `"countdown"` with `total` = item count, or `"chapters"`.
6. **Register and typecheck.** Run `python3 "$T/ep.py" register <slug> <ID>`, then `cd "$W/studio" && npx tsc --noEmit -p .`, and fix every error.
7. Set `built`.
## 5. built → audited (do not skip)
1. Run `python3 "$T/audit_layout.py" "$W/studio" "<dir>" <ID>`.
2. Open **every** sheet it prints with Read. Check each frame against the RULES "Layout" list.
3. Fix, re-run, and look again until a full pass is clean.
4. Also view the thumbnails: `npx remotion still` each one into the scratchpad.
5. Set `audited`.
## 6. audited → rendered
1. Check the disk with `df -h ~`. You need about 3 GB free.
2. Run `python3 "$T/render.py" episode <slug> <ID>`. It writes `out/long.mp4`, `short1.mp4`, `short2.mp4` and `thumb_A/B/C.jpg`. A 10-minute video takes about 10-25 minutes.
3. Verify: `ffprobe` the durations, extract and view about 6 frames from the long video and 3 per Short (`ffmpeg -ss <t> -i <f> -frames:v 1 <scratch>.jpg`), and view the thumbnails.
4. Set `rendered`.
## 7. rendered → packaged
1. Add a `"package"` section to `dir/meta.json`. The format is in `tools/package.py`'s docstring:
- 3-4 title options (main first, under 70 characters, following the STYLE title formula)
- summary (2-3 sentences, keyword-rich, accurate), cta, 12-18 tags
- chapter_names if the section names need prettifying
- accuracy notes, the thumbnail letter
- the two shorts: role, title with `#shorts`, hook, social caption, sources
2. Run `python3 "$T/package.py" <slug> <ID>`.
3. Set `packaged`.
## 8. packaged → scheduled
Hand off to the publish skill (`/shadowcast:publish <slug> <ID>`), or follow its steps directly.
Pliki w paczce (3)
- SKILL.md 6 KB
- references/KIT.md 7 KB
- references/RULES.md 4 KB
Wersje
W bazie nie ma innych skilli o nazwie episode.
Migawka bazy z 13.11.2026 · wersja paczki 27c83a37b9a1 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100publish
Planuje publikację odcinka shadowcast na YouTube (film długi i dwa Shorty z miniaturą) oraz opcjonalnie na Facebooku i Instagramie przez SocialBunny, według kalendarza kanału. - 90clone-channel
Prowadzi od linku do kanału YouTube przez audyt, tożsamość nowego kanału i pierwszy odcinek z planem publikacji. - 86shorts-new
Tworzy nowy krótki film 3D na YouTube: pomysł z mocnym hakiem, scenariusz lektora, weryfikację faktów i ustawienia w Unity. - 90ai-host-video
Produkuje kompletny odcinek kanału z jednym spójnym prezenterem AI, materiałami wizualnymi i zmierzonym montażem końcowym, gdy odcinek jest zamówiony. - 100show-next
Pisze kolejny odcinek serii wideo AI albo rozciąga jeden odcinek do historii od 3 do 5 minut z połączonych scen po 15 sekund. - 100distribute
Dystrybuuje odcinek podcastu i jego krótkie klipy: wysyła wideo na YouTube, planuje posty na LinkedIn i prowadzi kampanię promocyjną.