semantic-searchclear
Use when you want to wipe all indexed data and start fresh
When & Why to Use This Skill
This Claude skill provides a specialized utility to completely wipe all indexed data from a semantic search database. It serves as a critical maintenance tool for managing retrieval-augmented generation (RAG) systems, allowing users to reset their search environment, resolve indexing errors, and ensure that the AI agent operates on a clean, updated knowledge base.
Use Cases
- Data Refresh: Clearing out obsolete or outdated information before performing a full reindex to ensure search results are current and accurate.
- Troubleshooting & Debugging: Resolving search relevancy issues or database corruption by wiping the existing index and starting the ingestion process from scratch.
- Privacy and Compliance: Securely removing all indexed content from the system to meet data retention policies or to purge sensitive information.
- Environment Reset: Preparing a development or staging environment for new testing cycles by returning the semantic search index to a baseline empty state.
| name | semantic-search:clear |
|---|---|
| description | Use when you want to wipe all indexed data and start fresh |
Clear Index
Wipe all indexed data from the database.
Action
- Warn the user this will delete all indexed data
- Call
mcp__semantic-search__clear_indextool - Confirm the index has been cleared
- Remind them to run
/semantic-search:reindexto rebuild