Logotipo de Family Migration Story

Family Migration Story

Comunidad
f
family-migration-story

Convierte datos de un árbol genealógico (el PDF turco e-Devlet Alt-Üst Soy Belgesi, una exportación GEDCOM de Ancestry/MyHeritage/FamilySearch o una lista de antepasados escrita a mano) en una historia familiar fruto de una investigación exhaustiva. Investiga el lugar de nacimiento de cada antepasado en su contexto histórico, consultando archivos históricos, datos censales y anuarios, así como artículos académicos. Recoge los hallazgos en un informe HTML con fuentes y crea un vídeo documental narrado con un mapa animado (Remotion y TTS local de código abierto; voz turca natural mediante yazgi-tts). Usa esta habilidad siempre que alguien comparta datos de un soy ağacı, árbol genealógico, ancestry o genealogía y quiera averiguar de dónde procede su familia, cómo eran los pueblos de sus antepasados, por qué emigraron (göç, mübadele, muhacir, exchange, emigration), o quiera un informe, relato, mapa animado o vídeo sobre su historia familiar; aunque solo diga «investiga mi árbol genealógico» o «soyağacımı araştır».

Descripción general

Editorf
Repositoriofamily-migration-story
Nombre de la habilidadfamily-migration-story
Estrellas
219
Forks
17
Archivos incluidos
52
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 52

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por f en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Family Migration Story en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/f/family-migration-story/tree/main/skills/family-migration-story
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Family Migration Story en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Family Migration Story automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Family Migration Story no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Family Migration Story?

Convierte datos de un árbol genealógico (el PDF turco e-Devlet Alt-Üst Soy Belgesi, una exportación GEDCOM de Ancestry/MyHeritage/FamilySearch o una lista de antepasados escrita a mano) en una historia familiar fruto de una investigación exhaustiva. Investiga el lugar de nacimiento de cada antepasado en su contexto histórico, consultando archivos históricos, datos censales y anuarios, así como artículos académicos. Recoge los hallazgos en un informe HTML con fuentes y crea un vídeo documental narrado con un mapa animado (Remotion y TTS local de código abierto; voz turca natural mediante yaz...

¿Por qué usar Family Migration Story en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Family Migration Story está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Family Migration Story en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/f/family-migration-story/tree/main/skills/family-migration-story. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Family Migration Story?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Family Migration Story?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Family Migration Story con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Family Migration Story?

Sí. f la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇