用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/JohnNuwan/EVA_CORE --skill rag-stack命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | rag-stack |
| description | Stack RAG complet avec ChromaDB + HippoRAG 2 pour la base de connaissances EVA |
| category | data-science |
Stack RAG (Retrieval-Augmented Generation) avec ChromaDB + embeddings sentence-transformers + HippoRAG 2 reranking.
~/rag-stack/
├── server.py # API Flask sur :8083
├── indexer.py # Indexation skills + wiki + monitoring
├── embedder.py # Embeddings Sentence Transformers + cache
├── query.sh # CLI pour interroger l'API (pour subagents EVA)
├── start.sh # Démarrage du serveur
├── install.sh # Installation des dépendances
├── chroma_db/ # Base vectorielle persistée (~88 Mo)
├── .embed_cache/ # Cache des embeddings (~39 Mo)
├── templates/search.html
├── static/{style.css, script.js}
└── HippoRAG/ # Source cloné OSU-NLP-Group/HippoRAG
| Endpoint | Méthode | Description |
|---|---|---|
/api/rag/stats | GET | Stats : nb chunks, par source, taille DB |
/api/rag/search | POST | Recherche vectorielle → top N chunks |
/api/rag/query | POST | Question → réponse LLM + contexte avec reranking |
/api/rag/reindex | GET | Réindexation complète asynchrone |
{"query": "OPC UA configuration", "top_k": 5, "source": "skill"}
{"query": "Comment configurer OPC UA ?", "top_k": 5, "use_llm": true}
# Démarrer le serveur
cd ~/rag-stack && bash start.sh
# Interroger (CLI)
./query.sh "Comment faire du SSRF ?"
./query.sh --search "PLC Siemens S7"
./query.sh --stats
# Via curl pour les subagents
curl -X POST http://192.168.1.5:8083/api/rag/search \
-H "Content-Type: application/json" \
-d '{"query":"attaque JWT","top_k":3}'
GET /api/rag/reindex ou python3 indexer.py --recreate