Agent skill
index
Re-index a knowledge store
Install this agent skill to your Project
npx add-skill https://github.com/blueraai/bluera-knowledge/tree/main/skills/index
SKILL.md
Re-index Knowledge Store
Re-index a knowledge store: $ARGUMENTS
Steps
-
Parse the store name or ID from $ARGUMENTS (required)
-
Use mcp__bluera-knowledge__execute tool with command "store:index":
- args.store: The store name or ID from $ARGUMENTS
-
Display results showing job ID for background indexing:
✓ Indexing store: react...
🔄 Indexing started in background
Job ID: job_def456ghi789
Check status with: /bluera-knowledge:check-status job_def456ghi789
Or view all jobs: /bluera-knowledge:check-status
When to Re-index
Re-index a store when:
- The source repository has been updated (for repo stores)
- Files have been added or modified (for file stores)
- You want to refresh embeddings with an updated model
- Search results seem out of date
Error Handling
If indexing fails:
✗ Failed to index store: [error message]
Common issues:
- Store name or ID not found - use /bluera-knowledge:stores to list available stores
- Source directory no longer exists (for file stores)
- Network issues pulling latest changes (for repo stores)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
when-to-query
When to use BK vs Grep/Read for current project
sync
Sync stores from definitions config (bootstrap on fresh clone)
ui
Launch the admin web UI to browse stores, search, and manage knowledge
stores
List all indexed library stores
test-plugin
Run comprehensive plugin validation test suite
search-optimization
Optimize BK search with intent, detail level, and store filtering
Didn't find tool you were looking for?