Verbatim Citation Gate
Description
Catch fabricated RAG citations before they reach the user: a zero-token verbatim gate + a burden-of-proof judge, framework-agnostic.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
verbatim-citation-gate
[](https://github.com/tonydzi/verbatim-citation-gate/actions/workflows/tests.yml) [](https://github.com/tonydzi/verbatim-citation-gate/blob/master/pyproject.toml) [](LICENSE) [](https://tonydzi.github.io/verbatim-citation-gate/)
**Catch fabricated RAG citations before they reach the user.** A two-stage, framework-agnostic auditor for quote-style citations. The deterministic half is `src/verbatim_citation_gate/gate.py`: zero dependencies, zero tokens. The model half is `src/verbatim_citation_gate/judge.py`, and plugs into whatever LLM your pipeline already speaks.

Quickstart — 30 seconds, no API key
pip install "git+https://github.com/tonydzi/verbatim-citation-gate"
from verbatim_citation_gate import quote_gate
docs = {"veltranib-rct": "... Body weight was unchanged in both arms."}
quote_gate("Body weight was unchanged in both arms.", "veltranib-rct", docs) # 'found'
quote_gate("Veltranib produced dramatic weight loss.", "veltranib-rct", docs) # 'not_found'
That is stage 1, and it is the whole offline half: no key, no network, no tokens. The run in the animation above is [`examples/demo.py`](examples/demo.py) — `python examples/demo.py` reproduces it, model calls counted by the demo itself. Stage 2 (the judge) needs a model and is one argument away — see [Use](#use) below.
📖 **Docs: ** — the two stages, the API, the verdicts, and every known limit with its issue.
RAG systems love to cite. The prob
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI