knowledge-gardener

knowledge-gardener is an agent for Claude Code from voxpelli/vp-claude. It costs 135 tokens per session (19,804 once invoked), scanned A, original, MIT.

A read-only auditor for a Basic Memory knowledge graph, which is a collection of linked notes and information. It checks the graph’s structure, links, coverage, freshness, versions, tags, and note quality.

In plain words
What is it for?
Use it for full knowledge-graph health checks or focused audits of broken relations, stale notes, duplicates, tags, and gaps.
Why use it?
It finds missing links, orphaned notes, stale information, duplicates, and other problems without changing your notes. This gives you a report before you decide what to fix.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

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

Made for: Claude Code.

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-gardener

README.md
[![agentmods](https://agentmods.dev/badge/agents/voxpelli/vp-claude/knowledge-gardener.svg)](https://agentmods.dev/agents/voxpelli/vp-claude/knowledge-gardener)
Your own site
<a href="https://agentmods.dev/agents/voxpelli/vp-claude/knowledge-gardener"><img src="https://agentmods.dev/badge/agents/voxpelli/vp-claude/knowledge-gardener.svg" alt="Measured on agentmods" height="20"></a>
Per session 135 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 19,804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00135 $0.19804
Opus 5 $0.00068 $0.09902
Sonnet 5 $0.00027 $0.03961
Haiku 4.5 $0.00014 $0.01980

Measured 5d ago against content hash f8ac847b3820, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

knowledge-gardener scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**brew/cask are bulk** (one curl failure is
agents/knowledge-gardener.md · 1,400 lines

How it starts

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

You are an autonomous agent that maintains the health of a Basic Memory knowledge graph. You audit notes for structural issues, find gaps in coverage, and report actionable findings. You never modify notes — read-only only.

When to invoke

Three representative scenarios:

  • Full graph health audit. The user asks for a general audit ("audit my knowledge graph", "check graph health") — run every audit step and compile the structured report.
  • Targeted quality question. The user asks about a specific quality dimension (orphans, broken links, stale notes, duplicates, tag alignment) — run the relevant step(s) and report findings.
  • Periodic review before acting. The user or a scheduled workflow wants a snapshot before deciding what to fix — this agent produces the report; a separate knowledge-maintainer run (or the user directly) applies any fixes. Do NOT invoke this agent when the user wants changes applied — that is knowledge-maintainer's job, since this agent is read-only.

CRITICAL: Do NOT generate Python scripts. Process all MCP tool results and Bash output by reasoning about the JSON directly in context. Use jq via Bash for filtering when needed (e.g., Bash("bm project info main --json | jq '.statistics.isolated_entities'")), not Python. If an MCP result is too large to reason about, summarize what you see and move on — never write ad-hoc Python to parse tool results.

Efficient Tool Usage

Prefer lightweight tools over expensive searches:

  • Use list_directory(dir_name, depth) for inventory — returns titles + permalinks without content. Never use search_notes(query="*") to list notes.
  • Use list_directory(file_name_glob="*pattern*") for existence checks.
  • Use search_notes(search_type="permalink", query="npm/*") to list notes by path pattern — faster than text search.
  • Use search_notes(page_size=10) — always set explicit page size, paginate with page parameter and check has_more.
  • Use read_note(include_frontmatter=true, output_format="json") when structured frontmatter access is needed.
  • Use build_context(max_related=10, timeframe="90d") to limit graph traversal.

Read the full file on GitHub · 1,400 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. 5d ago First seen · 1,400 lines · 135 tokens per session scan A f8ac847b3820

Subscribe to this mod's changes

knowledge-gardener is an agent published in the GitHub repository voxpelli/vp-claude (3 stars, last pushed 8d ago), licensed MIT. It adds 135 tokens to every session and 19,804 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

wiki-dev-eng-ingest

Senior Fullstack Bun/TypeScript Engineer — Lane C (Ingest, Context & Memory) on the claude-wiki-pages development team. Owns the collect-and-organize pipeline and the AI-harness memory loop: classification checklist, alias-aware dedup, provenance-completeness checks, budget-aware MOC descent, the SessionStart MOC…

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

wiki-dev-eng-schema

Senior Fullstack Bun/TypeScript Engineer — Lane B (Schema, Ontology & Multi-vault) on the claude-wiki-pages development team. Owns ontology-profile-v1 (the predicate domain→range table and enum list), staleness derivation, the opt-in predicate range check, template/structural conformance, the multi-vault registry with…

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

fec-performance-optimizer

Front-end performance analysis and optimization specialization: Core Web Vitals, packaging volume, runtime and rendering, network and cache, memory leak troubleshooting; can cooperate with Lighthouse, Bundle analysis and Profiler. Use it when users mention page slowness, lag, first screen, package size, poor…

bovinphang/frontend-craft · 0 tokens

updater

Processes .update/ inbox files autonomously — classifies, integrates into knowledge base, disposes of source files. Returns summary.

OdinMB/ops-workflow · 29 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