kb-ingest-bulk

Ingest large source sets into a knowledge base using a map-reduce workflow.

41|6|Updated Jul 12, 2025
One-click install
npx skills add https://github.com/SteveGJones/ai-first-sdlc-practices --skill kb-ingest-bulk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb-ingest-bulk
Source: https://github.com/SteveGJones/ai-first-sdlc-practices/tree/main/plugins/sdlc-knowledge-base/skills/kb-ingest-bulk
Command: npx skills add https://github.com/SteveGJones/ai-first-sdlc-practices --skill kb-ingest-bulk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Load bulk knowledge-base sources into the repository using a map-reduce workflow that coordinates extraction, routing, and synthesis. It enables resumable progress and handles large datasets across multiple libraries.

Core Features & Use Cases

  • Parallel map phase dispatches knowledge-extractor agents for each source
  • Route phase reads extracts and assigns targets based on existing library structure
  • Reduce phase runs one knowledge-updater per target file to produce consolidated outputs
  • Finalize phase rebuilds the shelf-index and logs the run details
  • Resumable: supports retrying failed sources and continuing interrupted runs

Quick Start

Provide the sources to ingest (glob, dir, or file-list) and allow the system to orchestrate map, route, reduce, and finalize phases.

Frequently Asked Questions about kb-ingest-bulk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ingest large datasets into a knowledge base using a map-reduce workflow?

You can ingest large datasets by orchestrating a four-phase map-reduce workflow: parallel extraction, Python-based routing, per-file reduction, and shelf-index finalization. This coordinates extraction and synthesis across multiple libraries while maintaining resumable progress.

What is the best way to handle bulk knowledge-base extraction failures for large source sets?

Handling bulk extraction failures is managed through resumable processing. The workflow supports retrying failed sources and continuing interrupted runs, maintaining a manifest and shelf index to track progress across large datasets without restarting from scratch.

How does routing work when ingesting multiple files into a knowledge base?

Routing works by reading parallel extracts and assigning them to targets based on the existing library structure. A Python-based routing phase evaluates the extracted content and directs it to the appropriate per-file writers during the reduce phase.

Can I process many sources in parallel for knowledge-base ingestion without external dependencies?

Yes, you can process many sources in parallel. The map phase dispatches knowledge-extractor agents for each source simultaneously, and the workflow operates with no external dependencies, using preflight validations to ensure data integrity before processing begins.

When do I need a map-reduce workflow for knowledge-base data processing?

A map-reduce workflow is needed when loading bulk knowledge-base sources that require coordinated extraction, routing, and synthesis across large datasets. It enables parallel processing, per-file consolidation, and resumable progress for interrupted or failed operations.

What are the limitations of using a map-reduce workflow for bulk knowledge-base ingestion?

Limitations include processing overhead from orchestrating four distinct phases and the need for preflight validations. While it retries failed items, interrupted runs require resuming via the manifest, and routing depends on existing library structure alignment.