kb-import

Solid

Import knowledge from existing documents into structured KB entries. Reads source documents (Markdown, PDF, DOCX, plain text), extracts key information, and creates properly formatted KB entries with YAML frontmatter.

Data & Documents 106 stars 5 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
68
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# KB Import Workflow Import knowledge from existing documents into your knowledge base. ## When to Use - Adding knowledge from existing documentation - Converting unstructured docs into structured KB entries - Bulk-importing content into a new KB ## Modes - **Single-document mode** (default): one source document is split into one or more KB entries. Use Steps 1 to 6 below. - **Bulk mode**: many source documents are ingested at once from a directory or a list of files. Use when the user points at a folder or provides a list longer than ~3 files. See [Bulk Mode](#bulk-mode) at the bottom. ## Step 1: Understand the KB Structure Read the KB config to understand available categories: ``` kb/.kb-config.yaml ``` Read the index to see what already exists: ``` kb/index.md ``` ## Step 2: Read the Source Document Read the source file provided by the user. Supported formats: - Markdown (.md) - PDF (.pdf, use the Read tool with page ranges for large files) - Plain text (.txt) ## Step 3: Plan the Extraction Analyze the document and propose a plan to the user: 1. How many KB entries should be created? 2. What categories do they belong to? 3. Suggested titles for each entry Present this as a table: ``` | # | Title | Category | Source Section | |---|-------|----------|---------------| | 1 | ... | ... | ... | ``` Wait for user confirmation before proceeding. ## Step 4: Create KB Entries For each planned entry, create a markdown file with YAML frontmatter: ```markdown --- titl...

Details

Author
techwolf-ai
Repository
techwolf-ai/ai-first-toolkit
Created
7 months ago
Last Updated
4 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category