/rag-service:zeabur-rag-searchfrom rag-service
Searches a RAG knowledge base using hybrid (semantic + BM25) retrieval. Use when answering technical questions that may be covered in your knowledge base or to verify claims.
Ships in rag-service. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Search your knowledge base using hybrid retrieval (semantic + BM25 keyword).
Base URL: $ZEABUR_RAG_URL
Auth: Authorization: Bearer $RAG_API_KEY
curl -s -X POST "$ZEABUR_RAG_URL/api/query" \
-H "Authorization: Bearer $RAG_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "your question", "mode": "hybrid", "rag": false, "top_k": 5, "client": "claude-code"}'
| Parameter | Default | Description |
|---|---|---|
query | required | Search query (supports multilingual) |
mode | "hybrid" | "hybrid", "semantic", or keyword-only "bm25" |
top_k | 5 | Number of chunks to return |
rag | false | If true, also returns LLM-generated answer string |
keyword_weight | 0.25 | BM25 weight in hybrid mode |
semantic_weight | 0.75 | Semantic weight in hybrid mode |
rerank | false | If true, use an LLM to reorder a wider candidate pool |
rerank_pool_size | 30 | Candidate count considered when reranking |
decay | 180 | Temporal decay half-life in days (0 = off) |
stream | false | Stream the RAG answer (NDJSON) |
sources | key permissions | Optional source list, intersected with the API key's read permissions |
client | "api" | Caller identifier for analytics (e.g. "claude-code", "web-ui", "mcp") |
Always pass client: "claude-code" when calling from Claude Code so queries are trackable in the dashboard.
Response includes chunks[] (each with id, title, answer, tags, similarity (relevance score), source, verified) and signal_id for linking feedback. Score scales differ between BM25, hybrid RRF, and semantic modes, so do not compare values across modes.
rag: false when you only need raw chunks to read yourself — it's faster and cheaper.rag: true only when you want the service to generate a summarized answer.signal_id in the response can be passed to the feedback API to rate result quality.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
rag-search, hybrid-search, knowledge-base, semantic-search, bm25
npx claudepluginhub zeabur/rag-service --plugin rag-service9 skills in this plugin
/zeabur-rag-curateInteractive knowledge base curation loop — reviews pending items (reports, unverified chunks, failed queries, negative feedback) and walks through fixes one by one. Use when asked to "maintain the knowledge base", "review pending items", "run a curation round", "process reports", "clean up the KB", or any request to improve KB quality. This is the main entry point for the expand → organize → reflect cycle, and requires admin scope./zeabur-rag-editEdit the content of an existing chunk in the RAG knowledge base. Use when a chunk has a typo, outdated info, wrong tags or status, or needs its title/question/answer rewritten. Requires admin scope. Prefer zeabur-rag-report for surfacing issues without write access./zeabur-rag-Other plugins' skills for the same job