knowledge-compiler / rules
AGENTS.md18 starsChanged 12 days agoApache-2.0View on GitHub
When the knowledge-compiler plugin is active:
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- distill-sessionSkill
- ingestSkill
- knowledge-compilerSkill
- vault-correctSkill
- vault-graphSkill
- vault-lintSkill
- vault-pullSkill
- vault-querySkill
- vault-shareSkill
- wikiskillSkill
The file
We split this AGENTS.md 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 3
When the knowledge-compiler plugin is active:
- Very specific: line 7
When researching architecture patterns or cloud best practices, consult index.md in your local vault and your shared patterns repository …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
Knowledge Compiler & Graph Engineering Rules
When the knowledge-compiler plugin is active:
- Vault Location & Progressive Disclosure:
- The primary Knowledge Compiler vault resides at the path specified by
$KC_VAULT_PATHor$OBSIDIAN_VAULT_PATH(defaults to./vaultor~/ObsidianVault). - When researching architecture patterns or cloud best practices, consult
index.mdin your local vault and your shared patterns repository ($OKF_PATTERNS_PATH).
- The primary Knowledge Compiler vault resides at the path specified by
- Privacy Boundaries & Export Isolation:
- Shared Patterns Repository: Reusable architectural patterns (
wiki/concepts/,wiki/patterns/) are sanitized viascripts/sync_patterns.pyandscripts/sanitize_check.py. - Private Vault Notes: Personal notes and entity dossiers (
wiki/entities/,raw/) remain strictly local inside the private vault.
- Shared Patterns Repository: Reusable architectural patterns (
- Core Operational Commands:
/ingest <target>: Distill raw documents, slide decks, PDFs, or transcripts into structured markdown following OKF v0.3 (with v0.2 backward compatibility)./distill-session: Retrospectively scan the active session transcript and compile newly established concepts and decisions into the vault./vault-correct "<fact>": Authoritatively update a canonical concept/entity note and refactor living restatements into wikilinks ([[Target]])./vault-query <query>: Traverse the knowledge graph to synthesize answers across accumulated notes./vault-share: Audit, sanitize, and share reusable architecture concepts to the shared patterns repository./vault-pull: Synchronize curated patterns from the shared patterns repository into the local vault./vault-graph: Launch or export the 2D/3D WebGL Orbit Graph & Search Hub (127.0.0.1:8765)./wikiskill: Refine and evolve procedural agent skills (SKILL.md) using empirical validation loops./vault-lint: Audit graph connectivity, frontmatter compliance, and auto-heal links.
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.

