/knowledge-base:knowledge-base-quickreffrom knowledge-base
Quick reference for an AIWG knowledge-base framework: discover and show skills for KB ingest, health-check, semantic-memory kernel, and LLM-wiki profiles.
Ships in knowledge-base. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This is your always-loaded directory for the AIWG knowledge-base framework. It does not list every skill. Most heavy lifting comes from the semantic-memory kernel in aiwg-utils (memory-ingest, memory-lint, etc.) — this framework is a thin topology on top.
When you find a candidate via aiwg discover, fetch its body with aiwg show <type> <name> --body. Never use find, ls, Glob, or direct Read on <provider>/skills/ paths — those reflect the kernel-pivot deploy state, not the full surface.
aiwg discover "<phrase>" # find — returns ranked candidates
aiwg show skill <name> --body # fetch — streams the SKILL.md body
If your platform's Skill tool errors on a non-kernel skill (expected — most aren't kernel), the fallback is aiwg show, never filesystem browsing. Last-resort if aiwg itself is broken: read directly from $AIWG_ROOT/agentic/code/... (the canonical corpus, always present).
aiwg show <type> <name> returns a metadata card. Inspect its outline, then fetch a needed --section "Heading" or use --body for the full instructions. Fetch required rules with --rules --with-rule-bodies before governed work.
aiwg discover "<phrase>" and surface the top match to the userDo not enumerate skills from memory. Discovery is the lookup surface.
A thin topology on top of AIWG's semantic-memory kernel — turning any project's .aiwg/kb/ into a queryable knowledge base. Sources get ingested into structured pages (entities, concepts, summaries, syntheses) with cross-references, deduplication, and lint coverage. Pairs naturally with the llm-wiki addon for Obsidian-compatible profiles (book-companion / personal / research-deep-dive / business-team / generic).
| Domain | Covers |
|---|---|
| KB lifecycle | Ingest sources, health-check the KB |
| Semantic memory kernel (in aiwg-utils) | Generic ingest/lint/log/query primitives any consumer can declare a topology against |
| LLM-wiki profiles | Topology profiles that shape how kb-ingest derives pages |
| Cross-ref traversal | Graph-native via aiwg index neighbors --graph kb |
aiwg discover "kb-ingest" # → kb-ingest (score 1.00)
aiwg discover "ingest source into knowledge base" # → kb-ingest
aiwg discover "kb-health" # → kb-health (score 1.00)
aiwg discover "knowledge base lint" # → kb-health
aiwg discover "memory ingest" # → memory-ingest
aiwg discover "memory lint" # → memory-lint
aiwg discover "memory log append" # → memory-log-append
aiwg discover "memory log render" # → memory-log-render
aiwg discover "memory query capture" # → memory-query-capture
aiwg discover "llm wiki profile" # → llm-wiki addon entries
aiwg discover "book companion knowledge base" # → llm-wiki book-companion profile
aiwg discover "research deep dive wiki" # → llm-wiki research-deep-dive profile
aiwg index neighbors --graph kb --node <slug> # traverse the KB graph
KB ingest and health operations continue to use resolveStorage('kb') and the
semantic-memory topology. Fortemi storage routing, when configured through
.aiwg/storage.config, is separate from the default Fortemi Core index/search
backend. During the migration preview, use --backend local for legacy fallback only on
artifact graph commands such as aiwg index neighbors --graph kb after
aiwg index sync; do not treat kb-ingest or
kb-health as Fortemi Core ingest commands.
kb-ingest ─────┐ ┌──── memory-ingest (kernel)
├── declares topology ──┤
kb-health ─────┘ └──── memory-lint (kernel)
memory-query-capture
memory-log-append / render
Every KB entry is a semantic-memory entry with a KB-specific topology (page types, cross-ref style, derived-pages config). The kernel handles ingest mechanics; this framework declares what shape the KB takes.
When ingesting via kb-ingest, the topology produces:
Cross-references between these are graph-native (visible to aiwg index neighbors).
llm-wiki addon)| Profile | Use for |
|---|---|
book-companion | Reading a book, building a structured companion |
personal | Personal knowledge / journal-of-ideas |
research-deep-dive | Academic research project (uses research-corpus conventions) |
business-team | Team-shared business KB |
generic | No profile chosen — vanilla semantic-memory shape |
The discoverable llm-wiki driver explains profile selection and activation.
Its canonical operation is aiwg use llm-wiki --profile <name>. The profile
shapes how kb-ingest derives pages.
.aiwg/kb/
├── entities/ # Entity pages (PROF-* compatible if research-corpus also installed)
├── concepts/ # Concept pages
├── summaries/ # Per-source distillation
├── syntheses/ # Composite views
└── log.jsonl # Semantic-memory event log
aiwg discover "<your need, paraphrased>" --limit 5
If a user asks "what KB skills are available?", do not list from this skill. Run:
aiwg discover --type skill --limit 20 "<their interest area>"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
knowledge-base, wiki, semantic-memory, llm-wiki, kb-ingest, aiwg
3 skills in this plugin
/kb-healthLint and health-check the knowledge base. Finds orphan pages, missing cross-references, stale claims, broken wiki-links, and regenerates the index./kb-ingestIngest a source (URL, file, or freeform note) into the knowledge base. Creates a source summary and updates or creates relevant entity and concept pages.npx claudepluginhub jmagly/aiwg --plugin knowledge-baseOther plugins' skills for the same job