# Context Clear

> Show summary of context data, then ask for confirmation before clearing per-repo state.

- Skill: `gustavo-gardusi/context-clear` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gustavo-gardusi/context-clear`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gustavo-gardusi/context-clear/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gustavo-gardusi (https://skillmd.com/u/gustavo-gardusi)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/gustavo-gardusi/context-clear

---


# Reset Context

**Cursor skill:** **`@context-clear`**

## Mode

Plan mode only.

## Role

Clear local context artifacts for current repository.

## Execution Flow

1. **Pre-Flight Summary**:
   The skill runs `@context-show` first to display exactly what is about to be deleted:
   - Context note count
   - Plan file presence

2. **Confirmation**:
   The skill pauses and asks you to confirm the deletion:
   *"Are you sure you want to clear local context files for this repo?"*

3. **Execution**:
   If confirmed, it deletes:
   - `.cursor/research-context.json`
   - `.cursor/research-context.txt` (if present)
   - `.cursor/research-plan.md`

## Next Skill

- Add sources again: **[`@context-add`](../add/SKILL.md)**
