/map-documentary-maker:map-documentary-makerfrom map-documentary-maker
Produces animated documentary explainer videos with dark relief maps, moving routes, date cards, charts, and narration entirely on your local machine using Python and ffmpeg. Guides you through research, script, voice, scene planning, animation, and thumbnail creation.
Ships in map-documentary-maker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Produce a map-animated documentary explainer like the ones on modern geopolitics channels: no presenter, a calm narrator, dark relief maps, routes that draw on with jets and ships moving along them, big date cards, highlighted news clippings, charts and real photos. Everything runs locally and free: research on the web, Kokoro for the voice, Whisper for timing, Python + ffmpeg for the picture.
| Stage | You make | Tool | Wait for the user? |
|---|---|---|---|
| 0. Setup (first time) | Python env, fonts, map data | scripts/setup.sh | no |
| 1. Brief | topic, length, voice, style choices | chat | yes |
| 2. Research | research/brief.md with sources | web search + fact-check subagent | no (continue) |
| 3. Script | script.md + voice/partN.txt | chat | yes, approval |
| 4. Voice | voice/partN_vXX.wav + timings | narrate.py, align.py | only if the voice differs from the script |
| 5. Scene plan + assets | scene_plan.md, assets/ | fetch_commons.py | yes |
| 6. Animation | out/partN_vXX.mp4 | prep_geo.py, scenes.py, render.py | yes, after each part |
| 7. Thumbnail + upload pack | out/thumbnail_vXX.png, YOUTUBE.md | thumbnail.py | yes |
line_chart does this).split_bar._v01, _v02 ...). The scripts do this for you.Paths below: $SK is this skill's scripts/ folder (the skill's base directory + /scripts), $PY is ~/.cache/map-documentary-maker/venv/bin/python, and commands run inside the project folder.
If $PY does not exist, run bash $SK/setup.sh (about 2.5 GB including the voice and speech models, 5-15 minutes; run it in the background). It needs ffmpeg; if ffmpeg is missing, tell the user the one install command for their OS. Use --no-voice if the user will record their own voice and has timestamps.
Ask in one short message, with defaults so the user can just say "defaults":
am_michael; the user can hear samples) or their own recordingThen create the project: $PY $SK/new_project.py <folder> "<title>" --bbox lon0 lat0 lon1 lat1 (the bbox must cover the widest shot in the film, not just the places: a zoomed-out camera past its edge shows empty map). Wait.
Research with web search, favouring wire services, official records, the UN, and reputable outlets; note each source's date. Write research/brief.md (format in references/templates.md):
Then run an independent fact-check: give a separate subagent the brief (not your conclusions) and ask it to open the sources and confirm or refute every number, date, name and quote. Fix what it finds and log it at the end of the brief. Full method: references/research_and_factcheck.md. Continue to Stage 3 unless the topic needs narrowing.
Write narration sized to the length: about 140-150 spoken words per minute for English (Kokoro at speed 1.0 is about 150). Split into parts of at most 90 s. Format: numbered beats with Narration, Visual (map / route / clipping / chart / photo / video / card) and Sources. Style: hook within 5 seconds, short sentences, concrete dates and numbers, attribution words for claims, each part ending on a cliffhanger or a clear takeaway.
Save it as script.md, and save the narration of each part, as it should be spoken, in voice/partN.txt (years and numbers written as words: "twenty twenty-six", "February twenty-eighth"; see references/narration.md). Ask the user to approve or edit. Wait.
Kokoro (default): offer a 10-second sample first if the user hasn't picked a voice: $PY $SK/narrate.py sample "One sentence from the script." --voice am_michael. Then $PY $SK/narrate.py all.
Own recording: ask for one WAV/MP3 per part, saved as voice/partN_v01.wav (convert with ffmpeg if needed).
Then always run $PY $SK/align.py all. It writes word timings and sentences.json, prints each part's exact length, and lists words the voice skipped, changed or added. Before re-recording over an "extra" word near a pause, check that stretch's loudness: Whisper sometimes hears words in silence. If a real line is wrong, fix voice/partN.txt and narrate that part again (it becomes the next take). Pause only if there are real differences to resolve; otherwise continue.
Build scene_plan.md from sentences.json: one row per shot with start-end time, narration covered, visual, type, on-screen text and asset (format in references/templates.md). A new shot every 3-6 s, alternating map/data shots with photo/clipping shots. Chapter cards at the start of parts 2+ play before the voice (negative start time).
Then the asset checklist, numbered, each with: what it is, which shot uses it, required or optional, and its fallback (map, card, recreated clipping). Fetch real media yourself where you can:
$PY $SK/fetch_commons.py search "<query>" (add --video for footage), then get "File:<name>" p_<person>|i_<image>|v_<video>. Only reuse-friendly licences download; credits go to assets/credits.json.Full rules: references/media_and_licences.md. Show the user the plan and what was found, and ask for any of their own assets (named by shot, e.g. i_scene07_airport.jpg) or "use fallbacks". Wait.
$PY $SK/prep_geo.py once (cuts the map data to the bbox and prints the exact country names for fills).scenes.py from the scene plan using the kit (references/engine_api.md; every shot type is shown in the repo's examples/demo/scenes.py, a full film in examples/iran-war-2026/scenes.py). Follow references/style_guide.md. A strong hook: globe dive (globescene) → labelled map → real footage with kinetic words on the voice (kinetic + voice_words) → the key number.$PY $SK/render.py stills <part> 1.0,4.5,... (one frame per shot) and look at them.$PY $SK/render.py part <n> (picture + voice + soft SFX, loudness-normalised).$PY $SK/render.py sheet <n> 2 makes contact sheets with a still every 2 s. Check every tile against references/qa_checklist.md (overlaps, cut-off text, unreadable labels, credits on every photo). Fix and re-render.$PY $SK/render.py full.Captions (if asked): build an SRT from the _words.json files (sentence by sentence, 42 characters per line max) and burn it with ffmpeg's subtitles filter, or deliver it as a separate file for upload (better for YouTube).
thumbnail.py: 3-5 word title, the story's map as the key visual, one accent tag; run it and check the _phone.png version (320x180) is still readable. Offer 2-3 options if the user wants a choice.$PY $SK/fetch_commons.py credits writes credits.txt.YOUTUBE.md: a search-friendly title, description with chapters (from part start times), key sources, photo credits, "Map data: Natural Earth", an AI-voice disclosure when Kokoro was used, tags (YouTube counts commas and adds 2 per multi-word tag: stay under 500), and the "altered or synthetic content" setting.references/style_guide.md: the look (palette, maps, cards, clippings, pacing, sound)references/engine_api.md: every function in the Python kit with examplesreferences/templates.md: research brief, script, voice check, scene plan, asset list formatsreferences/narration.md: writing for Kokoro, voices, fixing takes, using your own voicereferences/research_and_factcheck.md: sources, the two-source rule, the independent fact-checkreferences/media_and_licences.md: Commons, licences, credits, what never to generatereferences/qa_checklist.md: what to check on every contact sheet before showing the userreferences/engine_api.md (opens in a new tab)references/media_and_licences.md (opens in a new tab)references/narration.md (opens in a new tab)references/qa_checklist.md (opens in a new tab)references/research_and_factcheck.md (opens in a new tab)references/style_guide.md (opens in a new tab)references/templates.md (opens in a new tab)scripts/align.py (opens in a new tab)scripts/docukit/__init__.py (opens in a new tab)scripts/docukit/charts.py (opens in a new tab)scripts/docukit/engine.py (opens in a new tab)scripts/docukit/motion.py (opens in a new tab)scripts/docukit/scenes.py (opens in a new tab)scripts/fetch_commons.py (opens in a new tab)scripts/narrate.py (opens in a new tab)scripts/new_project.py (opens in a new tab)scripts/prep_geo.py (opens in a new tab)scripts/project.py (opens in a new tab)scripts/render.py (opens in a new tab)scripts/setup.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mrgoraya/map-documentary-maker --plugin map-documentary-makerOther plugins' skills for the same job