More screenshots

    Works with the AI Agents you already use

    RAG Retrieval Release Gate

    by Mikhail Kulakov

    1

    Decide whether a RAG retrieval change is ready to ship using an evidence-labelled case ledger, hard negatives, acceptance checks, and a limited-release verdict.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    RAG Retrieval Release Gate

    RAG Retrieval Release Gate

    Example session with this skill installed

    We are considering a new reranker for our internal support RAG. It will run after hybrid search. We need to know whether it is safe to release to 10% of users.

    Corpus rules

    • Every policy article has tenant_id, effective_date, and status fields.
    • Current policies have status=active; retired policies have status=retired.
    • The tenant filter must always remain in place.

    Case A
    Query: How long can an EU customer keep an export link active?
    Expected source: EU-EXPORT-2025, active policy for tenant northwind.
    Current results: EU-EXPORT-2025 rank 1; EU-EXPORT-2023 retired rank 4; US-EXPORT-2025 rank 7.
    Candidate results: EU-EXPORT-2023 retired rank 1; EU-EXPORT-2025 rank 5; US-EXPORT-2025 rank 8.

    Case B
    Query: Can a customer remove an audit log entry?
    Expected source: AUDIT-IMMUTABILITY-01, active for tenant northwind.
    Candidate results: AUDIT-IMMUTABILITY-01 rank 2; LOG-RETENTION-04 rank 3; AUDIT-IMMUTABILITY-01 for tenant contoso rank 5.

    The candidate answer text is not available. Do not query our systems or invent metrics. Produce a retrieval release gate with required checks, hard negatives, and a decision.

    • Read your context and instructions
    • Compiled the rag retrieval release

    RELEASE DECISION

    BLOCK. The candidate promotes a retired policy to rank 1 for Case A while the required active policy falls to rank 5. It also exposes a cross-tenant near-match in Case B. The supplied evidence does not support a 10% rollout.

    CHANGE BOUNDARY

    Confirmed: The proposed change is a new reranker after hybrid search. The requested rollout is 10%.
    Confirmed: Tenant filtering and active-policy selection are mandatory.
    Unknown: Candidate answer text, filter trace, score breakdown, latency, and behavior outside these two cases were not supplied.

    EVALUATION CASE LEDGER

    Case A — EU export-link duration
    Expected: EU-EXPORT-2025, tenant northwind, active.
    Observed: Retired EU-EXPORT-2023 is rank 1; the expected source is rank 5.
    Status: BLOCKER. The wrong policy version outranks the required evidence.

    Case B — audit-log deletion
    Expected: AUDIT-IMMUTABILITY-01, tenant northwind, active.
    Observed: The expected source is rank 2; the same document ID from tenant contoso appears at rank 5.
    Status: CONDITIONAL. The correct source is present, but tenant isolation is not proven.

    HARD NEGATIVES

    EU-EXPORT-2023 looks relevant but is retired.
    US-EXPORT-2025 is the wrong region for Case A.
    AUDIT-IMMUTABILITY-01 from contoso is forbidden for a northwind query.
    The candidate must prove tenant_id=northwind and status=active are applied before reranking.

    FINDINGS

    Confirmed: Case A fails the expected-source requirement.
    Supported: The reranker may be over-weighting lexical similarity or stale content. Score and filter traces are required to confirm this.
    Unknown: Recall, precision, latency, and answer faithfulness cannot be calculated from two result sets.

    ACCEPTANCE CHECKS

    1. EU-EXPORT-2025 must outrank every retired or non-EU policy for Case A.
    2. A retired result cannot be eligible as answer evidence when an active version exists.
    3. A northwind query cannot retrieve content from another tenant.
    4. Add at least six labelled cases for versioning, tenant boundaries, numeric limits, and no-answer requests.
    5. Record the query, applied filters, result IDs, ranks, and release version for every case.

    REGRESSION AND RELEASE PLAN

    Keep both supplied cases in the regression set. After every acceptance check passes, run a limited rollout with a named human approver, privacy-safe retrieval logging, and an immediate rollback trigger for retired or cross-tenant evidence. This review does not authorize deployment.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Decide whether a retrieval change is ready to ship RAG Retrieval Release Gate is for the risky moment before you release a change to chunking, embeddings, metadata filters, hybrid search, reranking, or an index. A few promising answers are not enough. A retrieval change can silently promote a retired policy, cross a tenant boundary, or retrieve a near-match that supports the wrong conclusion.

    What you provide Supply the proposed change and the evidence you have: real user queries, expected document IDs or source classes, current and candidate top-k results, excerpts, ranks, filters, corpus notes, and release constraints.

    What you receive An evidence-labelled evaluation case ledger. An expected-source map and a list of hard negatives. Acceptance checks and a reusable regression set. Rollout, monitoring, rollback, and approval requirements. One verdict: BLOCK, CONDITIONAL, READY FOR LIMITED RELEASE, or INSUFFICIENT EVIDENCE. Built for concrete retrieval changes Use it to review a reranker, hybrid-search change, chunking update, embedding migration, metadata filter, or index refresh before users depend on it.

    Safe by design The skill works only from evidence supplied in the conversation. It does not query your vector database, change an index, invent recall numbers, or authorize a live release.

    The gate can only assess supplied query cases, relevance judgements, traces, and corpus facts. It cannot calculate quality metrics or verify filter behavior without the underlying evidence. A READY FOR LIMITED RELEASE verdict is a recommendation for a named human reviewer, not permission to deploy.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Permissions

    No special permissions declared or detected

    Listed2 months ago

    What's inside

    Frequently Asked Questions

    It acts as a final validation layer for changes to your retrieval pipeline, ensuring that updates to embeddings, chunking, or reranking don't cause regressions, data leakage, or loss of precision.

    The skill is model-agnostic and works with any RAG architecture; you simply provide the evidence (queries, document IDs, and results) for the skill to evaluate.

    No, the skill operates entirely on the evidence you provide in the conversation and does not require direct access to your production index or private data sources.

    You receive a structured case ledger, a list of hard negatives to watch for, a reusable regression test set, and a final release verdict (e.g., BLOCK or READY).

    This skill is ideal for teams deploying updates to hybrid search, embedding migrations, metadata filtering logic, or reranking models that require high-confidence validation.

    The 'Hard Negatives' check identifies near-match documents that might lead to hallucinated or incorrect conclusions, ensuring your change doesn't prioritize misleading information.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.