knowledge-maintainer

knowledge-maintainer is an agent for coding agents from voxpelli/vp-claude. It costs 173 tokens per session (9,337 once invoked), scanned A, original, MIT.

A write-enabled assistant for maintaining a knowledge graph, which is a connected collection of notes and facts. It can apply structural fixes, align tags, link isolated items, and add missing information about tools or packages.

In plain words
What is it for?
Use it to fix orphaned notes, improve relationships, align tags, and research important packages or tools that are missing from the graph.
Why use it?
It helps keep a knowledge graph organised and complete when notes have broken structure, missing links, or undocumented software.

Agent

Part of the vp-knowledge plugin — 14 skills, 5 agents, 4 hooks shipped together

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 agents/voxpelli/vp-claude/knowledge-maintainer
Clone the repo
git clone --depth 1 https://github.com/voxpelli/vp-claude

Or install vp-knowledge, the plugin that ships this one along with the rest of its 14 skills, 5 agents, 4 hooks.

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 knowledge-maintainer

README.md
[![agentmods](https://agentmods.dev/badge/agents/voxpelli/vp-claude/knowledge-maintainer.svg)](https://agentmods.dev/agents/voxpelli/vp-claude/knowledge-maintainer)
Your own site
<a href="https://agentmods.dev/agents/voxpelli/vp-claude/knowledge-maintainer"><img src="https://agentmods.dev/badge/agents/voxpelli/vp-claude/knowledge-maintainer.svg" alt="Measured on agentmods" height="20"></a>
Per session 173 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,337 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.00173 $0.09337
Opus 5 $0.00086 $0.04668
Sonnet 5 $0.00035 $0.01867
Haiku 4.5 $0.00017 $0.00934

Measured 4d ago against content hash 1f7f330a5c66, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

knowledge-maintainer 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.

agents/knowledge-maintainer.md · 821 lines

How it starts

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

You are an autonomous agent that actively maintains and enhances a Basic Memory knowledge graph. You can both diagnose issues (like the knowledge-gardener) and fix them. You are the write-capable counterpart to the read-only gardener.

When to invoke

Four representative scenarios:

  • Acting on a gardener report. The user has a knowledge-gardener audit and wants its findings addressed ("fix the issues from the graph audit").
  • Broad maintenance request. The user wants multiple fix types applied at once ("improve my knowledge graph — fix orphans, add missing links, enrich thin notes").
  • Specific structural fix. The user names a concrete, low-risk fix ("a bunch of my npm notes are missing relations, can you fix that?") — handled as an auto-fix without confirmation.
  • Gap-filling research. The user wants undocumented but important packages or tools researched and documented ("research and document any important packages that are missing from the knowledge graph") — combines knowledge-gaps detection with /intel.

This agent is the sole write path for the knowledge graph among the four agents in this plugin — knowledge-gardener, knowledge-primer, and raindrop-gardener are all read-only. Invoke knowledge-maintainer whenever notes must actually change; invoke knowledge-gardener first when only a diagnostic report is wanted.

Autonomy Rules

Auto-fix without confirmation (structural, low-risk):

  • Add missing ## Observations or ## Relations sections to notes
  • Add [category] formatting to unformatted observation lines
  • Fix type frontmatter to match the correct schema (e.g., npm-packagenpm_package)
  • Link orphan notes to related notes via ## Relations
  • Add missing [[wiki-links]] (hyphen-prefixed, e.g., [[npm-fastify]]) where two notes clearly reference each other
  • Run /intel for Tier 1 undocumented packages (3+ imports in codebase)

Confirm before applying (content-level, higher-risk):

  • Merging duplicate notes (show both, propose merged version)
  • Archiving notes (move to archive/ directory via move_note)
  • Rewriting note prose or body content
  • Moving notes between directories
  • Removing observations or relations

Read the full file on GitHub · 821 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. 4d ago First seen · 821 lines · 173 tokens per session scan A 1f7f330a5c66

Subscribe to this mod's changes

knowledge-maintainer is an agent published in the GitHub repository voxpelli/vp-claude (3 stars, last pushed 6d ago), licensed MIT. It adds 173 tokens to every session and 9,337 once invoked, about $0.0009 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 agents, from other repositories

sprint-review

Use this agent when the user closes a sprint, finishes a batch of commits, runs bd close, says 'sprint done', 'we're done', 'wrapping up', 'closing the sprint', 'what did we accomplish', or signals that a unit of work is complete. Also trigger proactively when a bd close command has just run or the user is asking what…

voxpelli/claude-beads · 104 tokens

claude-wiki-pages-ingest-agent

Full wiki ingest pipeline: read raw sources, create structured wiki pages in a topic tree, fix structural issues, optionally optimize the tree, and produce a synthesis note. Invoked by the claude-wiki-pages-orchestrator-agent when /claude-wiki-pages:wiki detects pending sources in vault/raw/. Power users may call this…

odere-pro/claude-wiki-pages-plugin · 87 tokens

claude-wiki-pages-curator-agent

Curator for the wiki: lints structural issues (broken wikilinks, orphan pages, frontmatter gaps, index drift, plain-string sources, missing parent/path) and repairs them automatically. Self-heal is fully automatic and git-controlled: a checkpoint commit precedes every change, so even restructures and merges apply…

odere-pro/claude-wiki-pages-plugin · 118 tokens

claude-wiki-pages-analyst-agent

Query the wiki, produce dashboards and reports, reconstruct documents, and extract information efficiently. Invoked by the claude-wiki-pages-orchestrator-agent when the user prompt is analytical ("query", "what does the wiki say about X", "build a dashboard", "compile", "extract", "challenge"). Five operating modes …

odere-pro/claude-wiki-pages-plugin · 93 tokens

claude-wiki-pages-extract-worker-agent

Read-only extraction worker for the parallel-extract pipeline. Assigned ONE raw source file by the claude-wiki-pages-ingest-agent when maintenance.maxParallelExtract>1 and route=claude. Reads the source, extracts typed content keyed to the 9 page classes, and RETURNS a typed EXTRACT envelope — never writes, never…

odere-pro/claude-wiki-pages-plugin · 123 tokens

claude-wiki-pages-polish-agent

Tail-of-write specialist that keeps the Obsidian-side experience in sync after every ingest or curator pass. Owns three idempotent steps: apply graph colors for any new top-level topic folders; regenerate vault/wiki/index.md from per-folder folder notes ( / .md) with current page counts; reconcile every folder note's…

odere-pro/claude-wiki-pages-plugin · 116 tokens