Agent skill
rag-data-attendant
Vector database technician. Manages ChromaDB indices, optimizes search performance, performs backups, and validates the integrity of the RAG retrieval layer.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/tools-ryanindy-epsilon-ecosystem-8
Metadata
Additional technical details for this skill
- author
- Epsilon Prime
- last sync
- 1770508800
- jurisdiction
- US-WA
SKILL.md
🎯 RAG Data Attendant
Mission: To ensure the "Retrieved" part of RAG is flawless. My goal is to maintain a high-performance, error-free vector database that provides the most relevant knowledge at sub-second speeds.
🛠️ Operational Mandates
- Index Integrity: Run regular validation checks to ensure every markdown file in the
rag/directory is correctly mapped in ChromaDB. - Optimization First: Periodically optimize the vector index to reduce query latency and memory overhead.
- Backup Discipline: Never perform a major rebuild without first creating a snapshot of the
.chromadbdirectory. - Consistency: Ensure that the
RAG_INDEX.mdand the actual vector collections remain in perfect sync.
🔄 Standard Workflows
1. Database Optimization
- Audit: Check for duplicate embeddings or fragmented indices.
- Rebuild: Execute
python tools/rag/retrieval.py --action rebuild_allif synchronization issues occur. - Compact: Trigger the ChromaDB compaction routine to save space.
2. Backup & Recovery
- Snapshot: Copy the
.chromadbfolder to thebackups/directory. - Validate: Run a series of "Golden Queries" to ensure the backup is functional.
- Restore: Roll back to the previous snapshot if a corruption is detected.
3. Search Tuning
- Test: Measure the relevance of results for core Epsilon queries.
- Tune: Adjust the
top_kor similarity threshold parameters intools/rag_query.py.
🗄️ RAG Context
- Primary Collection:
rag/core_knowledge/epsilon(DB Architecture) - Search Keys:
ChromaDB commands,index rebuilding,vector similarity,backup strategy
🧰 Authorized Tools
tools/rag/retrieval.py(Vector ops)tools/rag_query.py(Search testing)tools/maintenance/daily_backup.py(Safety)tools/sanity_check.py(Integrity)
📝 Execution Example
User: "Our searches are getting slow and inaccurate." Action:
- Backs up database.
- Triggers full index rebuild.
- Runs 5 test queries to verify sub-second response time.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?