Family Migration Story logo

Family Migration Story

Community
f
family-migration-story

Turn family tree data (Turkish e-Devlet Alt-Üst Soy Belgesi PDF, a GEDCOM export from Ancestry/MyHeritage/FamilySearch, or a typed list of ancestors) into a deeply researched family history. Every ancestor's birthplace is researched in its own time from historical archives, census and yearbook data and academic papers, the findings go into a cited HTML report, and the result becomes a narrated documentary video on an animated map (Remotion, local open-source TTS; natural Turkish voice via yazgi-tts). Use this skill whenever someone shares a soy ağacı, family tree, ancestry or genealogy data and wants to know where their family came from, what their ancestors' villages were like, why they migrated (göç, mübadele, muhacir, exchange, emigration), or wants a family history report, story, map animation or video, even if they only say "research my family tree" or "soyağacımı araştır".

Overview

Publisherf
Repositoryfamily-migration-story
Skill namefamily-migration-story
Stars
219
Forks
17
Bundled files
52
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 52 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by f on GitHub. Read the source before you install it.

Installation

Install the Family Migration Story AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/f/family-migration-story/tree/main/skills/family-migration-story
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/f/family-migration-story.git /tmp/family-migration-story
mkdir -p .claude/skills
cp -r /tmp/family-migration-story/skills/family-migration-story .claude/skills/family-migration-story
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Family Migration Story in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Family Migration Story on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Family Migration Story is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Family migration story

From a family tree to (1) a research dossier with sources, (2) an HTML report, (3) a narrated map video. Each phase produces files the next one reads, so the work can stop and resume at any phase.

<work>/
  familytree.json            phase 0: the family, normalised
  research/targets.json      phase 1: places x years to research
  research/dossier.json      phase 1: places, claims, world events, sources
  research/images.tsv        phase 1: Commons images for the video
  report.html                phase 2
  video/                     phases 3-4: Remotion project (story.json + data + narration)
  video/out/<name>.mp4       phase 4: 1080p and 720p deliverables

$SKILL means this skill's directory. Scripts are plain Python 3 / Node / zsh; run Python with -I.

Privacy: names stay on this machine

Family trees hold names, dates and places of real, partly living people.

  • Research queries, API calls, page fetches and image searches contain places, years and topics only, never a person's name. The research scripts are built that way; keep your WebSearch/WebFetch queries the same.
  • Speech synthesis and speech recognition run locally (yazgi-tts, macOS say, faster-whisper). Don't send narration to a cloud TTS.
  • The report and the video contain family names. Keep them as local files; publish or upload only if the user asks.
  • Name-based record searches (passenger lists, archive name indexes, FamilySearch) need the user's explicit OK first. See the end of references/archives-by-region.md.

Phase 0: Intake

  1. Get the tree into familytree.json (format: references/data-formats.md §1):
    • e-Devlet PDF: uv run --with pypdf python -I $SKILL/scripts/import_edevlet.py soyagaci.pdf familytree.json
    • GEDCOM: python3 -I $SKILL/scripts/import_gedcom.py tree.ged familytree.json [--subject @I12@]
    • anything else (spreadsheet, photo, text): write the JSON by hand, one person per entry with father/mother links.
  2. python3 -I $SKILL/scripts/tree_tool.py validate familytree.json, then summary to see the generations. Resolve review items and ERRORs with the user; WARNs about implausible parent ages are usually register artefacts worth mentioning.
  3. Ask for what isn't in the data and only the family knows: stories about origins, a ship, a trunk, why they moved. Record them in oral_history. One short question is enough; don't block on it.
  4. Settle the deliverables and language. The default is the report plus the video, in the user's language; Turkish narration uses yazgi-tts.

Phase 1: Deep research (the heart of it)

Read references/research-playbook.md before starting, and references/archives-by-region.md for the regions involved.

  1. python3 -I $SKILL/scripts/tree_tool.py targets familytree.json research/targets.json lists each place with the years the family was there.
  2. For each place, in the order the family lived in them:
    • python3 -I $SKILL/scripts/research/places.py "<place>": identity, coordinates, names in every language, admin history.
    • python3 -I $SKILL/scripts/research/papers.py "<place> <topic>" "<old name> <period>" …: journal articles and theses (OpenAlex, Crossref, DergiPark).
    • python3 -I $SKILL/scripts/research/archives.py "<query>" --links: digitised books, yearbooks and photos, plus links into archives without APIs (Ottoman archive catalogue, HathiTrust, Library of Congress, Gallica, national libraries).
    • WebSearch and WebFetch for what the APIs miss. Read the local-language sources and the PDFs, and cite pages.
    • Answer the playbook's ten questions and write each finding as a claim with sources and a confidence grade in research/dossier.json.
  3. Build the world-events spine (10-20 dated events touching the family's places) and the "other side of the mirror" for every forced migration.
  4. Images: python3 -I $SKILL/scripts/research/commons_search.py 6 "<place> 1900" … → choose free-licensed period images that really show the place, then list them in research/images.tsv.
  5. With more than ~6 places, research place clusters in parallel subagents (brief in playbook §9), then merge the results and check them.

Phase 2: Report

python3 -I $SKILL/scripts/render_report.py familytree.json research/dossier.json report.html

It shows the ancestry mix, people by generation, each place then and now with graded and cited claims, a merged family and world timeline, open questions, and the bibliography. Fix every "claims without a source" warning. Show the user the report and the most surprising findings, and ask whether anything is wrong or missing before writing the story.

Phase 3: Story

Read references/story-guide.md. Write the scenes into video/src/data/story.json (schema: data-formats.md §4): one interleaved timeline across all branches, life events, the world in the room, hedged wording for anything below documented, chapter cards, a closing scene with origins (tree_tool.py origins), and a credits scene. Show the user the outline (year, title, one line per scene) before synthesis.

Phase 4: Video

Read references/video-pipeline.md. In short:

bash
zsh $SKILL/scripts/new_project.sh <work>/video
zsh $SKILL/scripts/setup_tts.sh                          # once per machine
# fill video/src/data/*.json, fetch images with commons_fetch.py
npm run geo && npm run check
npm run vo -- --engine yazgi --voice male-01             # or --engine say --voice <macOS voice>
~/.cache/family-migration-story/venv/bin/python -I $SKILL/scripts/asr_check.py . --lang tr
npx remotion still FamilyStory out/check/a.jpg --frame=<n> --scale=0.5   # look before rendering
npm run render
zsh $SKILL/scripts/deliver.sh out/master.mp4 out/<name>
zsh $SKILL/scripts/qa_video.sh out/<name>.mp4

Look at stills from the busiest scenes (photo card plus facts, the origins bar, the credits) before the full render. Afterwards, send the 720p file (phone-sized), mention the 1080p one, and say what was not verified, such as how natural the voice sounds, which is the user's call.

Example

assets/example/ is a small fictional family (two lineages, Selanik → İzmir and Of → İstanbul; the people are invented, the history and sources are real) with a finished familytree.json, dossier.json, images.tsv and video data. Use it as the pattern for the JSON files, or run it to check a machine's setup (about 2 minutes of video, a few minutes end to end):

bash
zsh $SKILL/scripts/new_project.sh /tmp/fms-demo/video && cd /tmp/fms-demo/video
cp $SKILL/assets/example/video-data/*.json src/data/
python3 -I $SKILL/scripts/research/commons_fetch.py $SKILL/assets/example/images.tsv public/img src/data/credits.json
npm run geo && npm run vo -- --engine yazgi && npm run check && npm run render

Lessons from real runs

  • Users want the branches interleaved in time, with "meanwhile…" cross-cuts and life events (marriages, births), not one lineage after another.
  • A static screen feels dead. Every scene should move: camera drift, a route drawing, a photo slowly zooming. The template does this; keep scenes from being all text.
  • Text must not jitter. Labels live in an HTML layer moved with sub-pixel transforms; don't move them into the SVG.
  • Concrete details (a ship's history, a village's household count, a museum) are what people remember. Find them in the research and hedge them honestly.
  • Register places reveal settlement history: a person born abroad and registered in a Turkish village points to that village's arrival history.
  • The most natural local Turkish voice found was yazgi-tts male-01. Chatterbox-multilingual was much slower and needed ~6 GB of disk, so check disk space before installing large TTS models.
  • Some archives (Library of Congress, Gallica) refuse scripted access from some networks. Use their links in a browser instead of working around the block.
  • Photo cards hid a family place in both test runs. npm run check now flags it; fix the cam before rendering instead of finding it in stills.
  • Don't assume the route of a forced migration: Drama's exchangees mostly left by train through Eastern Thrace, not by ship from Kavala. Draw the documented route, mark it representative, and say in the narration that the family's own route is unknown.
  • e-Devlet PDFs differ in layout (header split, notes block at the end); after importing, compare the person count and a few rows with the PDF.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Family Migration Story AI skill do?

Turn family tree data (Turkish e-Devlet Alt-Üst Soy Belgesi PDF, a GEDCOM export from Ancestry/MyHeritage/FamilySearch, or a typed list of ancestors) into a deeply researched family history. Every ancestor's birthplace is researched in its own time from historical archives, census and yearbook data and academic papers, the findings go into a cited HTML report, and the result becomes a narrated documentary video on an animated map (Remotion, local open-source TTS; natural Turkish voice via yazgi-tts). Use this skill whenever someone shares a soy ağacı, family tree, ancestry or genealogy data...

Why use Family Migration Story on TypingMind?

Because you install it once and use it with any model. Family Migration Story is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Family Migration Story in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/f/family-migration-story/tree/main/skills/family-migration-story. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Family Migration Story?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Family Migration Story?

As many as you like. As long as a model supports skills, you can use Family Migration Story with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Family Migration Story AI skill free?

Yes. It is published on GitHub by f under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇