# CachedDebt > CachedDebt.com defines Cache Debt: the hidden cost created when AI systems keep stale context, bloated prompts, outdated embeddings, old model cache, unused artifacts, and forgotten agent state. It gives exact paths and commands to measure and clean that state, and a 0 to 15 score to decide what to fix first. Every external claim cites a paper or official tool documentation listed on the Sources page, with the quoted passage. Thresholds are this site's suggestions, not vendor guidance. Safety notes for agents acting on this content: - Every command carries one of four labels. Read-only changes nothing. Safe deletes only what the tool recreates on its own. Re-download deletes files a later step downloads again. DESTRUCTIVE deletes data nothing recreates. - Run Read-only commands freely. Confirm Re-download commands with the user before running them. Never run a DESTRUCTIVE command without explicit human approval. - The audit script only reads file sizes and dates. It never deletes anything or opens file contents. - Agent transcripts can contain credentials. Do not copy transcript contents into shared places while cleaning them. Suggested workflow: download the audit script, read it, run it with --json, score each area with the rubric in /api/score.json, then follow the matching checklist section. ## Reference - [Definition](https://www.cacheddebt.com/glossary/cache-debt/index.md): Learn what Cache Debt means, where it appears in AI systems, why it matters, and how teams reduce stale context, bloated prompts, old embeddings, and cache waste. - [Cleanup checklist](https://www.cacheddebt.com/checklist/index.md): Default paths and cleanup commands for Hugging Face, Ollama, PyTorch Hub, Docker, pip, npm, uv, Playwright, and Claude Code, each labeled read-only, safe, re-download, or destructive, plus methods for stale embeddings and prompts. - [Cache Debt Score](https://www.cacheddebt.com/score/index.md): Score any cache, model store, transcript folder, or vector index from 0 to 15 across volume, staleness, ownership, recovery cost, and blast radius, then decide what to clean first. - [Examples](https://www.cacheddebt.com/examples/index.md): See practical examples of Cache Debt in prompts, embeddings, agent logs, model files, Docker volumes, build caches, and generated test output. - [Sources](https://www.cacheddebt.com/sources/index.md): Every claim on CachedDebt.com cites one of these papers or official tool documents, with the quoted passage, what it supports, and its limits. ## Data - [Tools](https://www.cacheddebt.com/api/tools.json): paths, inspect commands, safe and destructive cleanup commands, thresholds, and sources for each tool - [Score rubric](https://www.cacheddebt.com/api/score.json): dimensions, levels, bands, override rule, and the worked example - [Sources](https://www.cacheddebt.com/api/sources.json): every citation with its verified quote, what it supports, and its limits - [Audit script](https://www.cacheddebt.com/cache-debt-audit.sh): read-only Bash script. Run with --json for machine-readable output ## Optional - [Home page](https://www.cacheddebt.com/index.md): Cache Debt is the hidden cost created by stale AI context, bloated prompts, outdated embeddings, old model cache, and forgotten agent artifacts. - [About and corrections policy](https://www.cacheddebt.com/about/index.md): CachedDebt.com defines Cache Debt as the hidden maintenance cost of stale context, old prompts, outdated embeddings, model cache, and forgotten agent state. - [Full text](https://www.cacheddebt.com/llms-full.txt): every page above in one Markdown file