Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Purge the context-mode knowledge base. Permanently deletes all indexed content and resets session stats. This is destructive and cannot be undone. Trigger: /context-mode:ctx-purge
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-13 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -36% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 115% | 0% |
| case-14 | ✓→✓ | = Same ✓ | -40% | 0% |
Permanently deletes session data for this project. Two scopes are supported (issue #520):
scope: "project"): wipes EVERYTHING — knowledge base, all session DB rows for every session, events markdown, and stats.sessionId: "<id>" or scope: "session"): wipes ONLY the matching session's rows + FTS5 chunks. Sibling sessions, project stats, and the FTS5 store file are preserved.sessionId.ctx_index, ctx_fetch_and_index, ctx_batch_execute)mcp__context-mode__ctx_purge MCP tool with the chosen parameters:{ confirm: true, sessionId: "<id>" } — implies scope:'session'.{ confirm: true, scope: "project" } — explicit destructive form.{ confirm: true } still works but emits a deprecation warning. Prefer the explicit forms.confirm: true is always required.sessionId and scope: "project" together is REJECTED as ambiguous (the sessionId implies session scope; combining with project scope contradicts intent).scope: "session" without sessionId throws — sessionId is required.ctx_purge is the only way to delete session data. No other mechanism exists.ctx_stats is read-only — shows statistics only./clear and /compact do NOT affect any context-mode data.Other measured skills in the registry, with their headline benchmark lift.