← ClaudeAtlas

ctx-checkuplisted

Weekly cache audit — use on "weekly checkup", "where did the tokens go", "audit session costs", or /ctx-checkup; runs cache-audit, flags sessions over the pre-registered lines, backfills archive pointers in case files. Also triggers on Chinese — 用户说"周检""查一下会话花费""哪些会话该收口了""跑一下缓存审计""这周 token 都花哪了",或显式 /ctx-checkup 时用。
bestiaya/ctx-kit · ★ 0 · Data & Documents · score 72
Install: claude install-skill bestiaya/ctx-kit
# Weekly checkup: audit → read the numbers → backfill > **Speak in the user's language, and write the case files / board / inbox rows in the user's language.** Status words and section letters are fixed bilingual, so a case written in either language must be readable by this skill. Section letters A~I never change. Status words used here: **delivered** (已交货) / **awaiting decision** (候拍); header-line fields `status` (状态) / `pen-holder` (持笔) / `updated` (更新); roles `lead` (导师) / `exec` (执行); the placeholder in section G is `(to be backfilled)` / `(待回填)`. **Two things before you start; miss either and you will be wrong** (both have gone wrong in practice): ① run `date` for the real clock — **never infer the date from file timestamps or from the bill**, because a wrong inference stamps the whole batch of records with the wrong date; ② pull the live session list again — **whether a session is alive or dead is settled by the header line of the case / track file**; the register is only a projection and may be stale, and judging from it will treat retired sessions as live. ## 1. Run the audit ```bash python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cache-audit.py" --all ``` The script is pure standard library, zero dependencies. An error mentioning `xcodebuild` or similar means the interpreter resolved somewhere else (the macOS Xcode shim, for instance) — run it again with a real python3; the script is not broken. **`${CLAUDE_PLUGIN_ROOT}` is set only under a plugin install.** On a manual