Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mironmaxv0.17.0MITIn 1 marketplace
Gives an agent memory of lessons across sessions, recalled at session start or when a prompt or file matches. Hooks run at session start and on each prompt and tool call; it claims no API key and no telemetry.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
kg-memory gives a coding agent a memory that survives across sessions. Each memory is a short lesson (a node: a one-line gist, notes, file pointers), linked to related lessons by named relationships. The agent writes a lesson at the moment it learns it, and later sessions get it back without asking: at session start, when a prompt matches it, and when the agent reads or edits a file it concerns. Claude Code and Codex CLI share one memory server, so what one learns the other recalls. Antigravity CLI support is experimental.
It is free and open source (MIT), with no account, no API key and no telemetry. The memory is plain JSON on your machine. For why it's worth trying, what a day with it looks like and an honest account of how mature it is, see the project page.
The design puts the intelligence at capture time. The model compresses knowledge while the insight is fresh, stores it as a headline plus relationships, and reads it back as structured text. Lexical search and file matching bring back what sits below the preloaded surface. No embedding service or database is needed. ARCHITECTURE.md explains the design in full.
uv tool install kg-memory # needs uv: https://docs.astral.sh/uv/ (it brings its own Python)
kg setup # asks before each change, backs up what it edits
kg setup checks each piece, shows what it would change, and applies what you accept:
kg command isn't on your PATH, setup tells you how to fix that (uv tool update-shell).kg_* tools pre-approved, the built-in auto-memory turned off (two memory systems write conflicting entries), and a quota gauge in your status line (kg gauge; an existing status line keeps working through it).--yes applies it only when named (kg setup --yes --only upkeep).kg setup --plan lists the items with their keys and changes nothing; kg setup --yes --only KEY,KEY applies just those. Every file setup edits is backed up under ~/.local/state/knowledge-graph/backups/. kg doctor checks everything later. kg update upgrades kg, then restarts the server on the new version and updates every installed plugin. kg uninstall reverses setup (marketplace auto-update stays on) and leaves your memory in place.
Two steps stay with you: in Codex, run /hooks and trust the knowledge-graph hooks; fully quit and reopen Claude Desktop. Then start a new session.
The hooks run bash, curl and python3 from your system. Windows is not supported.
With the harness hooks enabled, none of this needs to be asked for:
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mironmax/kg-memory --plugin knowledge-graphPlugins from other owners that cover similar ground