doc-maintenance

doc-maintenance is a skill for Claude Code, Codex from wefio/NodeMemoryGraph. It costs 60 tokens per session (879 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

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/wefio/nodememorygraph/doc-maintenance
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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 879 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00060 $0.00879
Opus 5 $0.00030 $0.00439
Sonnet 5 $0.00012 $0.00176
Haiku 4.5 $0.00006 $0.00088

Measured 4d ago against content hash 9eb9c059d3d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 70 lines

How it starts

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

Documentation maintenance

Keep NMG documentation useful as an interface between users, Agents, design, and implementation. Read the documentation index before editing. Use its Chinese counterpart when Chinese wording is part of the task.

Workflow

  1. Classify the change before writing. Decide whether it changes normative behavior, records rationale, reports evidence, changes completion status, adds unresolved work, or changes user instructions.
  2. Find the existing owner. Search titles and relevant terms. Update the owning document instead of creating another summary. Git preserves editing history. If a detail remains only in Git and would be expensive to rediscover, leave a commit or decision link in the relevant audit or decision document.
  3. Update the right surface.
    • Behavior and architecture: docs/design/design.md and, when useful, one owning topic design.
    • Rationale and alternatives: a record under docs/decisions/.
    • Measured results: docs/experiments/; never promote a result into a design claim without an explicit decision.
    • Current implementation evidence: docs/design/completion-audit.md.
    • Unresolved action only: docs/design/temporary-todo.md; remove it when done.
    • User or Agent operation: README, Skill, or operating guide that owns it.
  4. Handle supersession explicitly. Refine an existing owner when possible. Cross-link old and new decisions; archive a fully superseded decision, or state the remaining scope when supersession is partial.
  5. Maintain useful bilingual coverage. Root and docs indexes stay paired. New or materially changed decisions should normally be paired. Preserve the same decision, warnings, and commands, but do not force paragraph-for-paragraph equivalence. Experiments and internal notes may remain single-language.
  6. Keep status honest. Separate implemented, validated, enabled, default, deferred, and out-of-scope states. A passing controlled test is not natural product evidence; an experiment result is not a default-policy decision.
  7. Verify. Apply the CI contract, then run npm run docs:check and the code or evaluation checks needed by the underlying change. Review warnings rather than hiding them. If automation policy must change, update the contract first and the verifier second.

Read the full file on GitHub · 70 lines

Files

What ships with it

1 file 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. 4d 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 yesterday), licensed MIT. It adds 60 tokens to every session and 879 once invoked, about $0.0003 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

skills-constitution

当 Agent 接到专业任务(编码/爬虫/文件操作/API调用/数据分析/文档/部署/推送等)时,强制先查记忆层和技能索引,有匹配必用、无匹配必搜、答复时自动推荐(排除已装)。用于防止 Agent 跳过技能直接硬扛通用能力。跨平台通用(WorkBuddy/Claude/ChatGPT/Cursor/Gemini 等 20+ 框架)。完整版本史见 CHANGELOG.md。.

jiabaobei/skills-constitution · 119 tokens

add-memory-system

Research and integrate a new agent-memory repository into Agent Memory Atlas. Use when asked to add, analyze, catalog, or compare a memory system in this repository, including its commit-pinned system report, comparative overview coverage, homepage card, generated site, and validation.

neoneye/agent-memory-atlas · 57 tokens

reanalyze-memory-system

Re-read a repository Agent Memory Atlas already has a report for, at a newer commit, and fold what changed into the existing report. Use when asked to re-analyze, re-read, re-pin, refresh, or check for updates on a system already in the atlas, when an upstream project reports a fix, or when a freshness check flags a…

neoneye/agent-memory-atlas · 78 tokens

remove-meta-narrative

Detect and remove narration of the project's own history from published pages, so a reader gets the current state instead of a draft's changelog. Use before publishing or committing any edit to content/ or site/, when correcting a claim that turned out wrong, when folding a new finding into an existing page, and…

neoneye/agent-memory-atlas · 78 tokens

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens

python-run

Run and debug Python scripts in the project. Use when the user says "run python", "execute this script", "debug this py file", or wants to run/modify a .py file. Handles dependency checks, linting, execution, and error analysis.

congchuanling-dot/Cohort · 56 tokens