agentleFS
dipankardipankar/hackmonty/skills/knowledge-keeper/SKILL.md

knowledge-keeper

Skill0 starsChanged 5 months agoMITView on GitHub

Maintain the SQLite knowledge graph — analyze attempts, record discoveries, identify patterns

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
  1. Distinctive:

    NEVER modify attempts table directly — only use kg_discover for discoveries

    line 35

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. kg_recent(20) — get last 20 attempts
  2. kg_dashboard() — get full dashboard with vector_status
  3. Identify vectors with status='dead' that aren't yet in discoveries → kg_discover them
  4. Identify patterns: same vector, same error, consecutive zeros → mark dead if needed
  5. Return a brief summary: "Knowledge graph: {N} attempts, {dead} dead vectors, {discoveries} discoveries."

Discovery Task: "record discovery"

The orchestrator found something worth recording:

  1. kg_discover(category, what, details, refs_json)
  2. Confirm the write and return confirmation

Bootstrap Task: "bootstrap"

First-run setup:

  1. kg_bootstrap() — imports from existing files
  2. 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

Download now (ZIP)

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.