/rag-service:zeabur-rag-feedbackfrom rag-service
Sends thumbs-up or thumbs-down feedback on RAG search results to improve knowledge base quality. Use after evaluating search result relevance.
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.
Send feedback on search results to improve knowledge base quality over time.
Base URL: $ZEABUR_RAG_URL
Auth: Authorization: Bearer $RAG_API_KEY
curl -s -X POST "$ZEABUR_RAG_URL/api/feedback" \
-H "Authorization: Bearer $RAG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "how to deploy to zeabur",
"answer": "the generated answer text",
"chunks": ["DOC-1234", "KB-5678"],
"score": 1,
"signal_id": "optional-signal-id",
"comment": "optional explanation"
}'
| Field | Required | Description |
|---|---|---|
query | Yes | The original search query |
answer | No | The generated RAG answer |
chunks | No | Array of chunk IDs that were returned |
score | Yes | 1 (helpful) or -1 (not helpful) |
signal_id | No | Signal ID from the search response — links feedback to the specific query signal |
comment | No | Free-text explanation of why the result was good or bad |
| Situation | Score |
|---|---|
| Answer correctly addressed the question | 1 |
| Retrieved chunks were relevant and accurate | 1 |
| Answer was wrong, incomplete, or misleading | -1 |
| Retrieved chunks were irrelevant to the query | -1 |
| No useful results were returned | -1 |
signal_id is provided, the feedback score is written back to the rag_query_signals table, linking it to the original query for analytics.data/user-feedback.jsonl as a backup log.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
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-inspectView a single chunk's full content plus related reports, search signals, and edit history. Use before editing, when investigating why a result appeared, or when reviewing a reported issue. Requires admin scope./zeabur-rag-learnContribute new verified knowledge to the RAG knowledge base. Use after you've solved a concrete problem, debugged a non-obvious issue, or discovered undocumented behavior that would help future agents — but only after calling zeabur-rag-search first to confirm the knowledge isn't already covered. Only contribute verified facts, not guesses or workarounds. The new chunk is marked unverified until an admin reviews it./zeabur-rag-reportReport knowledge issues (outdated, incorrect, or missing content) in the RAG knowledge base. Use when search results seem outdated or wrong, when a topic should be covered but isn't found, or when a chunk contains incorrect information. This helps maintain knowledge base quality./zeabur-rag-searchSearch the RAG knowledge base via hybrid search (semantic + BM25). Use whenever answering technical questions that may be covered in your knowledge base — even if the user doesn't explicitly ask you to search. Also use when you need to verify claims or find up-to-date information.