kg-core

kg-core is a skill for Claude Code, Codex from mironmax/claudecode-plugins. It costs 288 tokens per session (1,670 once invoked), scanned A, original, no licence file.

A persistent knowledge graph that stores connected facts and memories across coding-agent sessions. It loads relevant memory before work begins and can read more when needed.

In plain words
What is it for?
Use it to preserve project knowledge, decisions, and relationships between sessions. It is also used as the core memory layer for other knowledge-graph tools.
Why use it?
It reduces the need to repeat project context and helps keep related facts connected instead of scattered across separate notes.

Skill for Claude CodeCodex

Part of the knowledge-graph plugin — 5 skills, 3 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/mironmax/claudecode-plugins/kg-core
Any agent
npx skills add mironmax/claudecode-plugins --skill kg-core
Clone the repo
git clone --depth 1 https://github.com/mironmax/claudecode-plugins

Made for: Claude Code, Codex.

Or install knowledge-graph, the plugin that ships this one along with the rest of its 5 skills, 3 hooks, 1 MCP server.

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-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/mironmax/claudecode-plugins/kg-core.svg)](https://agentmods.dev/skills/mironmax/claudecode-plugins/kg-core)
Your own site
<a href="https://agentmods.dev/skills/mironmax/claudecode-plugins/kg-core"><img src="https://agentmods.dev/badge/skills/mironmax/claudecode-plugins/kg-core.svg" alt="Measured on agentmods" height="20"></a>
Per session 288 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00288 $0.01670
Opus 5 $0.00144 $0.00835
Sonnet 5 $0.00058 $0.00334
Haiku 4.5 $0.00029 $0.00167

Measured today against content hash 32e0c8a27835, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kg-core 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 today.

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.

knowledge-graph/skills/kg-core/SKILL.md · 142 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. today Changed · +23 lines · +37 tokens per session 32e0c8a27835
  2. 4d ago First seen · 119 lines · 251 tokens per session scan A 72093b1722aa

Subscribe to this mod's changes

kg-core is a skill published in the GitHub repository mironmax/claudecode-plugins (5 stars, last pushed 3d ago), with no licence file. It adds 288 tokens to every session and 1,670 once invoked, about $0.0014 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

ori-memory

Persistent agent memory with learning retrieval. Knowledge graph on markdown files — capture insights, decisions, research, and learnings during work, then retrieve them weeks or months later. Use when knowledge is too valuable to lose but too much to inject into every prompt.

aayoawoyemi/Ori-Mnemos · 54 tokens

forgetful-entities

Model the things knowledge attaches to — people, organisations, devices, products, system components. Use when a new thing surfaces that memories will reference, when relationships between things need recording (owns, depends on, part of), or when another skill routes a pointable thing here. Litmus: an entity is a…

ScottRBK/forgetful · 80 tokens

forgetful-explore

Explore the Forgetful knowledge graph when flat search isn't enough — cross-project investigations, "what do we know about X", entity-centred questions, tracing how decisions connect. Use when recall returns fragments that reference entities or trail across domains. Walks memories, entities, and relationships into one…

ScottRBK/forgetful · 65 tokens

remnic-memory-workflow

Shared memory workflow for Claude Code agents connected to Remnic — recall before acting, observe during work, remember at the end. Trigger phrases include "what do you remember about", "save this for later", "any context from last time".

joshuaswarren/remnic · 54 tokens

remnic-recall

Search Remnic memories by natural-language query. Trigger phrases include "what do you remember about", "recall anything on", "have we discussed".

joshuaswarren/remnic · 35 tokens

remnic-remember

Store a durable memory in Remnic so every connected agent can recall it. Trigger phrases include "remember this", "save this for later", "add a note that".

joshuaswarren/remnic · 39 tokens