InfraNodus Graph Memory plugin
The infranodus-memory plugin: memory for coding agents, stored as InfraNodus
knowledge graphs in your own account. Because memory is a graph, recall is
GraphRAG (it follows the links between concepts by hop distance, so it also
finds learnings reachable only through an intermediate concept) and can say
what the memory is missing.
It works in two ways:
- Commands, through your InfraNodus connector.
/infranodus-memory:recall,
:save, :remember, :optimize and :dream use the InfraNodus MCP tools
you already have connected. No setup, no API key.
- Automatic memory, with an optional API key. On the first prompt of a
session it recalls what earlier sessions learned about the project; at the
end of a session it saves new learnings.
The plugin brings no MCP server of its own, so it never hides or duplicates
the InfraNodus connector or server you have.
What is sent and when
Without an API key the plugin sends nothing by itself. The commands only do
what you ask, through your InfraNodus connector.
With an API key:
- First prompt of a session: that prompt and the project name, to recall
related learnings. Later prompts send nothing.
- End of a session and before a compaction: a trimmed excerpt of the
session (your prompts, Claude's final answers, failed tool calls, files
edited, commands that worked). Secrets and
<private>…</private> text are
removed before it leaves your machine.
- Where it goes: to infranodus.com only, into graphs in your own
InfraNodus account (
learn-<project>, and memory-<topic> for facts about
clients or subjects). The key is sent nowhere else.
- Not sent: anything from your home folder, temp folders, folders without
a git repo or project file, and folders listed in
exclude_paths.
- Turning it off:
/infranodus-memory:off for one project;
INFRANODUS_MEMORY_DISABLE=1 for everything;
INFRANODUS_MEMORY_DISABLE_CAPTURE=1 keeps recall but sends no sessions;
removing the key in /plugin stops all of it.
- Kept on your machine, in
~/.infranodus/: which projects are off, which
sessions were recalled and uploaded, uploads waiting for a retry, and a
timing log. The key is not stored there.
Install
Claude Code
/plugin marketplace add infranodus/plugins
/plugin install infranodus-memory@infranodus-plugins
No setup is required. Connect the InfraNodus connector (claude.ai Settings →
Connectors, or claude mcp add --transport http infranodus https://mcp.infranodus.com)
and the commands work. The install dialog offers three optional fields; leave
them empty, or enter an API key from https://infranodus.com/api-access to turn
on automatic memory. You can add or remove the key later in /plugin.
infranodus/plugins is the marketplace
for InfraNodus plugins; it also lists the core infranodus plugin (the
/infranodus skill). Straight from this repo instead:
/plugin marketplace add infranodus/infranodus-memory-plugin, then
/plugin install infranodus-memory@infranodus-memory; from a local clone,
/plugin marketplace add ~/path/to/infranodus-memory-plugin and the same
install line. The skills have their own marketplace,
infranodus/skills.
Other clients (experimental)
Claude Code is the supported client. The same files also load in Codex
(OpenAI) and Grok Build (xAI); that support is built on their published hook
formats and not tested against every release. See
codex/README.md
in the repository.
What automatic memory does
With an API key set: