Skip to main content
Run any Skill in Manus
with one click

auditing-embedding-drift

Stars2
Forks0
UpdatedJune 17, 2026 at 00:55

Audits a deployed RAG or retrieval system for embedding drift over time or across cohorts. Computes per-dimension Jensen-Shannon divergence, centroid cosine distance, and intra-cohort distance shift between a baseline cohort and a comparison cohort, with bootstrap 95% confidence intervals so small-sample wobble is not reported as drift, then attributes the drift to new content categories, upstream-data shift, or provider-side model re-versioning. Use when retrieval recall is eroding without a code change, when an embedding model has been re-versioned, when comparing two embedding cohorts (training vs production, old vs new ingest, region A vs B), or for a periodic drift check on a long-running RAG. Refuses on a single-time-point dataset (no second cohort) or when the user has already decided to swap embedding models wholesale (the right action is re-embed, not drift analysis).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly