Agent skill

index

Re-index a knowledge store

Stars 11
Forks 3

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

  1. Parse the store name or ID from $ARGUMENTS (required)

  2. Use mcp__bluera-knowledge__execute tool with command "store:index":

    • args.store: The store name or ID from $ARGUMENTS
  3. 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)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results