agentleFS
stjbrownstjbrown/agent-knowledge/skills/kb/SKILL.md

kb

Skill41 starsChanged 4 months agoMITView on GitHub

Portable OKF knowledge bundle for coding-agent memory and LLM wikis. Use when the user wants to start a wiki, ingest a source, document a repository, query project knowledge with citations, lint for drift, or visualize connections; whenever a repo has a knowledge/ bundle that should inform the task; and when another kb-* skill needs the shared spec, glossary, templates, or trust model.

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
  1. Very specific:

    If a knowledge/ bundle exists and would inform the current task, consult it via kb-query before answering from scratch — even when the user …

    line 49
  2. Very specific:

    Every kb-* skill reads these rather than restating them, so the family stays consistent:

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

kb — bundles

Hub for the kb-* family: vocabulary, shared reference, routing. Knowledge compounds — compiled once, kept current, not re-derived per query. Does not modify a bundle — routes to the skill that does.

Key terms

references/glossary.md defines the vocabulary. Minimum before routing: Bundle, Ingest, Progressive disclosure, Trust model (see trust-model.md).

The one hard rule

A bundle is conformant iff every non-reserved .md file has parseable YAML frontmatter with a non-empty type. Everything else is soft guidance — consumers MUST tolerate missing optional fields, unknown types, and broken links. Never reject a bundle over them. Full rules: references/SPEC.md §11.

The domain portion of spec/types.md is a living, producer-chosen vocabulary, not a validation enum. Keep the workflow conventions Reference and Spec Section; start the domain types small and evolve them through kb-ingest or kb-document when the domain reveals a durable new kind of entity. Use kb-lint to detect schema drift.

Route to the right skill

The user wants to…Use
Start a new bundlekb-init
Capture, ingest, file, or process a source (note, transcript, PDF, image, URL)kb-ingest
Document a repository, explain its architecture/workflows, or refresh knowledge after code changeskb-document
Ask what the bundle knows; look something up; explore connectionskb-query
Health-check the bundle (drift, orphans, contradictions, conformance)kb-lint
See the bundle as a graphkb-visualize

If a knowledge/ bundle exists and would inform the current task, consult it via kb-query before answering from scratch — even when the user didn't ask an explicit knowledge question.

Shared reference (single source of truth)

Every kb-* skill reads these rather than restating them, so the family stays consistent:

  • references/SPEC.md — OKF v0.2, vendored verbatim.
  • references/version-profile.md — v0.2 production and v0.1 compatibility rules; every writing skill reads it before changing a bundle.
  • references/glossary.md — leading words and definitions.
  • references/trust-model.md — the maintenance rules.
  • templates/ — concept.md, index.md, log.md starters.
  • example-bundle/ — a tiny conformant bundle: a worked example, and the seed kb-init copies from.

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.

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.