epistemic-graph-deploy

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

A deployment procedure for promoting a newly built epistemic-graph engine binary into a live Docker Swarm service and restarting its dependent clients.

In plain words
What is it for?
It helps build and stage the binary, restart the engine, handle first-boot data migration, verify health, and restart Python consumers after code changes.
Why use it?
It reduces the risk of replacing the running engine incorrectly and helps preserve the separate knowledge-graph data volume during upgrades.

Skill for Claude CodeCodex

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

Good fit It helps build and stage the binary, restart the engine, handle first-boot data migration, verify health, and restart Python consumers after code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/knuckles-team/epistemic-graph/epistemic-graph-deploy
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-deploy
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-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/knuckles-team/epistemic-graph/epistemic-graph-deploy/github.svg)](https://agentmods.dev/skills/knuckles-team/epistemic-graph/epistemic-graph-deploy)
Your own site
<a href="https://agentmods.dev/skills/knuckles-team/epistemic-graph/epistemic-graph-deploy"><img src="https://agentmods.dev/badge/skills/knuckles-team/epistemic-graph/epistemic-graph-deploy/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-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/knuckles-team/epistemic-graph/epistemic-graph-deploy"><img src="https://agentmods.dev/badge/skills/knuckles-team/epistemic-graph/epistemic-graph-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 949 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.00075 $0.00949
Opus 5 $0.00037 $0.00475
Sonnet 5 $0.00015 $0.00190
Haiku 4.5 $0.00007 $0.00095

Measured 9d ago against content hash 3dbd8e78a32f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

epistemic-graph-deploy 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 9d 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-deploy/SKILL.md · 73 lines

How it starts

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

epistemic-graph deploy / promote

The engine binary is bind-mounted from the host into the Swarm task, so deploy = replace the host binary → restart the service (the new container re-execs it). The KG lives in a separate snapshot/redb volume and survives the restart. Python clients (graph-os, messaging) are editable installs of the canonical checkout, so Python changes ship by merge-to-main + restart — no rebuild. Full runbook + rationale: docs/deploy/binary-promotion.md.

The one command

# build (node/full tier), atomically stage the binary, restart the engine through the
# manager, watch the first-boot migration, then live-smoke the new query surface:
scripts/promote_engine.sh --build --migrate --restore-health-period --verify
# also restart the Python consumers (they reconnect + pick up merged agent-utilities):
scripts/promote_engine.sh --restart-consumers

What the script does (and why), step by step:

  1. Build --features full (production needs finance/quant/datascience/reasoning; a server-only build silently drops those + redb). A finance-symbol guard refuses a mis-built binary.
  2. Backup + atomic stagecp the live binary to .bak-<ts>, write the new one to a same-dir temp, mv -f over the target (atomic rename; the running engine keeps its old inode — no ETXTBSY; the next start mmaps the new one).
  3. Restart via the managerssh <manager-node> docker service update --update-order stop-first --force. stop-first because the engine binds a single UDS socket (start-first can't bind twice). This node is a worker; service commands run on the manager.
  4. Migration-aware (--migrate) — extends the healthcheck --health-start-period so the one-time .mp→redb first-boot migration (which binds the socket only when done) isn't killed into a restart loop; tails the log until Listening on UDS. --restore-health-period then resets it to 20s on the now-fast restart.
  5. --verify — live UQL smoke (AS OF, RERANK, a parser-reject) proving the new surface serves, not just that the socket bound.

Read the full file on GitHub · 73 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. 9d ago First seen · 73 lines · 75 tokens per session scan A 3dbd8e78a32f

Subscribe to this mod's changes

epistemic-graph-deploy is a skill published in the GitHub repository Knuckles-Team/epistemic-graph (10 stars, last pushed 11d ago), licensed MIT. It adds 75 tokens to every session and 949 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

isrvd-ops

Operations instructions for using the isrvd API to deploy containers, manage services and images, configure routes, handle files, and use a web terminal. The instructions include Python, Node.js, and Bash helper scripts.

rehiy/isrvd · 96 tokens

deployment

Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is coolify, vercel, railway, render), NOT the Dockerfile alone…

ericrisco/rsc-harness · 86 tokens

kubernetes

Kubernetes operations playbook for deploying services: core objects, probes, resource sizing, safe rollouts, and fast kubectl debugging.

bobmatnyc/claude-mpm-skills · 29 tokens

lastlight-server

Install and configure a Last Light SERVER — the GitHub maintenance agent plus its docker-compose stack — on a host. Use when the user wants to "set up / install / deploy / stand up a Last Light server or instance", configure its GitHub App, models, managed repos, or domain, or get the agent running for the first time.…

nearform/lastlight · 109 tokens

container-manager-multi-context

Operate several container backends and contexts at once — Kubernetes, Docker, Podman, and Swarm — via the container-manager-mcp MCP server's cmmulticontext tool, with per-call backend/context selection and parallel fan-out across a configured pool of contexts. Use when the agent must compare, migrate between, or…

Knuckles-Team/container-manager-mcp · 118 tokens

container-manager-swarm

Docker Swarm cluster orchestration via the container-manager-mcp MCP server — initialize/leave a swarm, list nodes and services, and create or remove replicated services across the cluster. Use when the agent must operate a multi-host Swarm from a manager node, inventory cluster services/nodes, or deploy a service. Do…

Knuckles-Team/container-manager-mcp · 91 tokens