Skip to content
Back to skills

Ds Context Reset

ASecurity

Keep a PROGRESS.md for long tasks and move to a fresh session or subagent that reads only it when context gets long or stale. Use when a task spans many steps or sessions, or the model repeats itself. /skill:ds-context-reset.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
securitygogit

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add PremModhaOfficial/dotfiles --skill ds-context-reset --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ds Context Reset?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ds Context Reset
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/premmodhaofficial-ds-context-reset-dotfiles/badge)](https://www.skillsdirectory.com/skills/premmodhaofficial-ds-context-reset-dotfiles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ds-context-reset
description: "Keep a PROGRESS.md for long tasks and move to a fresh session or subagent that reads only it when context gets long or stale. Use when a task spans many steps or sessions, or the model repeats itself. /skill:ds-context-reset."
---

# ds-context-reset

Store the state of the work in a file, not in the chat, so a fresh context can continue without drift.

## Steps

1. At the start of a long task, create PROGRESS.md at the repo root with these sections:
   - **Goal**: one or two sentences, plus the acceptance check for the whole task.
   - **Done**: the verified steps, each with the command and result that proved it.
   - **Next**: the ordered steps that remain. The first item is the exact next action.
   - **Open questions**: unknowns and decisions that wait for the user.
   - **Key facts**: paths, commands, versions, gotchas, and approaches that failed (with the reason).
2. Update PROGRESS.md after every verified step. Do not update it for unverified ones. Commit the code and PROGRESS.md together with a descriptive message.
3. Watch for reset signals: you repeat an earlier answer, you forget a fact that is in Key facts, you retry a fix that failed, the same file gets reread many times, or the context is more than about half full.
4. When a signal appears, finish or revert the current step so the tree is in a known state.
5. Rewrite PROGRESS.md as a complete handoff. A reader who has only this file and the repo must be able to continue. Remove chatter and keep the facts.
6. Start a fresh session or subagent. Give it one instruction: "Read PROGRESS.md and `git log -5`, run the acceptance check for the last Done item, then do the first item in Next."
7. In the new context, confirm that the baseline check passes before you make new edits. If it fails, fix that first.

## Stop when

- The goal's acceptance check passes and PROGRESS.md shows every item as Done.
- You have done 3 resets on one Next item without progress. Stop and ask the user, with the file as your report.

## Rules

- PROGRESS.md holds facts and evidence, not plans that nobody has checked.
- Keep it under about 150 lines. Move old Done items into a short summary line.
- Never put secrets or tokens in it.
- The fresh context reads the file, not the old transcript.
- Pair with ds-plan-loop for the Next list and with ds-unstick for the failed-approach notes.
- `handoff` is the portable variant: a markdown file outside the workspace for another harness, directory or colleague. Use it there; use this one when the state belongs in the repo and the reset happens inside it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.