Lightning-fast BM25 full-text search for files
Lightning-fast full-text search using BM25 ranking for large document collections. Use when searching knowledge bases, notes, or code with instant indexing via glob patterns and multi-index queries with merge strategies.
/plugin marketplace add dnvriend/bm25-index-tool/plugin install dnvriend-bm25-index-tool-plugins-bm25-index-tool@dnvriend/bm25-index-toolThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill provides comprehensive access to bm25-index-tool, a production-ready CLI for lightning-fast full-text search using the BM25 ranking algorithm. Designed for AI agents and developers who need powerful search with minimal setup.
Core Capabilities:
Use this skill when:
Do NOT use this skill for:
The bm25-index-tool provides lightning-fast BM25 search with advanced features like multi-index queries, path filtering, related documents, and comprehensive history tracking.
# Clone and install
git clone https://github.com/dnvriend/bm25-index-tool.git
cd bm25-index-tool
uv tool install .
# Create an index from markdown files
bm25-index-tool create vault --pattern "~/vault/**/*.md"
# Search the index
bm25-index-tool query vault "kubernetes networking"
# Search with JSON output (AI agent friendly)
bm25-index-tool query vault "docker" --format json
# Get comprehensive help with examples
bm25-index-tool query --help # Shows 20+ examples
Display help information for CLI commands.
Usage:
bm25-index-tool --help
bm25-index-tool COMMAND --help
Examples:
# General help
bm25-index-tool --help
# Command help
bm25-index-tool command --help
# Version info
bm25-index-tool --version
</details>
<details>
<summary><strong>⚙️ Advanced Features (Click to expand)</strong></summary>
<!-- TODO: Add advanced features documentation -->
Control logging detail with progressive verbosity levels. All logs output to stderr.
Logging Levels:
| Flag | Level | Output | Use Case |
|---|---|---|---|
| (none) | WARNING | Errors and warnings only | Production, quiet mode |
-v | INFO | + High-level operations | Normal debugging |
-vv | DEBUG | + Detailed info, full tracebacks | Development, troubleshooting |
-vvv | TRACE | + Library internals | Deep debugging |
Examples:
# INFO level - see operations
bm25-index-tool command -v
# DEBUG level - see detailed info
bm25-index-tool command -vv
# TRACE level - see all internals
bm25-index-tool command -vvv
Native shell completion for bash, zsh, and fish.
Installation:
# Bash (add to ~/.bashrc)
eval "$(bm25-index-tool completion bash)"
# Zsh (add to ~/.zshrc)
eval "$(bm25-index-tool completion zsh)"
# Fish (save to completions)
bm25-index-tool completion fish > ~/.config/fish/completions/bm25-index-tool.fish
Compose commands with Unix pipes for powerful workflows.
Examples:
# Example pipeline workflows will be added when CLI commands are implemented
bm25-index-tool command --json | jq '.'
</details>
<details>
<summary><strong>🔧 Troubleshooting (Click to expand)</strong></summary>
Issue: Command not found
# Verify installation
bm25-index-tool --version
# Reinstall if needed
cd bm25-index-tool
uv tool install . --reinstall
<!-- TODO: Add command-specific troubleshooting when functionality is known -->
Issue: General errors
-vv to see detailed error information# Show help
bm25-index-tool --help
# Command-specific help
bm25-index-tool COMMAND --help
</details>
0: Success1: Client error (invalid arguments, validation failed)2: Server error (API error, network issue)3: Network error (connection failed, timeout)Default Output:
JSON Output (--json flag):
-v, increase to -vv/-vvv only if needed--help to understand command options