subagentprompts

.com prompt engineering

← all techniques

Extract direct quotes before analysis on long documents

guardrail all tec_reduce_hallucinations_quotes
guidance
For documents over roughly 20k tokens, ask Claude to extract word-for-word quotes first before performing its task. This grounds the response in the actual text rather than a paraphrase, reducing hallucination. Pair with citation verification: have Claude cite a supporting quote for each claim, and retract any claim it cannot support with one.
source

platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations.md

provenance

source_site subagentprompts.com · created 2026-07-01 20:54:11 · JSON