kb-import

Convert Markdown, PDF, DOCX, and text files into structured KB entries with YAML frontmatter.

95|2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/techwolf-ai/ai-first-toolkit --skill kb-import
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb-import
Source: https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/kb-import
Command: npx skills add https://github.com/techwolf-ai/ai-first-toolkit --skill kb-import

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The KB Import skill converts unstructured documents into structured knowledge-base entries by extracting key information and formatting them with YAML frontmatter.

Core Features & Use Cases

  • Import single documents into a new KB entry or bulk-import multiple files into a categorized set of entries.
  • Generate YAML frontmatter for each entry including title, description, category, tags, and sources.
  • Validate and update an index to maintain searchable, consistent knowledge across the repository.

Quick Start

Provide a source document or a folder of documents to automatically generate structured KB entries with YAML frontmatter.

Frequently Asked Questions about kb-import

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

FAQPage Schema
How do I convert unstructured documents into structured knowledge-base entries?

To convert unstructured documents into structured knowledge-base entries, you provide source files like Markdown, PDF, DOCX, or plain text. The tool extracts key information and automatically formats each entry with consistent YAML frontmatter metadata.

Can I bulk-import multiple files into a categorized knowledge base?

Yes, you can bulk-import multiple files into a categorized set of knowledge-base entries. The tool processes folders of documents in bulk mode while enforcing category assignment and indexing rules to maintain searchable, consistent outputs.

Does the KB import tool work with PDF and DOCX sources?

Yes, the KB import tool works directly with PDF and DOCX sources. It handles these formats alongside Markdown and plain text, extracting content to generate structured knowledge-base entries with required YAML frontmatter.

What is the best way to generate YAML frontmatter for imported markdown documents?

The best way to generate YAML frontmatter for imported markdown documents is using an automated indexing tool. It enforces frontmatter structure by automatically generating fields for title, description, category, tags, and sources.

How does knowledge-base indexing maintain searchable metadata across imported entries?

Knowledge-base indexing maintains searchable metadata by validating and updating a central index after each import. This enforces consistent frontmatter structure and category assignment across all entries, ensuring the repository remains fully searchable.

Are there limitations when processing plain text sources for knowledge-base entry generation?

Processing plain text sources for knowledge-base entry generation requires adherence to defined indexing rules. While the tool extracts key information from unstructured plain text, heavily formatted or non-textual elements within files may not convert into structured YAML frontmatter accurately.