nmg-memory

nmg-memory is a skill for Codex from wefio/NodeMemoryGraph. It costs 74 tokens per session (1,150 once invoked), scanned A, original, MIT.

A skill for using NMG as durable memory or as a temporary shared task board between agents. It covers remembering user facts, decisions, project state and reusable experience.

In plain words
What is it for?
Use it to recall or save attributable information, manage temporary multi-agent coordination and preserve useful project knowledge.
Why use it?
It helps an agent find relevant prior context and coordinate work without treating memories or temporary notes as automatically reliable.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it to recall or save attributable information, manage temporary multi-agent coordination and preserve useful project knowledge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wefio/nodememorygraph/nmg-memory
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 wefio/NodeMemoryGraph --skill nmg-memory
Clone the repo
git clone --depth 1 https://github.com/wefio/NodeMemoryGraph

Made for: 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 nmg-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/wefio/nodememorygraph/nmg-memory/github.svg)](https://agentmods.dev/skills/wefio/nodememorygraph/nmg-memory)
Your own site
<a href="https://agentmods.dev/skills/wefio/nodememorygraph/nmg-memory"><img src="https://agentmods.dev/badge/skills/wefio/nodememorygraph/nmg-memory/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 nmg-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/wefio/nodememorygraph/nmg-memory"><img src="https://agentmods.dev/badge/skills/wefio/nodememorygraph/nmg-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,150 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.
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.00074 $0.01150
Opus 5.5 $0.00030 $0.00460
Sonnet 5.5 $0.00015 $0.00230
Haiku 4.5 $0.00007 $0.00115

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

Security

Grade A, and why

nmg-memory 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 10d 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.

skills/nmg-memory/SKILL.md · 89 lines

How it starts

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

NMG Memory

中文 · Terms used

Use this quick-start directly once known. Read references only for the current operation or a missing detail; do not reload the whole Skill every turn.

Installation

For first-time setup from a persistent local checkout, prefer linking this entire Skill directory into the Agent's skills directory (Windows: directory junction). Keep the source available; confirm migration before replacing an existing installation or local changes. No periodic sync script is needed for a link.

Responsibilities and boundaries

  • Recall/search results are candidate headers, not current truth or complete evidence. Load relevant exact records; verify volatile facts against current sources. No useful memory is a valid result, not permission to guess.
  • Save attributable, durable facts, preferences, constraints, states, events and reusable strategies without waiting for an explicit “remember” request. Exclude secrets, transient content, duplicates, unsupported guesses and unconfirmed proposals. Never relabel an Assistant inference as a user statement.
  • Retrieval, answer reuse, task completion alone, silence and lack of correction are not claim support or positive feedback. Record only observed outcomes.
  • Use the task board through the board state space for temporary cross-Agent coordination, not LTG or Markdown task lists. State/Lab output is not durable memory without a separate, evidence-backed remember; ordinary single-Agent memory needs no board.

Normal workflow

  1. Check nmg daemon status --json; inspect both running and compatible. If stopped, run nmg daemon start --json and track this invocation's ownership. For compatible=false, do not reuse or automatically replace it; request an owner/user-coordinated restart at a safe point.

  2. For a history-dependent question, search before guessing:

    nmg search "<focused query>" --project-dir . --limit 8 --max-tier 1 --compact-json
    

Read the full file on GitHub · 89 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. 10d ago Changed · +1 lines 4d7551b3a741
  2. 13d ago Changed · +3 lines · +1 tokens per session 3c2a5c7c0d0e
  3. 23d ago Changed · -121 lines cd30e079e183
  4. 2mo ago First seen · 206 lines · 73 tokens per session scan A 8b8306e0db6a

Subscribe to this mod's changes

nmg-memory is a skill published in the GitHub repository wefio/NodeMemoryGraph (0 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,150 once invoked, about $0.0003 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

Other skills, from other repositories

skills-constitution

A set of rules that makes an agent check its memory and available skills before handling professional tasks such as coding, file work, data analysis, or deployment.

jiabaobei/skills-constitution · 119 tokens

engrama-onboard

Build a personalized Engrama memory graph for any user through a conversational interview. Use this skill whenever someone says "set up Engrama", "create my graph", "onboard", "build my profile", "configure Engrama for me", or asks how to start using Engrama. Also use when the user mentions they have a different role…

scops/engrama · 104 tokens

thoughtline-memory

Persistent, project-aware memory for AI coding agents. Use thoughtline whenever you make a decision, fix a bug, learn something non-obvious, or need to recall prior work.

AgusLoza2021/Thoughtline · 40 tokens

StructuredMemoryManager

A structured long-term memory tool for storing and retrieving user preferences, past decisions, task summaries, and habits across conversations. It can search memories by meaning as well as keywords.

wpc0323/StructuredMemoryManager · 60 tokens

growmos

Use the repository's living knowledge graph (growmos, in .growmos/) as shared memory. Trigger when the user asks about how parts of the codebase relate, why a decision was made, who owns what, what depends on what; when you finish a meaningful piece of development and should record it; when growmos next reports…

codician-team/growmos · 97 tokens

agency-knowledge-graph-engineer

Structures information and capabilities into interconnected nodes (entities) and edges (relationships) — enabling dynamic context navigation, modular competency chaining, lower token costs, and hallucination reduction.

BlackPearl-AI/BlackPearl-CodingAgent · 42 tokens