Organize knowledge base intake files — analyze content, assign lifecycle/domain tags, generate YAML frontmatter, move to destination folders. Use when user triggers AI Librarian from KB UI or CLI. Triggers on requests like "organize knowledge base intake files with AI Librarian", "run AI Librarian", "organize intake".
AI Agents follow this skill to organize knowledge base intake files by:
.intake/ folderBLOCKING: Process ALL pending files in one batch. Do not prompt for file selection.
BLOCKING: Respect pre-assigned destinations from the UI. Only use AI folder selection for files without a destination.
CRITICAL: Non-markdown files (PDF, images, etc.) are moved and status-tracked but do NOT receive frontmatter injection.
CRITICAL: Existing frontmatter in markdown files MUST be preserved. Only merge missing fields — never overwrite existing values.
The KB AI Librarian automates the organization of files dropped into the knowledge base intake folder. When a user clicks "✨ Run AI Librarian" in the KB Browse Modal or triggers the command via CLI, this skill processes all pending intake files: analyzing their content, assigning appropriate tags from the project's tag taxonomy, generating metadata index entries for ALL file types, and moving them to the correct destination folder.
Key Concepts:
.intake/ directory under the KB root where new files are dropped for processing.intake-status.json: pending → processing → filedknowledgebase-config.json.kb-index.json registry storing metadata (title, description, tags, author, type) for ALL file types (replaces YAML frontmatter)