# Context Reset

> Reorient work when the user interrupts, replaces the objective, or redirects an in-progress coding task. Use only when the newest instruction makes prior intent or plans obsolete.

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

---


# Context reset

When the latest explicit instruction changes the objective:

1. Stop pursuing the previous objective. Do not finish its TODOs or speculative fixes.
2. Separate reusable facts from obsolete intent. Keep verified architecture, locations, constraints, and observed behavior only when relevant to the new objective.
3. Discard the old plan, pending edits not needed by the new request, validation plan, and unrelated working set.
4. Check uncommitted changes before editing. Preserve user changes; revert only abandoned agent-created changes when safe and identifiable.
5. Define the minimum files and commands needed for the new direction, then proceed narrowly.

Do not repeatedly summarize the abandoned task or reload files solely because they mattered before. If the host supports context compaction, use it when stale context is large enough to impair the new task; preserve a short list of relevant verified facts first.

