ex-ussr-kinship-research README

README проекта с github.com/DenisSergeevitch/ex-ussr-kinship-research. Одним файлом markdown: README.md.

ex-USSR Kinship Research

ex-USSR Kinship Research cover

Languages: English / Русский / Беларуская / Қазақша / Українська / Polski / Deutsch / Română / Eesti / Latviešu / Lietuvių / ქართული / Հայերեն / Azərbaycanca / Кыргызча / Тоҷикӣ / Türkmençe / O‘zbekcha / 日本語

An evidence-first genealogy skill for AI agents (Codex, Claude Code and other Agent Skills runtimes). It turns an agent into a careful family-history researcher for the former USSR, the Soviet Union and the Russian Empire. The agent reads church books and civil records, military, deportation and repression files, and unindexed archive scans. It keeps every find traceable, separates records from interpretation and says plainly what is proven and what is not.

Coverage includes all 15 former Soviet republics: Russia, Ukraine, Belarus, Moldova, Estonia, Latvia, Lithuania, Georgia, Armenia, Azerbaijan, Kazakhstan, Kyrgyzstan, Tajikistan, Turkmenistan and Uzbekistan. Archives are chosen by the event's historical jurisdiction and current record custodian; a regional example does not replace local research.

The skill's instructions are written in Russian, but the agent talks to you in your language: English, Ukrainian, Russian, Polish, German and so on. It quotes sources in their original spelling with a translation, and builds search queries in the languages of the records.


What it does

Release history: changelog.

Install

With Node.js installed, you can use the optional Skills CLI:

npx skills add https://github.com/DenisSergeevitch/ex-ussr-kinship-research

The CLI lets you choose your agent and installs into the current project by default; add -g for a personal installation across projects. See its documentation for current Node.js requirements.

Alternatively, clone the repository directly into your agent's skills folder:

# Codex
git clone https://github.com/DenisSergeevitch/ex-ussr-kinship-research ~/.codex/skills/ex-ussr-kinship-research

# Claude Code (personal skills)
git clone https://github.com/DenisSergeevitch/ex-ussr-kinship-research ~/.claude/skills/ex-ussr-kinship-research

For a single project, put the folder in .claude/skills/ inside the repository. Most scripts need only Python 3 and the standard library. The optional scan_montage.py helper needs Pillow; build_pdf.py needs a Chromium-based browser.

Use

Describe the family question. The agent works from available information and continues while questions or access requests await a reply. For example:

Keep private case data outside the skill's Git checkout. From the skill folder:

python scripts/init_case.py --case-dir ~/kinship-cases/my-case --research-question "Who were Maria's parents?" --subject-label "Maria"
python scripts/hash_artifact.py ~/kinship-cases/my-case/scans/marriage-1902.jpg   # SHA-256 for every saved artifact
python scripts/audit_evidence.py --case-dir ~/kinship-cases/my-case             # check registers before the final report

init_case.py refuses to create a case inside the skill folder, including with --force. Git ignores common legacy case-folder names as an additional safeguard; check staged files before contributing, especially if moving an existing case.

The agent prepares a complete HTML report, for example my-case/report.html, using assets/report.template.html or its existing tools. The default editorial layout puts a family tree in the header, with relationship evidence one click away, readable multilingual system-font fallbacks, and layouts for small screens and print. The tree follows the available evidence; missing relatives do not delay the report. Open it directly in a browser or share the HTML with its local images. Short answers may remain text or Markdown; an explicitly requested format takes precedence. A family-facing report does not imply PDF.

Only when you explicitly request PDF, the agent can export the same HTML:

python scripts/build_pdf.py --html ~/kinship-cases/my-case/report.html --out ~/kinship-cases/my-case/report.pdf

This optional export needs Chrome, Chromium or Edge installed (or CHROME_PATH). With --png-dir it also renders pages to PNG for review if pypdfium2 is available. HTML delivery needs no PDF renderer.

For PDF export, use static HTML with local or embedded images. The exporter rejects active HTML and network image sources; source links remain clickable. A failed render preserves any existing output PDF.

Family trees in GEDCOM

GEDCOM is a standard format for exchanging genealogical data between programs. When you ask the agent to build or export a tree, it prepares a local .ged file with source citations and evidence notes. The default is GEDCOM 5.5.1 in UTF-8 for compatibility; use another supported version, such as GEDCOM 7, when you or your chosen program require it.

An existing tree is research input and a set of leads, not proof of its relationships. The agent preserves the original file and keeps unresolved claims, unsupported details, evidence registers and the search log in the case folder. Exports follow the evaluated evidence and do not overwrite your files.

You choose the software. Installing tree applications, configuring MCP connections and automatically synchronizing external trees are outside the skill's scope. See the GEDCOM workflow.

Repository layout

SKILL.md                         main instructions (workflow, hard rules, language policy)
references/
  source-strategy.md             source hierarchy, query patterns, catalogs, archive requests
  correspondence.md              recipients, mail integration, authorized sending and replies
  government-portals.md          civil-registration services and request delivery routes
  evidence-protocol.md           artifact assessment, statuses, identity resolution, conflicts
  ex-ussr-locale-guide.md        jurisdictions, name variants, calendars, record types by period
  browser-and-captcha.md         browsing, sign-in, one CAPTCHA attempt and hand-off, rate limits
  privacy-and-safety.md          living people, minors, DNA, sensitive findings
  seed-sources.md                curated starting resources with reliability classes
  field-lessons.md               practical lessons from a real case
  changelog.md                   release history
  photo-search.md                finding, identifying, dating and storing photos
  habsburg-galicia-bukovina.md   Galicia and Bukovina under the Habsburgs and after
  chechnya-deportation.md        Chechen families: 1944 deportation, special settlement, names and renamed villages
  germany-forced-labour.md       Forced labourers in Germany 1941-1945: Arolsen Archives and German civil registers

  bessarabia-moldova.md          Bessarabia, Moldova, MASSR and the Dniester borderland
  familysearch-indexes.md       targeted browser research, permitted local snapshots and coverage
  familysearch-mcp.md           connected tools, structured reads, scoped writes and verification
  ww1-search.md                 GWAR WWI person/locality search and source-image locators
  gedcom.md                     portable family-tree exports with sources and evidence notes
assets/                          case intake, CSV registers, final report template,
                                 photos README template, research-state template, HTML report template (report.template.html)
scripts/                         init_case.py, hash_artifact.py, audit_evidence.py, build_pdf.py
                                 familysearch.py, gwar.py, register_search.py, scan_montage.py (needs Pillow)
                                 check_gedcom.py (optional GEDCOM lint), and shared local analysis modules
evals/discovery-and-logic.yaml   trigger and reasoning test cases
tests/                           unit tests (python3 -m unittest discover -s tests)

Responsible use

Contributing

New sources are welcome in references/seed-sources.md. Record verified owner, jurisdiction, collection, provenance, IDs, access, restrictions and check date where known; mark gaps instead of guessing. Keep personal data out of examples.

When a readable search log is present, the audit summary lists artifact IDs without a search-log reference. Use the list to check unlinked finds. User-supplied material may appear there without any action needed.

Source-search helpers use Python's standard library and the existing case registers. Run python3 -m unittest discover -s tests to check local parsing, GWAR checkpoints, access failures, unresolved coverage and evidence registration against synthetic data. FamilySearch discovery and targeted viewing use the existing lawful browser session; its Python helpers analyze saved fragments. Keep private research files outside this checkout.

License

MIT © 2026 Denis Shiryaev.


Maintained by Denis Shiryaev (@DenisSergeevitch).

Special thanks to Viktor for the conversations about using Claude for family-history research that helped inspire this skill.

ex-ussr-kinship-research (DenisSergeevitch/ex-ussr-kinship-research)

Ищем в базе…

Что это?Навык генеалогии, основанный на доказательствах, который превращает ИИ-агента для программирования (Codex, Claude Code) во внимательного исследователя семейной истории на территории бывшего СССР и Российской империи. Он работает с метрическими книгами, гражданскими, военными, а также документами о депортациях и репрессиях.
Это приложение, которое я запускаю, или файл навыка, которым пользуется мой агент для программирования?Это Agent Skill: папка с инструкциями, реестрами и Python-скриптами, которую вы кладёте в каталог навыков своего агента. Codex или Claude Code следуют ей как методике исследования, а не запускают её как отдельную программу.
Что нужно, чтобы запустить включённые скрипты?Нужны только Python 3 и стандартная библиотека. Необязательному генератору отчётов buildpdf.py также нужен браузер на основе Chromium, например Chrome, Chromium или Edge.
Что он откажется делать?Он не будет искать актуальные адреса, телефоны или аккаунты живых людей, не обходит CAPTCHA, платные подписки, геоблокировки и ограничения частоты запросов и никогда сам не отправляет запросы в архивы, а только составляет их черновики.
Как он обращается с чувствительными семейными данными?Чувствительные находки, такие как депортация, репрессии, усыновление или неожиданные результаты ДНК-тестов, излагаются нейтрально и только в том объёме, который нужен для вопроса. Он никогда не передаёт ваши документы и данные ДНК третьим сторонам без вашего явного согласия.
Как он отличает доказанные факты от догадок?Каждому утверждению присваивается понятный статус доказательности: гипотеза, один источник, подтверждено, сильно подтверждено, опровергнуто или не решено. Копии и зеркала одной и той же записи объединяются в группы, поэтому никогда не считаются независимым доказательством.
Какие страны и языки он охватывает?Охватываются все 15 бывших советских республик (Россия, Украина, Беларусь, Прибалтика, Кавказ и Средняя Азия), а также матрицы вариантов имён для русского (дореформенного), украинского, польского, румынского, немецкого и идиша. Хотя инструкции написаны на русском, агент отвечает на вашем языке.
Может ли он перепутать двух людей с одинаковым именем?Нет, однофамильцы ведутся как отдельные идентификаторы личностей, пока не появятся различающие доказательства, например номер дома, родители, крёстные, точная дата рождения или воинская часть.
Как выглядит итоговый результат?Это отчёт, который по каждой связи родства отдельно описывает противоречия, неудачные поиски и конкретные следующие шаги. Также есть скрипт аудита, который проверяет реестры и отчёт на целостность ссылок, прежде чем вы опираетесь на выводы.
Размер
2.2 MB
Звёзды
2.6K
Возраст
24 д
Коммиты · 90 дней