epistemic-graph-migrations

epistemic-graph-migrations is a skill for Claude Code, Codex from Knuckles-Team/epistemic-graph. It costs 87 tokens per session (1,033 once invoked), scanned A, original, MIT.

A procedure for upgrading an epistemic graph engine, a database that stores and relates knowledge. It covers software updates, configuration changes, and conversions of stored data.

In plain words
What is it for?
Promoting a new engine version, migrating stored graph data, updating retired configuration values, and evolving saved fields or data formats.
Why use it?
It handles changes that could otherwise make existing snapshots, files, or deployment settings unreadable, including a one-time move from older snapshot files to the redb store.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Promoting a new engine version, migrating stored graph data, updating retired configuration values, and evolving saved fields or data formats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/knuckles-team/epistemic-graph/epistemic-graph-migrations
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Knuckles-Team/epistemic-graph --skill epistemic-graph-migrations
Clone the repo
git clone --depth 1 https://github.com/Knuckles-Team/epistemic-graph

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for epistemic-graph-migrations

README.md
[![agentmods](https://agentmods.dev/badge/skills/knuckles-team/epistemic-graph/epistemic-graph-migrations/github.svg)](https://agentmods.dev/skills/knuckles-team/epistemic-graph/epistemic-graph-migrations)
Your own site
<a href="https://agentmods.dev/skills/knuckles-team/epistemic-graph/epistemic-graph-migrations"><img src="https://agentmods.dev/badge/skills/knuckles-team/epistemic-graph/epistemic-graph-migrations/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for epistemic-graph-migrations

Your own site · 80×15
<a href="https://agentmods.dev/skills/knuckles-team/epistemic-graph/epistemic-graph-migrations"><img src="https://agentmods.dev/badge/skills/knuckles-team/epistemic-graph/epistemic-graph-migrations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.01033
Opus 5.5 $0.00035 $0.00413
Sonnet 5.5 $0.00017 $0.00207
Haiku 4.5 $0.00009 $0.00103

Measured 1mo ago against content hash 4e7e0c63f695, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

epistemic-graph-migrations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

epistemic_graph/skills/epistemic-graph-migrations/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

epistemic-graph migrations & upgrades

Principles (from the engine's No-Legacy rule): code carries no back-compat, but persisted state and deployment config may need a one-time migration (read-old → write-new, then drop the old reader). This skill is that boundary for the SI-native DB.

1. Binary version flip

Build + promote per epistemic-graph-deploy. New optional fields on persisted structs use #[serde(default)], so an old snapshot/redb loads under a new binary without a rewrite (e.g. the bi-temporal tx_from/tx_to added to nodes/edges — old blobs decode as None, EG-KG.compute.preserved). Verify with --verify (live UQL smoke). Roll back by restoring the .bak-<ts> binary.

2. First authoritative boot — .mp → redb migration (CONCEPT:EG-OS.deployment.binary-promotion)

Flipping to the redb-authoritative tier runs a one-time migration on first boot: it imports the legacy snapshot (.mp/WAL) into the durable redb store and binds the socket only when done — minutes on a large KG (thousands of graphs / hundreds of MB). The 20s healthcheck start-period would kill it into a restart loop, so:

scripts/promote_engine.sh --migrate --restore-health-period   # extends start-period, watches

It tails the engine logs for Snapshot load progress / imported N graph(s) / Listening on UDS, then restores the normal healthcheck on the now-fast restart. Never docker kill a migrating engine — let it finish (check the log before assuming a hang).

3. Config / deployment-env migration

Settings live in config.json (XDG, injected into env with setdefault — a baked container env always wins) read via typed AgentConfig fields / config.setting(...). A retired value is migrated forward in code where it's read, not by editing every deployment. Example shipped: GRAPH_BACKEND=tiered (removed in the engine-authority consolidation) now maps forward to epistemic_graph at boot with a warning, so a stale deployment keeps booting. Still update the manager service env to the new value (docker service update --env-add GRAPH_BACKEND=fanout <svc>) to silence the warning — the shim is a migration aid, not a permanent alias.

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 4e7e0c63f695
  2. 3mo ago First seen · 74 lines · 87 tokens per session scan A 87bd84f52606

Subscribe to this mod's changes

epistemic-graph-migrations is a skill published in the GitHub repository Knuckles-Team/epistemic-graph (11 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 1,033 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

epistemic-graph-migrations compared with skills from other repositories

epistemic-graph-migrations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
epistemic-graph-migrationsKnuckles-Team/epistemic-graphSkill111mo agoMITA87Claude Code, Codex
deprecation-and-migrationvanja-emichi/a0_agent_skillsSkill63mo agoMITA40Claude Code, Codex
360-feedback-systemsickn33/agentic-awesome-skillsSkill51kyesterdayMITA45Claude Code
admin-access-registersickn33/agentic-awesome-skillsSkill51kyesterdayMITA49Claude Code
access-matrixsickn33/agentic-awesome-skillsSkill51kyesterdayMITA41Claude Code
advanced-analytics-dashboardsickn33/agentic-awesome-skillsSkill51kyesterdayMITA48Claude Code
alumni-re-hire-trackersickn33/agentic-awesome-skillsSkill51kyesterdayMITA54Claude Code