Help us improve
Share bugs, ideas, or general feedback.
From context-mode
Permanently purges context-mode knowledge base and session stats, either project-wide or per-session. Use for fresh starts, removing stale indexed content, or isolating polluted sessions.
npx claudepluginhub hgxszhj/-context-mode1 --plugin context-modeHow this skill is triggered — by the user, by Claude, or both
Slash command
/context-mode:ctx-purgeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Permanently deletes session data for this project. Two scopes are supported (issue #520):
Permanently purges context-mode knowledge base and session stats, either project-wide or per-session. Use for fresh starts, removing stale indexed content, or isolating polluted sessions.
Resets knowledge base by clearing patterns, quirks, decisions, cache, session, and state to initial empty values. Invoke /learn-reset to wipe accumulated insights.
Deletes specific observations or sessions from agentmemory via API after user confirmation. Use for privacy requests like 'forget this', 'delete memory', or targeted data removal.
Share bugs, ideas, or general feedback.
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.