update-persons SKILL.md skillA

update-persons from atanasster/electionsbg is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add atanasster/electionsbg/update-persons@git:20261017.cf6ec25

Pins git:20261017.cf6ec25 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
atanasster/electionsbg
Path
.claude/skills/update-persons/SKILL.md
Versions recorded
6
Latest version
git:20261017.cf6ec25, committed Oct 17, 2026
First version recorded
Aug 1, 2026
Size
24,287 bytes
Repository stars
15
License
a license file GitHub does not identify

Rebuild the unified person-identity layer (Postgres `person`/`person_role`/`person_alias`/`person_review_candidate` + the `candidate_person`/`person_election_stats` electoral tables + the serving fns in 082/084/085) that powers the `/person/{slug}` profile page, the merged `/candidate/:id` electoral block, and the `personProfile`/`personConnections`/`person_elections` AI tools. It resolves EVERY people dataset — MPs, CIK candidates, ЕРИК donors, executive & municipal officials, magistrates…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Update Persons skill (the identity spine)

The person layer sits ABOVE nine people datasets and resolves them to one stable
`person_id`. It is a pure, idempotent
**re-derivation** — `scripts/person/resolve_persons.ts` reads the already-ingested
sources, blocks + clusters them, and rebuilds the `person_*` tables with deterministic
slugs. Nothing here re-ingests a source; each source is refreshed by its OWN skill.

## When to run

Re-resolve whenever a source that FEEDS the person layer changed, so the profiles don't
go stale:

| Upstream watcher | Ingested by | What it feeds the person layer |
|---|---|---|
| `ivss_declarations` | `update-judiciary` | magistrates + magistrate_company (Bridge A) |
| `cacbg_officials` / `cacbg_local` | `update-officials` | executive + municipal officials |
| `egov_commerce` | `tr-daily-refresh` | TR officers/owners (Bridge A + B) + company names + procurement join |
| `cik_results` | election ingest | NS candidates (by-slug shards) |
| `cik_local` / `CIK local-elections bundles` | `update-local-elections` | local mayors + councillors (elected office holders) |
| `erik_campaign_financing` | `update-financing` | ЕРИК donors |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add atanasster/electionsbg/update-persons@sha256:fea5f4504501ab02

The line at the top of this page pins the label git:20261017.cf6ec25, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fpu2c6yddmhymk7o.svg)](https://markdownregistry.com/a/art_fpu2c6yddmhymk7o)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Aug 1, 2026 and Oct 17, 2026, about one every 15 days.

versioncommittedcommitsizeaudit
git:20261017.cf6ec25 latest2026-10-17 cf6ec25 24,287 BA view · diff
git:20260902.448e6832026-09-02 448e683 24,440 BA view · diff
git:20260820.d69ac432026-08-20 d69ac43 22,270 BA view · diff
git:20260805.1a011882026-08-05 1a01188 21,539 BA view · diff
git:20260802.8e814292026-08-02 8e81429 19,388 BA view · diff
git:20260801.ff1a4fd2026-08-01 ff1a4fd 18,903 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (24287 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

atanasster/electionsbg · 15 stars · license a license file GitHub does not identify · pushed 2026-10-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fpu2c6yddmhymk7o
GET https://markdownregistry.com/api/v1/resolve?ref=atanasster/electionsbg/update-persons
GET https://markdownregistry.com/api/v1/blob/fea5f4504501ab02cc8748c90bfa2cbde966be169c124a6f438292e1191efbfa

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from atanasster/electionsbg

analyze-news-article SKILL.md skill
atanasster/electionsbg · .claude/skills/analyze-news-article/SKILL.md · Analyze one, several, or a queued batch of saved news articles — political leaning, stance toward Russia, AI-generation…
git:20260921.2be66bf · audit A · 15 stars
audit-dossier SKILL.md skill
atanasster/electionsbg · .claude/skills/audit-dossier/SKILL.md · Audit a curated procurement project dossier (/procurement/project/:slug) against the raw contracts/tenders corpus…
git:20260722.d323df2 · audit A · 15 stars
audit-sectors SKILL.md skill
atanasster/electionsbg · .claude/skills/audit-sectors/SKILL.md · Audit a government-sector dashboard (the /governance/sectors hub tile + its /sector/:id or bespoke screen) against the…
git:20260814.2fe0e97 · audit A · 15 stars
dashboard-hub SKILL.md skill
atanasster/electionsbg · .claude/skills/dashboard-hub/SKILL.md · Build or rework a module front page (a "hub") — the tile-grid landing that fronts a topic's sub-pages, like…
git:20261017.cf6ec25 · audit A · 15 stars
enrich-open-calls SKILL.md skill
atanasster/electionsbg · .claude/skills/enrich-open-calls/SKILL.md · Read an ИСУН procedure's own document and extract its budget, aid rate, grant range and eligibility into open_calls —…
git:20260809.78e0090 · audit A · 15 stars
fetch-news-articles-all SKILL.md skill
atanasster/electionsbg · .claude/skills/fetch-news-articles-all/SKILL.md · Fetch the latest N articles (default 5) from EVERY site in news/data/bg_news_sites.csv — a full-registry sweep, not one…
git:20260826.9e5fb27 · audit A · 15 stars
fetch-news-articles SKILL.md skill
atanasster/electionsbg · .claude/skills/fetch-news-articles/SKILL.md · Fetch the latest N articles (default 5) from ONE named news website — title, URL, and publish date where available…
git:20260826.9e5fb27 · audit A · 15 stars
naiasno-post SKILL.md skill
atanasster/electionsbg · .claude/skills/naiasno-post/SKILL.md · Draft a Наясно social post — Facebook, LinkedIn and X copy from one grounded finding — and save a reviewable draft…
git:20260927.0c0eb73 · audit A · 15 stars
naiasno-video SKILL.md skill
atanasster/electionsbg · .claude/skills/naiasno-video/SKILL.md · Draft a Наясно explainer video and save a reviewable draft (never auto-publishes). Two formats — EXPLAINER (the…
git:20261017.cf6ec25 · audit A · 15 stars
parliament-scrape SKILL.md skill
atanasster/electionsbg · .claude/skills/parliament-scrape/SKILL.md · Scrape MP photos, biographies, and seat data from parliament.bg. Use when the user asks to update parliament data…
git:20260812.23c1bf1 · audit A · 15 stars
party-retrospect SKILL.md skill
atanasster/electionsbg · .claude/skills/party-retrospect/SKILL.md · Generate the AI campaign retrospect for one or more parties in one election. Bundles the party's voting, regional…
git:20260505.35af782 · audit A · 15 stars
person-compare-post SKILL.md skill
atanasster/electionsbg · .claude/skills/person-compare-post/SKILL.md · Draft a Наясно social post comparing TWO people's declared assets side by side — a versus card listing bank accounts…
git:20261017.cf6ec25 · audit A · 15 stars

Every file in atanasster/electionsbg

Browse by kind, by grade A, or by owner.