Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/som1shi-ctx-purge
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
ctx-purge- Description
- 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
- License
- MIT
- Instructions
- 28 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Context Mode Purge Permanently deletes ALL session data for this project: knowledge base, session events, analytics, and stats. ## Instructions 1. **Warn the user**: This is irreversible. Everything will be deleted: - FTS5 knowledge base (all indexed content from `ctx_index`, `ctx_fetch_and_index`, `ctx_batch_execute`) - Session events DB (analytics, metadata, resume snapshots) - Session events markdown file - In-memory session stats 2. Call the `mcp__context-mode__ctx_purge` MCP tool with `confirm: true`. 3. Report the result to the user — the response lists exactly what was deleted. ## When to Use - When the KB contains stale or incorrect content polluting search results. - When switching between unrelated projects in the same session. - When you want a completely fresh start for this project. ## Important - `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. - There is no undo. Re-index content if you need it again.
From som1shi/pi-config, MIT.
More from som1shi/pi-config
- 0.524score
commit
som1shi
Git commit and branch naming conventions only — ss/ branch prefix, terse imperative commit messages.
SkillBFreshness: BClaude Code +9 - 0.521score
delegation
som1shi
Use subagents for nontrivial work, review support, research, reconnaissance, validation, and exceptional isolated implementation.
SkillBFreshness: BClaude Code +9 - 0.521score
brainstorming
som1shi
Use for unclear intent or a material goal, behavior, placement, or design choice unresolved after inspection.
SkillBFreshness: BClaude Code +9 - 0.521score
code-intelligence
som1shi
Use for code ownership, structure, symbols, types, references, call relationships, structural patterns, and diagnostics.
SkillBFreshness: BClaude Code +9 - 0.521score
code-quality-review
som1shi
Deep code-quality and simplification review for explicit review requests or concrete useful background quality checks.
SkillBFreshness: BClaude Code +9 - 0.521score
context-mode
som1shi
Use Context Mode for large command, test, log, API, document, data, browser, or MCP output that would otherwise flood the model context.
SkillBFreshness: BClaude Code +9 - 0.471score
behavioral-proof
som1shi
Selects proportionate evidence for material behavior changes and bug fixes.
SkillCFreshness: CClaude Code +9 - 0.455score
diagnose
som1shi
Disciplined diagnosis loop for hard bugs and performance regressions.
SkillCFreshness: CClaude Code +9 - 0.450score
improve-codebase-architecture
som1shi
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.
SkillCFreshness: CClaude Code +9 - 0.450score
grill-with-docs
som1shi
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as…
SkillCFreshness: CClaude Code +9 - 0.450score
tdd
som1shi
Test-driven development with red-green-refactor loop.
SkillCFreshness: CClaude Code +9 - 0.445score
grill-me
som1shi
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 27, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/som1shi/pi-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.757score
ctx-purge
mksglu
Purge the context-mode knowledge base.
SkillCFreshness: C★ 32.1KClaude Code +9 - 0.321score
ctx-purge
exoad
Purge the context-mode knowledge base.
SkillCFreshness: C★ 9Claude Code +9 - 0.280score
ctx-purge
hgxszhj
Purge the context-mode knowledge base.
SkillCFreshness: CClaude Code +9 - 0.280score
ctx-purge
IliaRL
Purge the context-mode knowledge base.
SkillCFreshness: CClaude Code +9 - 0.280score
ctx-purge
msg-life-slovakia
Purge the context-mode knowledge base.
SkillCFreshness: CClaude Code +9 - 0.280score
ctx-purge
zhangyejian
Purge the context-mode knowledge base.
SkillCFreshness: CClaude Code +9
More from som1shi
- 0.524score
commit
som1shi
Git commit and branch naming conventions only — ss/ branch prefix, terse imperative commit messages.
SkillBFreshness: BClaude Code +9 - 0.521score
delegation
som1shi
Use subagents for nontrivial work, review support, research, reconnaissance, validation, and exceptional isolated implementation.
SkillBFreshness: BClaude Code +9 - 0.521score
brainstorming
som1shi
Use for unclear intent or a material goal, behavior, placement, or design choice unresolved after inspection.
SkillBFreshness: BClaude Code +9 - 0.521score
code-intelligence
som1shi
Use for code ownership, structure, symbols, types, references, call relationships, structural patterns, and diagnostics.
SkillBFreshness: BClaude Code +9 - 0.521score
code-quality-review
som1shi
Deep code-quality and simplification review for explicit review requests or concrete useful background quality checks.
SkillBFreshness: BClaude Code +9 - 0.521score
context-mode
som1shi
Use Context Mode for large command, test, log, API, document, data, browser, or MCP output that would otherwise flood the model context.
SkillBFreshness: BClaude Code +9
Cite this page
ctx-purge skill. Agent Mart. https://agentmart.dev/skills/som1shi-ctx-purge (last updated 2026-10-24)