knowledge-base-enrichment
Skill16 starsChanged 5 months agoMITView on GitHub
Enrich a Markdown knowledge base with durable tags, source provenance, existing-note links, and reviewed wiki synthesis while keeping raw notes read-only by default. Use when organizing Obsidian-style notes, refreshing generated wikis, or preparing source-grounded context for agents.
In this repository94 other files it gives its agents.
- agent-friction-ledgerSkill
- agent-learning-layer-triageSkill
- agent-operations-contractSkill
- agents-best-practicesSkill
- agent-tool-contract-reviewSkill
- anti-slop-reviewSkill
- architecture-deepening-reviewSkill
- assumption-excavationSkill
- authorized-security-routerSkill
- book-to-skillSkill
- bounded-evaluationSkill
- bounded-growth-loopSkill
- bounded-orchestration-contractSkill
- brief-first-executionSkill
- browser-verificationSkill
- bug-evidence-protocolSkill
- codex-review-loopSkill
- compaction-survivalSkill
- complexity-optimizerSkill
- confidence-fragility-reviewSkill
- context-degradation-reviewSkill
- corporate-surfaceSkill
- delivery-baseline-auditSkill
- delivery-preflight-gateSkill
- design-critique-polishSkill
- designmd-brand-kitSkill
- design-register-bootstrapSkill
- diagnoseSkill
- doc-grounded-grillingSkill
- doc-to-lora-evaluatorSkill
- durable-context-maintenanceSkill
- dynamic-workflow-packetsSkill
- editorial-surfaceSkill
- evidence-ledger-researchSkill
- filesystem-context-disciplineSkill
- fluid-interaction-reviewSkill
- frontend-product-builderSkill
- frontend-taste-layerSkill
- git-native-context-contractSkill
- goal-loop-designerSkill
- graph-guided-code-readingSkill
- handoffSkill
- happy-handoffSkill
- html-brief-artifactSkill
- html-diagram-artifactSkill
- hypothesis-diversificationSkill
- idea-to-ship-gatesSkill
- lean-context-layoutSkill
- local-inference-tuningSkill
- loop-hardening-contractSkill
- loopops-protocolSkill
- loop-readiness-reviewSkill
- lottie-motion-builderSkill
- minimal-diff-builderSkill
- motion-review-gateSkill
- overengineering-reviewSkill
- personal-workspace-routerSkill
- phase-spec-executionSkill
- pipeline-readiness-gateSkill
- plan-to-issuesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Read the local tag registry and the target wiki's AGENTS.md/index.md before proposing changes.
- Distinctive: line 40
Read the target note and inspect existing frontmatter without rewriting its body.
- Very specific: line 45
Keep the proposal under .knowledge-base/proposals/ until it is inspected and explicitly applied.
- Distinctive: line 54
Never invent source URLs, related-note targets, claims, or wiki entities.
- Distinctive: line 58
When a runner exposes a project-memory capability, use it through this order:
- Very specific: line 65
Prefer hybrid retrieval (full_text plus semantic) with full-text fallback.
- Distinctive: line 71
Read its local schema first.
- Distinctive: line 73
Update source summaries, concept/entity pages, index counts, and source backlinks.
- Distinctive: line 74
Update the overview only for durable synthesis changes.
- Distinctive: line 77
If scope is ambiguous, skip the note and log the question instead of guessing.
- Distinctive: line 86
Do not expose private notes, credentials, or vault contents to external services without explicit approval.
- Distinctive: line 87
Do not treat generated wiki prose as a source of truth.
- Distinctive: line 88
Do not apply bulk changes when the proposal, source scope, or evaluator is unclear.
- Distinctive: line 99
Before reporting completion, check:
- Distinctive: line 102
every emitted link resolves to an existing note.
- Distinctive: line 103
every generated claim has a source or is marked as synthesis.
≈ “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
Knowledge Base Enrichment
Turn raw Markdown notes into a traceable knowledge base without silently rewriting the source layer.
Use When
- enriching one note with tags, source attribution, or related-note links;
- organizing a vault or Markdown corpus into generated wikis;
- refreshing a wiki from new or changed source notes;
- preparing durable, source-grounded context for an agent or reader workflow.
Default Layout
vault/
raw/ # source notes; read-only by default
wikis/ # generated synthesis; writable only in the selected scope
tags.md # shared tag registry
.knowledge-base/
state.json
proposals/
logs/Adapt to an existing layout after inspecting it. Do not create a parallel vault when a clear local structure already exists.
Workflow
- State the source root, writable output scope, and whether the user explicitly authorized apply.
- Read the local tag registry and the target wiki's
AGENTS.md/index.mdbefore proposing changes. - Read the target note and inspect existing frontmatter without rewriting its body.
- Propose only evidence-backed metadata:
- reusable kebab-case topic tags;
sourceandurlwhen the origin is real and known;- links to related notes that actually exist.
- Keep the proposal under
.knowledge-base/proposals/until it is inspected and explicitly applied. - On apply, write derived metadata/state and generated wiki pages in the selected scope. Keep
raw/content unchanged unless the user explicitly authorizes a source edit. - Record changed sources, skipped ambiguities, unresolved links, and the verification result in a log.
Idempotence
- Track enrichment state in
.knowledge-base/state.json, not by adding silent stamps to raw notes. - Skip notes whose content hash and enrichment inputs are unchanged.
- Reuse existing tags; add a new tag only when it is broadly reusable and record why.
- Never invent source URLs, related-note targets, claims, or wiki entities.
Optional Memory Capability
When a runner exposes a project-memory capability, use it through this order:
searchthe current project scope before planning or mutating;readthe complete source document behind a relevant result;- draft a proposed
writefor a durable decision, constraint, or lesson; - audit and inspect the proposal before applying it.
Prefer hybrid retrieval (full_text plus semantic) with full-text fallback. Keep cross-project reads disabled unless explicitly authorized. Treat memory writes as derived artifacts, never as implicit completion evidence.
Wiki Refresh
For each selected wiki:
- Read its local schema first; it overrides this skill.
- Find new or changed source notes that fit the wiki scope.
- Update source summaries, concept/entity pages, index counts, and source backlinks.
- Update the overview only for durable synthesis changes.
- Lint unresolved links, orphan pages, stale claims, duplicate concepts, missing provenance, and skipped ambiguities.
If scope is ambiguous, skip the note and log the question instead of guessing.
Bulk Mode
Bulk enrichment is opt-in and review-gated. Before running it, report the note count, writable paths, model/provider, and expected artifacts. Prefer a small sample first. Do not sync a private vault to a cloud runner or use web research unless the user explicitly authorizes it.
Hard Boundaries
- Raw notes are read-only by default; never delete or rewrite them in unattended mode.
- Do not expose private notes, credentials, or vault contents to external services without explicit approval.
- Do not treat generated wiki prose as a source of truth; retain source links and provenance.
- Do not apply bulk changes when the proposal, source scope, or evaluator is unclear.
Pair With
reversible-agent-taskfor proposal -> inspect -> select/apply/discard settlement;rabbithole-doc-explorationfor human review of dense source/wikis;confidence-fragility-reviewfor checking generated claims against sources;skillopt-evolve-skillswhen repeated enrichment failures justify improving this skill.
Verification
Before reporting completion, check:
- raw files are unchanged unless explicitly authorized;
- every emitted link resolves to an existing note;
- every generated claim has a source or is marked as synthesis;
- state is idempotent on a second run;
- skipped or ambiguous items are logged;
- the final diff stays within the approved writable scope.
Final Report
Report source scope, derived files changed, raw files preserved, tags/provenance/link decisions, skipped ambiguities, verification, and whether the result is still a proposal or explicitly applied.
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.

