knowledge-curator-agent

knowledge-curator-agent is an agent for Claude Code from dsifry/metaswarm. It costs 44 tokens per session (2,563 once invoked), scanned A, original, MIT.

An agent that extracts lessons from completed software work and organizes them in the BEADS knowledge base, a shared store of project knowledge.

In plain words
What is it for?
It reviews pull requests, code reviews, and agent discoveries; maintains knowledge entries; and produces periodic summaries of knowledge-base health.
Why use it?
It helps teams preserve useful findings, remove duplicates, check accuracy, and notice outdated information after work is completed.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the metaswarm plugin — 15 skills, 16 commands, 31 agents, 3 hooks shipped together

Good fit It reviews pull requests, code reviews, and agent discoveries; maintains knowledge entries; and produces periodic summaries of knowledge-base health.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dsifry/metaswarm/knowledge-curator-agent
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.

Clone the repo
git clone --depth 1 https://github.com/dsifry/metaswarm

Made for: Claude Code.

Or install metaswarm, the plugin that ships this one along with the rest of its 15 skills, 16 commands, 31 agents, 3 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-curator-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/dsifry/metaswarm/knowledge-curator-agent/github.svg)](https://agentmods.dev/agents/dsifry/metaswarm/knowledge-curator-agent)
Your own site
<a href="https://agentmods.dev/agents/dsifry/metaswarm/knowledge-curator-agent"><img src="https://agentmods.dev/badge/agents/dsifry/metaswarm/knowledge-curator-agent/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 knowledge-curator-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/dsifry/metaswarm/knowledge-curator-agent"><img src="https://agentmods.dev/badge/agents/dsifry/metaswarm/knowledge-curator-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,563 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.00044 $0.02563
Opus 5.5 $0.00018 $0.01025
Sonnet 5.5 $0.00009 $0.00513
Haiku 4.5 $0.00004 $0.00256

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

Security

Grade A, and why

knowledge-curator-agent 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 today.

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-curator-agent.md · 376 lines

How it starts

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

Knowledge Curator Agent

Type: learning-curator-agent Role: Knowledge extraction and curation Spawned By: Issue Orchestrator or the parent session (at the end of a round of work, before the PR); Scheduled job; post-merge use is a secondary case Tools: GitHub API, BEADS CLI, knowledge base


Purpose

The Knowledge Curator Agent extracts learnings from completed work and curates the BEADS knowledge base. It processes CodeRabbit comments, human reviews, and agent discoveries to build institutional knowledge.


Responsibilities

  1. Learning Extraction: Extract insights from PRs and reviews
  2. Knowledge Curation: Validate, deduplicate, and organize facts
  3. Quality Assurance: Verify accuracy and relevance
  4. Staleness Detection: Flag outdated knowledge
  5. Weekly Reports: Summarize knowledge base health

Activation

Triggered when:

  • End of a round of work, before the PR (primary: extract learnings and propose instruction changes)
  • PR is merged (secondary: extract learnings from CI and review threads)
  • Epic is closed (summarize discoveries)
  • Weekly schedule (maintenance review)
  • Manual: @beads curate

Workflow

Step 0: Knowledge Priming (CRITICAL)

BEFORE any other work, prime your context:

`/prime` (metaswarm knowledge priming) for research work on "knowledge" "learning" "coderabbit"

Review the output for patterns about what makes good knowledge base entries.

Instruction changes: return, never apply

When working before the PR, run the /self-reflect Step 7 instruction review and RETURN the "Instruction changes proposed" list in your report. You have no way to put a question to the user, so the parent session puts the list to the user as one decision request and commits the approved edits with the knowledge-base updates. The curator never applies instruction changes itself.

Step 1: Learning Extraction (end of round, before the PR; also after a merge)

At the end of a round of work, or when a PR is merged. Before the PR exists there is no <pr-number>: skip the gh commands below and extract from the BEADS task, the round's review findings and user corrections in the session, and the commit history on the branch. The gh commands apply once a PR exists.

Read the full file on GitHub · 376 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. today Changed a1076d2a1f56
  2. 3d ago Changed · +5 lines · +15 tokens per session 0b6ef16ddc68
  3. 24d ago Changed 40ef07893b4d
  4. 25d ago Changed · +6 lines · +29 tokens per session 97a3526ecbc9
  5. 3mo ago First seen · 365 lines · 0 tokens per session scan A 0f9f0b57e8f1

Subscribe to this mod's changes

knowledge-curator-agent is an agent published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 2,563 once invoked, about $0.0002 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-30.

Related

knowledge-curator-agent compared with agents from other repositories

knowledge-curator-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
knowledge-curator-agentdsifry/metaswarmAgent442yesterdayMITA44Claude Code
extractorathola/claude-night-marketAgent3582d agoMITA35Claude Code
shamanpjt222/agent-almanacAgent46todayMITA29Claude Code
chapter-synthesis-editorequinor/neqsimAgent177todayApache-2.0A28Claude Code
slide-auditorbrycewang-stanford/Auto-Empirical-Research-SkillsAgent5.4k2d agononeA38Claude Code
inclusion-access-partnerGarethManning/education-agent-skillsAgent1.1k2d agononeA36Claude Code
human-3-coachbl1nk-bot/bl1nk-agents-managerAgent81mo agoMITA32Claude Code