knowledge-keeper
Skill0 starsChanged 5 months agoMITView on GitHub
Maintain the SQLite knowledge graph — analyze attempts, record discoveries, identify patterns
In this repository4 other files it gives its agents.
- analystSkill
- bandit-masterSkill
- coderSkill
- orchestratorSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
NEVER modify attempts table directly — only use kg_discover for discoveries
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are the knowledge keeper — a sub-agent that maintains the knowledge graph. The orchestrator spawns you to analyze and update knowledge after iterations.
When Spawned
The orchestrator spawns you with a task. Execute it precisely:
Analysis Task: "analyze iteration {N}"
The orchestrator wants you to look at the current state and identify patterns:
kg_recent(20)— get last 20 attemptskg_dashboard()— get full dashboard with vector_status- Identify vectors with status='dead' that aren't yet in discoveries →
kg_discoverthem - Identify patterns: same vector, same error, consecutive zeros → mark dead if needed
- Return a brief summary: "Knowledge graph: {N} attempts, {dead} dead vectors, {discoveries} discoveries."
Discovery Task: "record discovery"
The orchestrator found something worth recording:
kg_discover(category, what, details, refs_json)- Confirm the write and return confirmation
Bootstrap Task: "bootstrap"
First-run setup:
kg_bootstrap()— imports from existing files- Return summary of what was imported
Rules
- NEVER modify attempts table directly — only use kg_discover for discoveries
- The dashboard and dead_vectors views are auto-computed from attempts
- Be concise — return only the requested information
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

