Chroma Vector Database
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
A skill your agent uses when the user has a RAG (Retrieval-Augmented Generation) system and wants to evaluate its quality — separating retrieval issues from generation issues.
$ npx skills add agentscope-ai/OpenJudge --skill rag-eval -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install agentscope-ai/OpenJudge rag-eval --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/agentscope-ai/OpenJudge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/eval_pipeline/05-rag-eval .claude/skills/rag-eval && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "rag-eval" agent skill from https://github.com/agentscope-ai/OpenJudge/tree/main/skills/eval_pipeline/05-rag-eval into .claude/skills/rag-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-eval", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/agentscope-ai/OpenJudge/tree/main/skills/eval_pipeline/05-rag-evalType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add agentscope-ai/OpenJudge --skill rag-eval -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install agentscope-ai/OpenJudge rag-eval --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/OpenJudge.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/eval_pipeline/05-rag-eval .agents/skills/rag-eval && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rag-eval" agent skill from https://github.com/agentscope-ai/OpenJudge/tree/main/skills/eval_pipeline/05-rag-eval into .agents/skills/rag-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-eval", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agentscope-ai/OpenJudge --skill rag-eval -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install agentscope-ai/OpenJudge rag-eval --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/OpenJudge.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/eval_pipeline/05-rag-eval .cursor/skills/rag-eval && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "rag-eval" agent skill from https://github.com/agentscope-ai/OpenJudge/tree/main/skills/eval_pipeline/05-rag-eval into .cursor/skills/rag-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-eval", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/agentscope-ai/OpenJudge.git --path skills/eval_pipeline/05-rag-eval--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add agentscope-ai/OpenJudge --skill rag-eval -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install agentscope-ai/OpenJudge rag-eval --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/OpenJudge.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/eval_pipeline/05-rag-eval .gemini/skills/rag-eval && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "rag-eval" agent skill from https://github.com/agentscope-ai/OpenJudge/tree/main/skills/eval_pipeline/05-rag-eval into .gemini/skills/rag-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-eval", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install agentscope-ai/OpenJudge rag-evalInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add agentscope-ai/OpenJudge --skill rag-eval -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/agentscope-ai/OpenJudge.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/eval_pipeline/05-rag-eval .github/skills/rag-eval && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "rag-eval" agent skill from https://github.com/agentscope-ai/OpenJudge/tree/main/skills/eval_pipeline/05-rag-eval into .github/skills/rag-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-eval", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agentscope-ai/OpenJudge --skill rag-eval -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install agentscope-ai/OpenJudge rag-eval --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/OpenJudge.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/eval_pipeline/05-rag-eval .opencode/skills/rag-eval && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "rag-eval" agent skill from https://github.com/agentscope-ai/OpenJudge/tree/main/skills/eval_pipeline/05-rag-eval into .opencode/skills/rag-eval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-eval", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
rag-evalA skill your agent uses when the user has a RAG (Retrieval-Augmented Generation) system and wants to evaluate its quality — separating retrieval issues from generation issues.
RAG Eval is an agent skill from agentscope-ai/OpenJudge. Use when the user has a RAG (Retrieval-Augmented Generation) system and wants to evaluate its quality — separating retrieval issues from generation issues. Also use when the user mentions RAG evaluation, faithfulness checking, hallucination detection in RAG, retrieval quality, chunking optimization, or "is my RAG pipeline working." Outputs a diagnostic matrix that pinpoints whether problems are in retrieval or generation.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/rag_diagnostic.py`).
It sits in AI & LLM Engineering, covering Retrieval-augmented generation. The repository describes itself as: OpenJudge: A Unified Framework for Holistic Evaluation and Quality Rewards. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d1e0642. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
RAG Eval loads about 2.4k tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 679 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from agentscope-ai/OpenJudge at commit d1e0642, republished under its Apache-2.0 licence (© agentscope-ai). 679 words, ~2,402 tokens.
.claude/skills/rag-eval/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Evaluate RAG systems by diagnosing retrieval and generation separately. A single "RAG accuracy" number hides whether the problem is finding the right documents or using them correctly. This skill separates them so you know what to fix.
You MUST create a task for each item and complete them in order:
Once each trace has a faithfulness judgment (and ideally a retrieval signal), build the
retrieval-vs-generation diagnostic matrix with the bundled, tested script
(scripts/rag_diagnostic.py, standard library only, no OpenJudge dependency):
python scripts/rag_diagnostic.py --traces traces.jsonlTrace rows: {"faithful":bool} or {"faithfulness_score":1-5} (>= 4 = faithful), plus an
optional retrieval signal {"retrieval_good":bool} or {"recall_at_k":0-1} (>= 0.5 = good).
It prints the generation faithful/hallucinating split, the 2×2 matrix when a retrieval signal
is present, and the primary issue (retrieval vs generation). --self-test to verify it.
Steps below explain how to separate the layers and produce the faithfulness/retrieval signals (with OpenJudge graders or any judge).
The minimum data needed per trace:
# Each trace must contain:
trace = {
"query": "What is the return policy?",
# retrieved_docs are dicts with id + text (the id is required for retrieval
# metrics like Recall@k; the text is required for the faithfulness check).
"retrieved_docs": [
{"id": "doc_1", "text": "Returns are accepted within 30 days..."},
{"id": "doc_2", "text": "Refunds are issued to the original..."},
],
"answer": "You can return items within 30 days for a full refund.",
"reference_answer": "Our 30-day return policy allows full refunds.", # optional
"gold_doc_ids": ["doc_1", "doc_3"], # optional — which docs should have been retrieved
}If your traces only have raw strings (no ids), wrap them first so retrieval metrics work:
retrieved_docs = [{"id": f"d{i}", "text": t} for i, t in enumerate(raw_strings)].
Validate data completeness and report any gaps. If > 20% of traces are missing key fields, ask the user to confirm the schema before proceeding.
RAG failures come from two independent sources:
| Source | What goes wrong | Metric to use |
|---|---|---|
| Retrieval | Wrong/missing documents returned | Recall@k, Precision@k, MRR |
| Generation | Model misuses or fabricates beyond docs | Faithfulness (HallucinationGrader) |
| Generation | Answer doesn't address the query | Relevance (RelevanceGrader) |
Why separate them? A system with perfect retrieval but poor generation needs prompt engineering. A system with poor retrieval needs chunking/embedding work. Treating them as one problem wastes effort.
Use OpenJudge HallucinationGrader to check if the answer stays grounded in
retrieved documents:
from openjudge.graders.common.hallucination import HallucinationGrader
from openjudge.runner.grading_runner import GradingRunner
faithfulness_grader = HallucinationGrader(model=model)
runner = GradingRunner(
grader_configs={"faithfulness": faithfulness_grader},
max_concurrency=8,
)
# Dataset format for HallucinationGrader
dataset = [
{
"query": trace["query"],
"response": trace["answer"],
"context": "\n\n".join(doc["text"] for doc in trace["retrieved_docs"]),
}
for trace in traces
]
results = await runner.arun(dataset)
# HallucinationGrader scores 1-5 (5 = no hallucination, fully grounded)
# Binarize: score >= 4 → faithful, score < 4 → hallucinationAlso evaluate answer relevance — does the response actually address the query?
from openjudge.graders.common.relevance import RelevanceGrader
relevance_grader = RelevanceGrader(model=model)If gold_doc_ids are available, compute retrieval metrics:
def recall_at_k(retrieved_docs, gold_ids, k=5):
"""Fraction of gold docs found in top-k retrieved docs."""
retrieved_ids = set(doc["id"] for doc in retrieved_docs[:k])
gold_set = set(gold_ids)
if not gold_set:
return None
return len(retrieved_ids & gold_set) / len(gold_set)
def precision_at_k(retrieved_docs, gold_ids, k=5):
"""Fraction of top-k docs that are relevant."""
retrieved_ids = set(doc["id"] for doc in retrieved_docs[:k])
gold_set = set(gold_ids)
if not retrieved_ids:
return 0
return len(retrieved_ids & gold_set) / len(retrieved_ids)
def mrr(retrieved_docs, gold_ids):
"""Mean Reciprocal Rank — how early the first relevant doc appears."""
for i, doc in enumerate(retrieved_docs):
if doc["id"] in gold_ids:
return 1 / (i + 1)
return 0If gold_doc_ids are NOT available, use a semantic relevance judge as a proxy: check whether each retrieved doc is semantically related to the query.
If retrieval is the bottleneck, try a grid search over chunk size and overlap:
chunk_configs = [
{"chunk_size": 256, "overlap": 32},
{"chunk_size": 512, "overlap": 64},
{"chunk_size": 1024, "overlap": 128},
{"chunk_size": 512, "overlap": 128},
]
for config in chunk_configs:
# Re-chunk, re-embed, re-retrieve, compute Recall@5
...The most valuable output — cross-tabulate retrieval vs generation results:
Generation: Faithful Generation: Hallucinating
Retrieval: Good ████████ 62% ██ 10%
(system works) (generator problem)
Retrieval: Poor █ 8% ██████ 20%
(lucky guess) (both broken)Interpretation:
Present findings with concrete recommendations:
RAG Evaluation Results (500 traces):
Layer Results:
Faithfulness: 76% pass (95% CI: [72%, 80%])
Answer Relevance: 82% pass (95% CI: [78%, 85%])
Retrieval Recall@5: 70% (95% CI: [66%, 74%])
Diagnostic Matrix:
Faithful Hallucinating
Retrieval Good 62% 10% ← 10% of answers hallucinate despite good docs
Retrieval Poor 8% 20% ← 20% both broken
Primary issue: 10% hallucination rate even with good retrieval.
→ Generator is ignoring or misreading retrieved documents.
→ Recommendation: add "cite specific document passages" to generation prompt.
→ Re-evaluate faithfulness after prompt change.
Secondary issue: 20% of traces have both poor retrieval and hallucination.
→ Recommendation: optimize chunking first (try smaller chunks with more overlap).
→ Re-run retrieval eval after chunking changes.After 05-rag-eval:
03-align-human: Calibrate the faithfulness judge against human judgments.01-eval-design: Build a more comprehensive RAG eval dataset with adversarial queries.06-prompt-regression: If you change the generation prompt, measure before/after.© agentscope-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in skills/eval_pipeline/05-rag-eval of agentscope-ai/OpenJudge.
Open the folder on GitHubat commit d1e0642
RAG Eval next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| RAG Eval this skillagentscope-ai/OpenJudge | 868 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~2.3k | Automated safety check: Pass | MIT | |
| LLM Application DevMoizIbnYousaf/ai-agent-skills | 1.1k | 2 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit | 260 | 4 repos | ~1.4k | Automated safety check: Pass | Custom licence | |
| MCP Local RAGshinpr/mcp-local-rag | 407 | — | ~4.4k | Automated safety check: Pass | MIT | |
| Ms Agent Framework RAGshuyu-labs/WebCode | 278 | — | ~1.1k | Automated safety check: Pass | Custom licence |
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
MoizIbnYousaf/ai-agent-skills
Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.
maslennikov-ig/claude-code-orchestrator-kit
Provides reference guides and Python scripts for prompt optimization, RAG evaluation, and agent orchestration when building or tuning LLM systems.
shinpr/mcp-local-rag
Searches, saves, and maintains a local document index through a local RAG MCP server.
shuyu-labs/WebCode
Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C.
nkapila6/mcp-local-rag
Efficiently perform web searches using the mcp-local-rag server with semantic similarity ranking.
agentscope-ai/OpenJudge
A skill your agent uses when the user has a judge/grader and human-labeled data, and wants to measure how well the judge agrees with humans, detect systematic biases, determine whether automatic…
agentscope-ai/OpenJudge
A skill your agent uses when the user has changed a prompt (system prompt, RAG template, agent instruction, etc.) and wants to know whether the candidate is better or worse than the baseline.
agentscope-ai/OpenJudge
Automatically evaluate and compare multiple AI models or agents without pre-existing test data.
agentscope-ai/OpenJudge
A skill your agent uses when the user needs to design evaluation datasets, create test cases, stratify samples, generate adversarial examples, extract eval dimensions from traces/specs, or build a…
agentscope-ai/OpenJudge
Build custom LLM evaluation pipelines using the OpenJudge framework.
agentscope-ai/OpenJudge
Review academic papers for correctness, quality, and novelty using OpenJudge's multi-stage pipeline.
Categories
A skill your agent uses when the user has a RAG (Retrieval-Augmented Generation) system and wants to evaluate its quality — separating retrieval issues from generation issues. RAG Eval is an agent skill from agentscope-ai/OpenJudge. Use when the user has a RAG (Retrieval-Augmented Generation) system and wants to evaluate its quality — separating retrieval issues from generation issues.
RAG Eval fits situations like: the user mentions RAG evaluation; faithfulness checking; hallucination detection in RAG; retrieval quality.
Run `npx skills add agentscope-ai/OpenJudge --skill rag-eval -a claude-code`. Or copy the skill folder (skills/eval_pipeline/05-rag-eval in agentscope-ai/OpenJudge) into .claude/skills/rag-eval in your project. Claude Code loads it when a task matches its description.
Run `npx skills add agentscope-ai/OpenJudge --skill rag-eval -a codex`. Or copy the skill folder (skills/eval_pipeline/05-rag-eval in agentscope-ai/OpenJudge) into .agents/skills/rag-eval in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agentscope-ai/OpenJudge --skill rag-eval -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rag-eval, .gemini/skills/rag-eval, .github/skills/rag-eval and .opencode/skills/rag-eval in your project.
Going by SKILL.md and its folder, RAG Eval needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
RAG Eval is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with RAG Eval: Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), LLM Application Dev (MoizIbnYousaf/ai-agent-skills, 1.1k stars), Senior Prompt Engineer (maslennikov-ig/claude-code-orchestrator-kit, 260 stars) and MCP Local RAG (shinpr/mcp-local-rag, 407 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
agentscope-ai (a GitHub organization) maintains it in agentscope-ai/OpenJudge, which has 868 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on September 11, 2026.
Source: agentscope-ai/OpenJudge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.