/sdlc-knowledge-base:kb-ingest <source-path-or-url-or-text>from sdlc-knowledge-base
Ingests a new source (file, URL, or pasted text) into the project knowledge base by dispatching the agent-knowledge-updater agent for classification, surgical updates, and index rebuild.
Ships in sdlc-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.
Take a new source and integrate it into the project's knowledge base. This is the ingest operation in the three-operations model (ingest / query / lint).
A source. Can be:
library/raw/some-paper.md, ~/Downloads/dora-2024.pdfhttps://example.com/research-report<long pasted excerpt>[Knowledge Base] section in CLAUDE.md exists). If not, run /sdlc-knowledge-base:kb-init first.agent-knowledge-updater agent is available (sdlc-knowledge-base plugin is installed).If the argument is a file path: verify the file exists and is readable. If the argument is a URL: prepare for WebFetch (the agent will fetch). If the argument is pasted text: capture it for the agent.
If the source is a URL or a path outside library/raw/, recommend (but don't require) saving a local copy to library/raw/ for provenance:
Source is at <url>. Recommended: save a local copy to library/raw/<descriptive-name>.md before ingesting so provenance is preserved. Continue with direct fetch? (y/N)
If the user accepts, proceed with WebFetch in the agent. If they want to save locally first, pause and let them.
Dispatch the agent-knowledge-updater agent with the source as input. The agent's workflow:
The updater is opinionated about what belongs in the knowledge base. If it determines the source belongs elsewhere (operational knowledge → CONTRIBUTING.md, ADRs, project tracker, auto-memory), it will say so and not ingest. Respect that decision.
Print the agent's summary:
Ingest complete: <source>
Files updated: N
Files created: M
Findings extracted: K
Citations added: J
Index rebuilt: yes
Log entry: yes (or skipped if no log.md)
Next steps (if any): <e.g., "Review the new file X for accuracy">
If the agent declined to ingest, print its rationale and the recommended destination if it provided one.
/sdlc-knowledge-base:kb-query/sdlc-knowledge-base:kb-lint/sdlc-knowledge-base:kb-validate-citationsIngest a local academic paper:
/sdlc-knowledge-base:kb-ingest library/raw/forsgren-2024-cycle-time-update.md
Ingest from a URL:
/sdlc-knowledge-base:kb-ingest https://cloud.google.com/devops/state-of-devops/2024
Ingest pasted text (e.g., a conversation excerpt with research findings):
/sdlc-knowledge-base:kb-ingest "<paste the excerpt here>"
/sdlc-knowledge-base:kb-init firstsdlc-knowledge-base@ai-first-sdlcWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
knowledge-base, ingest, document-management, agent-integration
16 skills in this plugin
/kb-audit-queryFilter and summarise the cross-library KB audit log. Reports confidentiality events (attribution drops, synthesis aborts, dispatcher failures, no-evidence markers, cross-library promotions) over a date range, by event type, and by source handle./kb-ingest-batchDrive agent-knowledge-updater over a batch of staged files in library/raw/. Tracks progress in .batch-progress.json for resume support. Sequential by default; --parallel <N> opt-in (max 5). Single shelf-index rebuild and one consolidated log.md entry at the end./kb-ingest-bulkParallel map-reduce bulk ingest for large source sets. Map phase dispatches read-only knowledge-extractor agents (≤N-wide, default Haiku) emitting per-source JSON extracts; Python routes extracts by target library file (fuzzy-merging new topics, pre-allocating new files, flagging oversized topics); reduce phase dispatches one agent-knowledge-updater per file (parallel, one writer per file); single shelf-index rebuild + one log.md entry. Resumable. Supersedes kb-ingest-batch./kb-initInitialise a project for knowledge base use. Appends the [Knowledge Base] section to the project's CLAUDE.md, creates the library/ directory structure, optionally seeds with three example library files from the Agentic SDLC research, and reports next steps. Run once after installing sdlc-knowledge-base./kb-layersManage the project's layer vocabulary — list allowed layers with file counts, add new layers, or safely remove unused layers. Reads the shelf-index for usage data; writes CLAUDE.md atomically. No agent dispatch./kb-lintHealth-check the project knowledge base. Looks for contradictions between files, stale claims that newer sources have superseded, orphan files with no inbound cross-references, important concepts mentioned but lacking their own page, missing cross-references, and data gaps. Returns a structured report; does not auto-fix.npx claudepluginhub stevegjones/ai-first-sdlc-practices --plugin sdlc-knowledge-baseOther plugins' skills for the same job