kg-modality-consensus

kg-modality-consensus is a skill for Claude Code, Codex from Knuckles-Team/epistemic-graph. It costs 133 tokens per session (978 once invoked), scanned A, original, MIT.

A distributed database coordination layer that keeps engine copies in agreement and manages data ownership across machines. It includes tenant separation, meaning different users or projects can have separately managed data.

In plain words
What is it for?
It helps manage cluster membership, automatic failover, data resharding, cross-partition transactions, tenant catalogs, access policies, and backups or restores.
Why use it?
It helps the engine continue after machine failures and move data between machines as the system grows, including operations involving several data partitions.

Skill for Claude CodeCodex

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

Good fit It helps manage cluster membership, automatic failover, data resharding, cross-partition transactions, tenant catalogs, access policies, and backups or restores.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/knuckles-team/epistemic-graph/kg-modality-consensus"><img src="https://agentmods.dev/badge/skills/knuckles-team/epistemic-graph/kg-modality-consensus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 978 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.00133 $0.00978
Opus 5.5 $0.00053 $0.00391
Sonnet 5.5 $0.00027 $0.00196
Haiku 4.5 $0.00013 $0.00098

Measured 23d ago against content hash bc5e26fc6015, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kg-modality-consensus 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 23d 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/kg-modality-consensus/SKILL.md · 70 lines

How it starts

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

kg-modality-consensus — distributed consensus, resharding & tenants

The engine's durability/distribution layer makes the SI-native database horizontally scalable and crash-safe. It runs openraft replication with automatic failover (raft/cluster features, src/raft/), multi-Raft groups (an N-group ring with a GroupRouter, KG-2.266/267/268), online resharding (reshard.rs moves ownership live, hibernate/rehydrate groups), and cross-shard 2PC (presumed-abort, crash-recoverable) with parallel-commit / read-only-participant fast paths and a Paxos-Commit-lite (and opt-in Calvin deterministic) commit branch. A cross-region async read-replica tier with per-tenant quota + backpressure guardrails rounds it out. See docs/capabilities.md → Durability & distribution.

The MCP way (through graph-os)

load_tools(tools=["engine_consensus", "engine_resharding", "engine_tenants",
                  "engine_rbac", "engine_admin"])
# engine_consensus   — Raft membership / leadership / cluster health / failover
# engine_resharding  — multi-Raft group ring, online ownership move, hibernate/rehydrate
# engine_tenants     — per-tenant catalog: provision, list, route
# engine_rbac        — RBAC policy administration: roles + resource/action grants
# engine_admin       — ops/maintenance: online backup + restore

or the REST twins graph-os exposes for these engine domains.

Admin tier (scope-gated)

All five domains above are classified ADMIN (agent_utilities.mcp.tools.engine_tools. ADMIN_DOMAINS): every action they expose is denied fail-closed to an acting identity that lacks the kg:admin scope/role (_enforce_action_scope), never merely hidden. engine_rbac/engine_admin complete that ADMIN set — RBAC policy administration (roles + resource/action grants) and the ops backup/restore surface — so use this skill whenever you need to grant/revoke a role, inspect a resource's ACL, or run an online backup/restore, exactly like reaching for engine_consensus/engine_tenants for cluster/tenant admin.

Read the full file on GitHub · 70 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. 23d ago Changed bc5e26fc6015
  2. 2mo ago First seen · 70 lines · 133 tokens per session scan A 00b487ba91c1

Subscribe to this mod's changes

kg-modality-consensus is a skill published in the GitHub repository Knuckles-Team/epistemic-graph (11 stars, last pushed 14d ago), licensed MIT. It adds 133 tokens to every session and 978 once invoked, about $0.0005 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

kg-modality-consensus compared with skills from other repositories

kg-modality-consensus next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kg-modality-consensusKnuckles-Team/epistemic-graphSkill1114d agoMITA133Claude Code, Codex
cortivex-consensusAhmedRaoofuddin/CortivexSkill127mo agononeA23Claude Code, Codex
data-search-enginej4flmao/agent-skillsSkill394d agoMITA127Claude Code, Codex
documentdb-collection-adminKnuckles-Team/documentdb-mcpSkill2yesterdayMITA106Claude Code, Codex
analytics-data-managerPranavNagrecha/AwesomeSalesforceSkillsSkill2617d agononeA117Claude Code
compound-field-patternsPranavNagrecha/AwesomeSalesforceSkillsSkill2617d agononeA67Claude Code
data-model-documentationBanibrataChatterjee/AwesomeSalesforceSkillsSkill46mo agoApache-2.0A97Claude Code, Codex