/knowledge-base:kb-ingestfrom knowledge-base
Ingests a URL, file, or freeform note into a knowledge base by fetching content, extracting key takeaways and quotes, and creating or updating entity and concept pages.
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.
Ingest any source — a URL, local file, or freeform note — into the knowledge base. Produces a source summary, then creates or updates entity and concept pages with new information.
/kb-ingest <source> → direct invocation<source> (required)| Format | Behavior |
|---|---|
https://... | Fetch with WebFetch, extract content |
| File path | Read the file directly |
| Quoted text | Treat as freeform note or paste |
--topic <tag> (optional)Tag this source with a topic hint (e.g., --topic "machine-learning"). Influences which entity/concept pages to touch.
--kb <path> (optional)Root of the knowledge base. Default: resolved by aiwg kb path (#965), which reads resolveStorage('kb') and honors any roots.kb override in .aiwg/storage.config. On the default fs backend this is .aiwg/kb/. To redirect the KB to an Obsidian vault or other backend without changing this skill, configure .aiwg/storage.config (#934).
When this skill needs to resolve the root from inside a Bash step:
KB_ROOT=$(aiwg kb path)
# write a page through the adapter (preferred — honors all backends):
echo "# Foo" | aiwg kb put entities/foo.md
# or write directly to the resolved fs path (fs backend only):
echo "# Foo" > "$KB_ROOT/entities/foo.md"
Fortemi storage routing here is only a persistence backend choice. It is not the
Fortemi Core index/search backend used by aiwg index ... by default;
--backend local selects the legacy fallback. KB pages join that search cache
only after the artifact graph has been built and synced with aiwg index sync.
--dry-run (optional)Show what would be created or updated without writing files.
Using the source-summary template at $AIWG_ROOT/agentic/code/frameworks/knowledge-base/templates/source-summary.md:
Determine the slug: lowercase title, spaces to hyphens, strip punctuation.
Save to: <kb>/sources/<slug>.md
Scan the source content for:
For each identified item:
<kb>/entities/ or <kb>/concepts/.Use the entity-page template for discrete things. Use the concept-page template for ideas and techniques.
In the new source summary, populate the Connections section with [[wiki-links]] to pages touched.
In each touched entity/concept page, add the source to the Sources table.
KB Ingest complete
Source summary: .aiwg/kb/sources/article-slug.md
Pages created:
+ .aiwg/kb/entities/person-name.md
+ .aiwg/kb/concepts/technique-name.md
Pages updated:
~ .aiwg/kb/entities/existing-entity.md (added source)
Next steps:
- Review created pages and fill placeholder sections
- Run /kb-health to check for orphan pages
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
knowledge-base, note-taking, content-ingestion, source-summary
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./knowledge-base-quickrefAUTO-INVOKE when user mentions knowledge base, wiki, KB, semantic memory, llm-wiki, knowledge ingest, document corpus. Knowledge-base framework quick reference — discovery phrases for KB ingest/health, semantic-memory kernel skills, llm-wiki profiles.npx claudepluginhub jmagly/aiwg --plugin knowledge-baseOther plugins' skills for the same job