ctx-purge

Purge and reset all context-mode project data via the MCP tool.

3|1|Updated Aug 10, 2025
One-click install
npx skills add https://github.com/hckhanh/pulumi-any-terraform --skill ctx-purge
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ctx-purge
Source: https://github.com/hckhanh/pulumi-any-terraform/tree/main/.agents/skills/ctx-purge
Command: npx skills add https://github.com/hckhanh/pulumi-any-terraform --skill ctx-purge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Purge and reset all context-mode data for the current project, including the knowledge base, session events, analytics, and in-memory stats. This action is destructive and cannot be undone.

Core Features & Use Cases

  • Irreversible purge of the knowledge base, session events, analytics, and in-memory session data.
  • Ideal when switching between unrelated projects or when starting a fresh session to remove stale data.
  • Requires explicit confirmation to prevent accidental data loss.

Quick Start

Call the mcp__context-mode__ctx_purge MCP tool with confirm: true to permanently delete all context data for the project.

Frequently Asked Questions about ctx-purge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I permanently delete session analytics and knowledge base data for a project?▼

Purging project context requires calling the mcp__context-mode__ctx_purge MCP tool endpoint with the confirm parameter explicitly set to true, permanently deleting knowledge base, session events, analytics, and in-memory stats.

What happens to in-memory stats and session events when I reset project context?▼

Resetting project context permanently deletes all in-memory stats, session events, and knowledge base data. This action is destructive, cannot be undone, and applies when switching projects or starting a fresh session.

When should I purge context-mode data instead of just starting a new session?▼

Purging context-mode data is ideal when switching between unrelated projects or needing to completely remove stale data. It ensures a truly fresh session by deleting the knowledge base, analytics, and in-memory stats entirely.

Does resetting project context require explicit confirmation to prevent accidental data loss?▼

Yes, resetting project context requires an irreversible confirmation to proceed. You must pass confirm: true to the mcp__context-mode__ctx_purge endpoint to prevent accidental data loss and execute the permanent deletion.

Are there limitations or precautions for purging knowledge base and analytics data?▼

The main limitation is that the purge is irreversible and cannot be undone. It permanently deletes the knowledge base, session events, analytics, and in-memory stats, so ensure you no longer need the project data before confirming.