Agent skill
weaviate-rag
Implement RAG systems using Weaviate vector database. Use when building semantic search, document retrieval, or knowledge base systems.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/weaviate-rag
SKILL.md
Weaviate RAG Configuration Skill
Configure MoodleNRW RAG system with Weaviate vector store.
Trigger
- RAG system setup or troubleshooting
- Vector store configuration
- Document embedding requests
Running Services
- Weaviate HTTP:
localhost:8095 - Weaviate gRPC:
localhost:50055 - Chainlit UI:
localhost:8000
Server Paths
- RAG System:
/opt/cloodle/tools/ai/multi_agent_rag_system/ - Chatbot:
/opt/cloodle/tools/ai/moodle-chatbot/
Weaviate Client Configuration
import weaviate
client = weaviate.Client(
url="http://localhost:8095",
additional_headers={
"X-OpenAI-Api-Key": os.getenv("OPENAI_API_KEY", "")
}
)
Docker Commands
# Start Weaviate
cd /opt/cloodle/tools/ai/multi_agent_rag_system
docker-compose up -d
# Check status
docker ps | grep weaviate
# View logs
docker logs multi_agent_rag_system_weaviate_1
Schema Creation
schema = {
"class": "MoodleDocument",
"vectorizer": "text2vec-transformers",
"properties": [
{"name": "content", "dataType": ["text"]},
{"name": "source", "dataType": ["string"]},
{"name": "course_id", "dataType": ["int"]}
]
}
client.schema.create_class(schema)
Embedding Models (Local)
| Model | Dimensions | Best For |
|---|---|---|
| nomic-embed-text | 768 | General purpose |
| bge-m3 | 1024 | Multilingual |
| mxbai-embed-large | 1024 | High quality |
Start Chainlit
cd /opt/cloodle/tools/ai/multi_agent_rag_system
source .venv/bin/activate
chainlit run app.py
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?