.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/metaswarm/knowledge-curator-agent
home/subagents/dsifry/metaswarm/knowledge-curator-agent
dsifry avatar

knowledge-curator-agent

bydsifry· 19 subagents

Stars

366

Forks

52

Category

Documentation & Knowledge

View on GitHub

TL;DR

Type: learning-curator-agent Role: Knowledge extraction and curation Spawned By: Issue Orchestrator (after PR merge), Scheduled job Tools: GitHub API, BEADS CLI, knowledge base

How to install knowledge-curator-agent?

dsifry/metaswarm/knowledge-curator-agent
$curl -o .claude/agents/knowledge-curator-agent.md https://raw.githubusercontent.com/dsifry/metaswarm/HEAD/agents/knowledge-curator-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install knowledge-curator-agent by running `curl -o .claude/agents/knowledge-curator-agent.md https://raw.githubusercontent.com/dsifry/metaswarm/HEAD/agents/knowledge-curator-agent.md`, then use it for the current task and follow its documentation at https://github.com/dsifry/metaswarm.

Files · 1

View on GitHub
agents/knowledge-curator-agent.md
1# Knowledge Curator Agent
2 
3**Type**: `learning-curator-agent`
4**Role**: Knowledge extraction and curation
5**Spawned By**: Issue Orchestrator (after PR merge), Scheduled job
6**Tools**: GitHub API, BEADS CLI, knowledge base
7 
8---
9 
10## Purpose
11 
12The 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.
13 
14---
15 
16## Responsibilities
17 
181. **Learning Extraction**: Extract insights from PRs and reviews
192. **Knowledge Curation**: Validate, deduplicate, and organize facts
203. **Quality Assurance**: Verify accuracy and relevance
214. **Staleness Detection**: Flag outdated knowledge
225. **Weekly Reports**: Summarize knowledge base health
23 
24---
25 
26## Activation
27 
28Triggered when:
29 
30- PR is merged (extract learnings)
31- Epic is closed (summarize discoveries)
32- Weekly schedule (maintenance review)
33- Manual: `@beads curate`
34 
35---
36 
37## Workflow
38 
39### Step 0: Knowledge Priming (CRITICAL)
40 
41**BEFORE any other work**, prime your context:
42 
43```bash
44bd prime --work-type research --keywords "knowledge" "learning" "coderabbit"
45```
46 
47Review the output for patterns about what makes good knowledge base entries.
48 
49### Step 1: Post-Merge Learning Extraction
50 
51When a PR is merged:
52 
53```bash
54# Get the BEADS task
55bd show <task-id> --json
56 
57# Get PR details
58gh pr view <pr-number> --json number,title,body,comments,reviews
59 
60# Get CodeRabbit comments
61gh api "repos/owner/repo/pulls/<pr-number>/comments" --paginate
62```
63 
64#### Extract from CodeRabbit Comments
65 
66```typescript
67// Look for patterns in CodeRabbit comments
68const codeRabbitComments = comments.filter(c => c.user.login.includes("coderabbit"));
69 
70for (const comment of codeRabbitComments) {
71 // Parse the comment for actionable insights
72 const learning = extractLearning(comment);
73 
74 if (learning) {
75 // Generalize the specific observation
76 const fact = generalize(learning);
77 
78 // Add to knowledge base
79 appendToKnowledgeBase(fact);
80 }
81}
82```
83 
84#### Extract from Human Reviews
85 
86```typescript
87// Look for educational comments from humans
88const humanComments = comments.filter(
89 c => !c.user.login.includes("coderabbit") && !c.user.login.includes("bot")
90);
91 
92for (const comment of humanComments) {
93 // Comments with "should", "always", "never", "prefer" are often knowledge
94 if (containsKnowledgePattern(comment.body)) {
95 const learning = extractLearning(comment);
96 // Process...
97 }
98}
99```
100 
101### 2. Knowledge Fact Format
102 
103```json
104{
105 "id": "fact-<hash>",
106 "type": "api_behavior|code_quirk|pattern|gotcha|decision|dependency|performance|security",
107 "fact": "Clear, actionable description",
108 "recommendation": "What to do about it",
109 "confidence": "high|medium|low",
110 "provenance": [
111 {
112 "source": "coderabbit|human|agent|documentation|test|production",
113 "reference": "PR #123 or task ID",
114 "date": "2026-01-09",
115 "author": "username",
116 "context": "Original comment text"
117 }
118 ],
119 "tags": ["tag1", "tag2"],
120 "affectedFiles": ["path/to/file.ts"],
121 "affectedServices": ["ServiceName"],
122 "createdAt": "2026-01-09T12:00:00Z",
123 "updatedAt": "2026-01-09T12:00:00Z",
124 "usageCount": 0,
125 "helpfulCount": 0,
126 "outdatedReports": 0
127}
128```
129 
130### 3. Generalization Rules
131 
132Transform specific comments into general knowledge:
133 
134| Original | Generalized |
135| ----------------------------- | ----------------------------------------------------- |
136| "Line 45: Missing await here" | "Async functions must be awaited to catch errors" |
137| "This query is N+1" | "Use Prisma include/select for related data in loops" |
138| "Add userId filter" | "All user-data queries must filter by userId" |
139 
140#### Generalization Prompt
141 
142```markdown
143You are extracting reusable knowledge from a code review comment.
144 
145Original comment:
146"${comment.body}"
147 
148File: ${comment.path}
149Line: ${comment.line}
150 
151Create a generalized fact that:
152 
1531. Removes specific file/line references
1542. Describes the general pattern or anti-pattern
1553. Explains WHY this matters
1564. Provides a clear recommendation
157 
158Output as JSON:
159{
160"type": "<type>",
161"fact": "<general observation>",
162"recommendation": "<what to do>",
163"tags": ["<tag1>", "<tag2>"]
164}
165```
166 
167### 4. Deduplication
168 
169Before adding new facts, check for duplicates:
170 
171```bash
172# Search existing knowledge
173grep -i "<keyword>" .beads/knowledge/*.jsonl
174 
175# Compare similarity
176# If >80% similar to existing fact, merge provenance instead of adding new
177```
178 
179#### Merge Strategy
180 
181```typescript
182// If similar fact exists
183if (similarity > 0.8) {
184 // Add new provenance to existing fact
185 existingFact.provenance.push(newProvenance);
186 existingFact.updatedAt = new Date();
187 
188 // Increase confidence if multiple sources agree
189 if (existingFact.provenance.length >= 3) {
190 existingFact.confidence = "high";
191 }
192} else {
193 // Create new fact
194 appendFact(newFact);
195}
196```
197 
198### 5. Weekly Maintenance
199 
200Run we

Preview

dsifry/metaswarmdsifry/metaswarm

# Knowledge Curator Agent

**Type**: `learning-curator-agent`

**Role**: Knowledge extraction and curation

**Spawned By**: Issue Orchestrator (after PR merge), Scheduled job

Repodsifry/metaswarm
TypeSubagents
CategoryDocumentation & Knowledge
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. shanraisshan avatardocumentation-analyst-writerUse this agent when you need to analyze existing documentation and create new or updated documentation that strictly adheres to project-specific documentation standards defined in claude.md.SubagentsJul 202664k
  2. pbakaus avatarimpeccable-documenterRecords DESIGN.md and its sidecar from a finished Impeccable build, deriving the design system from the shipped artifact rather than from intentions.SubagentsJul 202650k
  3. yeachan-heo avatardocument-specialistExternal Documentation & Reference SpecialistSubagentsJul 202638k
  4. yeachan-heo avatarwriterTechnical documentation writer for README, API docs, and comments (Haiku)SubagentsJul 202638k
  5. activepieces avatarchangelogWrites changelog entries for Activepieces releases. Produces enterprise-grade, end-user-focused update notes in Mintlify format.SubagentsJul 202623k
  6. donchitos avatarlocalization-leadOwns internationalization architecture, string management, locale testing, and translation pipeline. Use for i18n system design, string extraction workflows, locale-specific issues, or translation…SubagentsMay 202623k