doc-maintenance

doc-maintenance is a skill for Claude Code, Codex from wefio/NodeMemoryGraph. It costs 73 tokens per session (2,262 once invoked), scanned A, original, MIT.

A repository-documentation maintenance guide for keeping design, decisions, experiments, TODOs, and operating instructions organized and current.

In plain words
What is it for?
Use it when a change affects behavior, architecture, processes, evidence, instructions, translations, or the organization of documentation.
Why use it?
It helps prevent important project knowledge from becoming outdated, duplicated, or stored in the wrong document.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it when a change affects behavior, architecture, processes, evidence, instructions, translations, or the organization of documentation.

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

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 doc-maintenance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wefio/nodememorygraph/doc-maintenance"><img src="https://agentmods.dev/badge/skills/wefio/nodememorygraph/doc-maintenance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,262 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.00073 $0.02262
Opus 5.5 $0.00029 $0.00905
Sonnet 5.5 $0.00015 $0.00452
Haiku 4.5 $0.00007 $0.00226

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

Security

Grade A, and why

doc-maintenance 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/doc-maintenance/SKILL.md · 169 lines

How it starts

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

Documentation maintenance

中文 · Terms used

Keep NMG documentation useful as an interface between users, Agents, design, and implementation. Use the documentation index to resolve ownership when it is unclear; read its CI contract when changing checks and its bilingual policy when changing paired content.

Before drafting, reorganizing, condensing or publishing reader-facing text, apply the reader-oriented writing and review standard. It owns reader-task structure, controlled-language-inspired expression and semantic acceptance. Structural checks do not replace that review.

Content that can be read locally

Use the writing standard's local-reading criteria for section boundaries, required versus background links, source references and inventory duplication. Its review procedure checks incoming references and the meaning of their targets after a move.

The root bootstrap owns the stable discovery protocol. Changing commands and setup belong at their operational owner; the documentation index resolves which surface owns a fact. This Skill routes that work rather than maintaining another copy of the writing criteria.

Meta-rule: NMG's own rules are governed

Rules and decisions about NMG are themselves NMG artifacts and follow the same discipline as the code they govern. This is the rule that makes every other rule change deliberate rather than silent.

  • A rule change is a non-trivial change. Adding, weakening, or moving a standing rule, Skill convention, or decision convention is itself a decision: state what changed, what it replaces or beats (alternatives), and why, in the owning record, in the same change. Never change a rule silently inside a code edit, a commit body, or a prose aside.
  • One home per rule. State each rule once at its owner — an AGENTS.md standing order, the owning Skill, or a decision record — and link elsewhere by relative Markdown path. If the same rule appears twice, delete the copy and link the owner.
  • Prefer a gate to a reminder. When a rule must be followed in many places or protected against drift, turn it into one mechanical check at its owner rather than restating it. A rule restated everywhere is a rule enforced nowhere.
  • Keep a new rule reversible and grounded. Prefer a documented convention over entrenched machinery. A rule that needs new space, or replaces an existing rule, records what it costs and what it beat.
  • Most docs need no approval. Approval attaches to normative content that no check can decide, not to the docs/** prefix. The test is if this file were wrong, what would fail? — a check means the check approves, nothing means the edit is free. Where a doc has a checkable property and no check yet, write the check instead of asking. See the approval tiers; a record whose substance the user already agreed goes straight into implemented/ with **Approved:** explicit, and is never parked in proposed/.

Read the full file on GitHub · 169 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · +2 lines b84fe3778cde
  2. 1mo ago Changed · +23 lines 21e9f7de1a0a
  3. 1mo ago Changed · +8 lines · +13 tokens per session 100bdb4cc0b7
  4. 1mo ago Changed · +8 lines d6657d445611
  5. 1mo ago Changed · +9 lines 5cb0a87bb7f7
  6. 1mo ago Changed · +49 lines 635eab23e2b5
  7. 2mo ago First seen · 70 lines · 60 tokens per session scan A 9eb9c059d3d2

Subscribe to this mod's changes

doc-maintenance is a skill published in the GitHub repository wefio/NodeMemoryGraph (0 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 2,262 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.