kb-reindex

Build or incrementally update a LanceDB semantic search index over markdown KB files.

2|2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/mathiasbourgoin/roster --skill kb-reindex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb-reindex
Source: https://github.com/mathiasbourgoin/roster/tree/main/.opencode/skills/kb-reindex
Command: npx skills add https://github.com/mathiasbourgoin/roster --skill kb-reindex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the tedious, error-prone manual work of building and maintaining semantic search indexes for project knowledge bases (KB), enabling fast, accurate semantic search over markdown KB files without constant manual intervention.

Core Features & Use Cases

  • Opt-in Cold Start Indexing: Build a full LanceDB semantic search index from all markdown files in your project's kb/ directory in one go, automatically excluding operational report files and the index directory itself.
  • Incremental Index Updates: Only re-index changed or deleted KB files to save time, avoiding full rebuilds for small edits to existing documentation.
  • Configurable Embedding & Chunking: Use your preferred embedding model and chunking strategy (by section or fixed character length) to tailor the index to your specific KB content and search needs.
  • Use Case: A product team with hundreds of markdown KB files can run this Skill to instantly enable semantic search across their entire knowledge base, and keep the index up to date as docs are edited without manual rework.

Quick Start

Use the kb-reindex skill to build a full semantic search index for all files in your project's kb/ directory, or update the existing index with only the files you've changed recently.

Frequently Asked Questions about kb-reindex

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

FAQPage Schema
How do I build a semantic search index for my project knowledge base?

To build a semantic search index for your project knowledge base, use this Skill to scan your kb/ directory and generate a LanceDB vector index from all markdown documentation files in one go.

Can I incrementally update a vector index when markdown files change?

Yes, you can incrementally update a vector index. The Skill detects changed or deleted markdown files in your knowledge base and only re-indexes those specific files to save time.

Does semantic search indexing override my original markdown documentation?

No, semantic search indexing does not override your original markdown documentation. The LanceDB index acts as a non-intrusive search cache, keeping markdown files as the source of truth.

Can I configure the embedding model and chunking strategy for my knowledge base index?

Yes, you can configure the embedding model and chunking strategy for your knowledge base index. The Skill supports tailoring chunking by section or fixed character length to fit your search needs.

What is the best way to exclude operational files from a knowledge base vector index?

The best way to exclude operational files from a knowledge base vector index is using the Skill's built-in exclusion rules, which automatically skip operational report files and the index directory itself during cold start indexing.