# Context Fidelity Preflight — Prompt & RAG QA

> See what a prompt or context change loses. Compare the same cases for missing facts, citations and output fields.

Context Fidelity Preflight — Prompt & RAG QA is a free AI agent skill on Agensi by Stanislav Ivanov, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Stanislav Ivanov](https://www.agensi.io/creators/sivanov)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Uses: 2
- Version: 1.2
- Last updated: 2026-10-24
- Security: scan passed (2026-10-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/context-fidelity-preflight-prompt-rag-qa
- Tags: llm-ops, ai-agents, prompt-regression, rag-evaluation, retrieval-qa, context-window, citation-fidelity, agent-memory

## About this skill

A shorter context can remove the one exception that makes an answer correct. The ordinary question still works; the edge case loses its source.

Context Fidelity Preflight helps you review a prompt, retrieval or context-pruning change before release. Bring the baseline, candidate, source corpus and your authorized evaluation runner. Your agent builds versioned cases around the facts, citations, uncertainty and output fields that must survive the change.

It compares the same cases under comparable model settings and a declared repeat policy. Answerable questions need precise source passages. Questions the corpus cannot answer need a checked source boundary and an expected uncertainty response.

### The result is a specific decision

You get the failing cases and run IDs, the fact or citation lost, and the smallest repair or next observation needed. Cost and latency enter the comparison only when the runner measured them. Missing runs or required evidence keep the model-behavior decision on HOLD / not run.

This is an instruction-only evaluation workflow. Use your own approved provider or harness; no model service, key or evaluation platform is bundled. Its conclusion covers the tested cases and settings, with missing measurements left unknown.

## Known limitations

The default three paired runs are a small repeatability check, not statistical significance. Human or calibrated semantic review may be needed. A verdict applies only to tested fixtures, model, settings, corpus, and time window.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Context Fidelity Preflight — Prompt & RAG QA skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What do I need for a model-behavior verdict?

The baseline and candidate, frozen source corpus and cases, exact model release and settings, and an authorized runner. Required paired observations and applicable source evidence must exist; otherwise that verdict stays HOLD / not run.

### Does the example prove a prompt works better?

No. It demonstrates a specific source passage lost by pruning and a repair in a deterministic offline test double. No LLM or provider was called. The actual-model gate remains unevaluated.

### Can it measure cost or speed?

It can compare recorded tokens, cost with its pricing basis and latency from comparable runs. Missing measurements remain unknown; shorter text alone is not measured savings.

### How many runs does it require?

For stochastic output, the default is at least three baseline and three candidate runs per fixture under the same declared policy. That small repeatability check is not statistical significance or a production guarantee.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
