kb-garden
Skill0 starsChanged 32 days agoMITView on GitHub
Use when the student asks for KB maintenance, gardening, a lint or link cleanup, "tidy up the KB", or an end-of-semester cleanup; on demand only, never scheduled. Runs the checks, makes mechanical fixes, and proposes the rest.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- course-setupSkill
- exam-prepSkill
- kb-captureSkill
- kb-ingest-sourceSkill
- kb-secretsSkill
- kb-triageSkill
- kb-writeSkill
- setupSkill
- whats-dueSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Run scripts/rebuild-indexes.py, scripts/kb-lint.py, scripts/wikilink-check.py, scripts/reminder-ledger-check.py, and …
- Very specific: line 15
Keep commits small: gardener: fix <summary> YYYY-MM-DD.
≈ “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
kb-garden
AGENTS.md is canonical; this is only a thin task pointer. The full procedure, with every safety gate, is runs/prompts/gardener.md. Read it and follow it exactly; it wins over this summary.
- Gates first:
CLAUDE.local.mdhostname match;runs/PAUSEabsent; cleangit status --short;git pull --rebase(when a remote exists); diff caps fromTHRESHOLDS.md. - Run
scripts/rebuild-indexes.py,scripts/kb-lint.py,scripts/wikilink-check.py,scripts/reminder-ledger-check.py, andscripts/gitleaks-smoke-test.sh. - Review:
runs/retrieval-failures.md, stalestatus: activepages (STALE_ACTIVE_DAYS), finished semesters (ARCHIVE_STALE_MONTHS), past-date reminder bullets still open, missing glossary aliases, oversized or tiny pages (OVERSIZED_LINES,MIN_LINES), DEMO files left beside real pages. - Fix mechanical things directly (descriptions, glossary appends, obvious broken links), each edit updating
updated:anddescription:. - Judgment calls (archive, split, merge, supersede) go as proposals in
runs/gardener/YYYY-MM-DD-gardener.md(type: report; seeruns/gardener/README.md). Never delete pages, process the inbox, openraw/, or rewrite decisions. - Keep commits small:
gardener: fix <summary> YYYY-MM-DD. Push only if asked orkb.autopushis on.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

