Family Migration Story 标志

Family Migration Story

社区
f
family-migration-story

将家谱数据(土耳其 e-Devlet Alt-Üst Soy Belgesi PDF、从 Ancestry/MyHeritage/FamilySearch 导出的 GEDCOM,或手动输入的祖先名单)转化为经过深入研究的家族史。逐一考证每位祖先出生地在其所处年代的历史档案、人口普查和年鉴数据及学术论文,将研究发现整理成附有引用来源的 HTML 报告,再制作成配有旁白、呈现在动态地图上的纪录片视频(Remotion、本地开源 TTS;使用 yazgi-tts 生成自然的土耳其语语音)。当有人分享 soy ağacı、家谱、祖源或族谱数据,并想了解家族来自哪里、祖先的村庄是什么样、他们为何迁徙(göç、mübadele、muhacir、exchange、emigration),或想制作家族史报告、故事、地图动画或视频时,都应使用此技能;即使对方只说“研究我的家谱”或“soyağacımı araştır”也适用。

Add to TypingMind

概览

发布者f
代码仓库family-migration-story
技能名称family-migration-story
星标数
219
复刻数
17
附带文件
52
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 52 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 f 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Family Migration Story AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/f/family-migration-story/tree/main/skills/family-migration-story
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Family Migration Story,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Family Migration Story。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Family Migration Story 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Family Migration Story AI 技能有什么作用?

将家谱数据(土耳其 e-Devlet Alt-Üst Soy Belgesi PDF、从 Ancestry/MyHeritage/FamilySearch 导出的 GEDCOM,或手动输入的祖先名单)转化为经过深入研究的家族史。逐一考证每位祖先出生地在其所处年代的历史档案、人口普查和年鉴数据及学术论文,将研究发现整理成附有引用来源的 HTML 报告,再制作成配有旁白、呈现在动态地图上的纪录片视频(Remotion、本地开源 TTS;使用 yazgi-tts 生成自然的土耳其语语音)。当有人分享 soy ağacı、家谱、祖源或族谱数据,并想了解家族来自哪里、祖先的村庄是什么样、他们为何迁徙(göç、mübadele、muhacir、exchange、emigration),或想制作家族史报告、故事、地图动画或视频时,都应使用此技能;即使对方只说“研究我的家谱”或“soyağacımı araştır”也适用。

为什么在 TypingMind 中使用 Family Migration Story?

因为您只需安装一次,就能搭配任何模型使用。Family Migration Story 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Family Migration Story?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/f/family-migration-story/tree/main/skills/family-migration-story。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Family Migration Story?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Family Migration Story 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Family Migration Story 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Family Migration Story AI 技能免费吗?

是的。f 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇