Skip to content
Back to skills

Rag Freshness

ASecurity

Keep a retrieval corpus current as source documents change, with incremental updates, deletion propagation, and a stated staleness budget. Use when retrieved answers cite content that has since changed or been removed.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
ai-agentsdocumentation

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add Amey-Thakur/AI-SKILLS --skill rag-freshness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rag Freshness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rag Freshness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/amey-thakur-rag-freshness/badge)](https://www.skillsdirectory.com/skills/amey-thakur-rag-freshness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rag-freshness
description: Keep a retrieval corpus current as source documents change, with incremental updates, deletion propagation, and a stated staleness budget. Use when retrieved answers cite content that has since changed or been removed.
---

# RAG freshness

A retrieval index is a snapshot that starts drifting immediately. The
failure is quiet and serious: an answer confidently cites a policy that
was superseded last month, with a citation that makes it look verified.

## Method

1. **State the staleness budget per source.** Minutes for operational
   data, days for documentation. It determines the whole update
   strategy (see search-indexing-pipeline).
2. **Update incrementally on change events.** Reindexing everything on a
   schedule is expensive and still leaves a window; capturing changes as
   they happen is both cheaper and fresher.
3. **Propagate deletions immediately.** A removed document that stays
   retrievable is worse than a stale one, especially where the removal
   was for accuracy or permission reasons.
4. **Re-chunk and re-embed on substantive change.** A minor edit may not
   warrant it; a rewrite does, and treating all edits alike either
   wastes work or leaves stale vectors (see chunking-strategies).
5. **Carry the source timestamp into the chunk.** The model can then
   qualify its answer, and users can judge for themselves (see
   citation-grounding).
6. **Detect drift by sampling.** Periodically compare indexed content
   against the source to catch pipeline failures that produce silent
   staleness.
7. **Alert on indexing lag.** A stalled pipeline looks identical to a
   working one from the answer side until someone notices a wrong
   answer.

## Boundaries

Freshness costs indexing work proportional to change rate. Some sources
provide no change notification and require polling. An index can be
perfectly fresh and still retrieve poorly, which is a separate problem
(see rag-evaluation).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…