Logo Family Migration Story

Family Migration Story

Cộng đồng
f
family-migration-story

Biến dữ liệu phả hệ (PDF Alt-Üst Soy Belgesi từ e-Devlet của Thổ Nhĩ Kỳ, bản xuất GEDCOM từ Ancestry/MyHeritage/FamilySearch hoặc danh sách tổ tiên được nhập thủ công) thành một lịch sử gia đình được nghiên cứu chuyên sâu. Nghiên cứu quê quán của từng tổ tiên theo đúng thời kỳ từ tư liệu lưu trữ lịch sử, dữ liệu điều tra dân số, niên giám và các bài nghiên cứu học thuật; tổng hợp kết quả thành báo cáo HTML có trích dẫn, rồi dựng thành video tài liệu có lời thuyết minh trên bản đồ động (Remotion, TTS mã nguồn mở chạy cục bộ; giọng Thổ Nhĩ Kỳ tự nhiên qua yazgi-tts). Dùng kỹ năng này khi có người chia sẻ soy ağacı, dữ liệu phả hệ, tổ tiên hoặc gia phả và muốn biết gia đình mình xuất thân từ đâu, làng quê của tổ tiên ra sao, vì sao họ di cư (göç, mübadele, muhacir, exchange, emigration), hoặc muốn có báo cáo, câu chuyện, hoạt ảnh bản đồ hay video về lịch sử gia đình — kể cả khi họ chỉ nói "nghiên cứu gia phả của tôi" hoặc "soyağacımı araştır".

Tổng quan

Nhà phát hànhf
Kho mãfamily-migration-story
Tên kỹ năngfamily-migration-story
Sao
219
Bản fork
17
Tệp đi kèm
52
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 52 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được f công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Family Migration Story trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/f/family-migration-story/tree/main/skills/family-migration-story
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Family Migration Story trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Family Migration Story ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Family Migration Story với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Family Migration Story làm được gì?

Biến dữ liệu phả hệ (PDF Alt-Üst Soy Belgesi từ e-Devlet của Thổ Nhĩ Kỳ, bản xuất GEDCOM từ Ancestry/MyHeritage/FamilySearch hoặc danh sách tổ tiên được nhập thủ công) thành một lịch sử gia đình được nghiên cứu chuyên sâu. Nghiên cứu quê quán của từng tổ tiên theo đúng thời kỳ từ tư liệu lưu trữ lịch sử, dữ liệu điều tra dân số, niên giám và các bài nghiên cứu học thuật; tổng hợp kết quả thành báo cáo HTML có trích dẫn, rồi dựng thành video tài liệu có lời thuyết minh trên bản đồ động (Remotion, TTS mã nguồn mở chạy cục bộ; giọng Thổ Nhĩ Kỳ tự nhiên qua yazgi-tts). Dùng kỹ năng này khi có n...

Vì sao nên dùng Family Migration Story trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Family Migration Story là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Family Migration Story trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/f/family-migration-story/tree/main/skills/family-migration-story. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Family Migration Story?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Family Migration Story với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Family Migration Story với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Family Migration Story có miễn phí không?

Có. Kỹ năng này được f phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇