/rag-service:zeabur-rag-triagefrom rag-service
Lists pending knowledge base maintenance items: open reports, unverified learned chunks, low-score queries, and negative feedback. Use for KB health checks and curation sessions.
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.
Show what needs attention in the knowledge base. Returns 5 categories of pending items in a single call.
Base URL: $ZEABUR_RAG_URL
Auth: Authorization: Bearer $RAG_API_KEY — admin scope required
curl -s "$ZEABUR_RAG_URL/api/admin/triage?days=14&similarity_threshold=0.4&limit=20" \
-H "Authorization: Bearer $RAG_API_KEY"
| Param | Default | Description |
|---|---|---|
days | 14 | Time window for signals (reports and learned have no time window) |
similarity_threshold | 0.4 | Queries with top_similarity below this are flagged. Note: in hybrid mode (RRF), scores are ~0–0.02 so the default 0.4 catches all hybrid queries. Adjust to ~0.005 for meaningful hybrid-mode filtering. |
limit | 20 | Max items per category |
Returns JSON with 5 arrays + counts (true totals, not truncated) + has_more (boolean per category):
open_reports — reports with status='open', no time window. Fields: id, type, chunk_id, query, detail, created_at.unverified_learned — learned chunks with status='unverified', no time window. Fields: id, title, tags, created_at, age_days.low_similarity_signals — queries where the top score fell below the threshold, within the time window, deduped by query text. The score is RRF in hybrid mode (~0–0.02) or cosine in semantic mode (0–1). Fields: id, query, top_similarity, top_chunk_ids, client, created_at.negative_feedback_signals — queries that got negative user feedback, within the time window. Fields: id, query, feedback_score, feedback_comment, top_chunk_ids, created_at.needs_frontmatter — chunks whose tags include "needs-frontmatter", meaning they were ingested from a source file that lacks proper frontmatter and got a temporary ID. Fields: id, title, tags, url, source, created_at.If a category query fails, its array is empty and a <category>_error field appears with the error message.
zeabur-rag-inspect with the chunk ID.zeabur-rag-curate.If every count is 0, the knowledge base has no pending maintenance. Report: "The knowledge base has no pending items — looks healthy ✅"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-feedbackSend feedback on RAG search results — thumbs-up (+1) or thumbs-down (-1) to indicate whether the answer was helpful. Use after calling zeabur-rag-search when you can evaluate the quality of the results. Positive feedback reinforces good results; negative feedback flags poor matches for review. Requires write:feedback scope./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.Other plugins' skills for the same job