agentleFS
ChinorabChinorab/session-resume/SKILL.md

session-resume

Skill0 starsChanged 52 days agoMITView on GitHub

Resume a project exactly where it stopped after a token limit, a context compaction, or a fresh session — never restart from scratch. Keeps one PROGRESS.md per project as the source of truth. Triggers - /session-resume, "resume", "continue the project", "where were we", session start on an existing project, creation of a new project.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use eval-harness.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After a context compaction (automatic summary) — the summary may be incomplete.

    line 14
  2. Distinctive:

    When creating a new project: create PROGRESS.md at the very first step.

    line 15
  3. Very specific:

    When the user says "resume", "continue", "where were we", or types /session-resume.

    line 16
  4. Very specific:

    Look for PROGRESS.md at the project root (ls PROGRESS.md).

    line 20
  5. Distinctive:

    If it exists: read it in full BEFORE any other action.

    line 21
  6. Distinctive:

    Update PROGRESS.md after every significant step (file created, feature working, decision made), not only at the end.

    line 66
  7. Distinctive:

    Always update the "Current step" line before starting a long step.

    line 67
  8. Distinctive:

    Keep the file short (< 80 lines): it is a logbook, not documentation.

    line 68

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Session Resume — pick up where you left off

Absolute rule: a restarted session continues the work, it does not redo it. The source of truth is the PROGRESS.md file at the project root, not the session memory.

When to apply

  • At the start of a session on a project that already exists (non-empty folder).
  • After a context compaction (automatic summary) — the summary may be incomplete; PROGRESS.md wins.
  • When creating a new project: create PROGRESS.md at the very first step.
  • When the user says "resume", "continue", "where were we", or types /session-resume.

Procedure on restart

  1. Look for PROGRESS.md at the project root (ls PROGRESS.md).
  2. If it exists: read it in full BEFORE any other action. Locate the "Current step" and "Remaining" sections.
  3. Quickly check that the disk matches (files mentioned are present, last commit if git). Do not redo a full exploration.
  4. Tell the user in 2-3 lines: what is done, which step you are resuming. Then continue that step directly.
  5. If it does not exist on a non-empty project: rebuild the state from the real files (a code-graph tool for a medium/large repo, otherwise ls -R plus reading the key files), create PROGRESS.md, then continue.

Forbidden after a restart:

  • Regenerating a file that already exists and works.
  • Re-asking a question already settled in PROGRESS.md ("Decisions" section).
  • Reinstalling dependencies already installed, re-running a setup already done.
  • Starting from a new plan while ignoring the one in the file.

PROGRESS.md format

# <Project name> — progress

Last updated: YYYY-MM-DD HH:MM

## Goal
One or two sentences: what the project must produce, for whom.

## Current step
A single precise line: what is being done right now, file involved, what is missing to finish it.

## Done
- [x] Step 1 — files: ...
- [x] Step 2 — ...

## Remaining
- [ ] Step 3 — ...
- [ ] Step 4 — ...

## Decisions
- Technical choice / user answer, with the reason. Do not ask again.

## Useful commands
- Run: `...`
- Test: `...`

## Pitfalls hit
- Problem → fix applied.

Updating while working

  • Update PROGRESS.md after every significant step (file created, feature working, decision made), not only at the end. A reset can happen at any time.
  • Always update the "Current step" line before starting a long step.
  • Keep the file short (< 80 lines): it is a logbook, not documentation. Details belong in the README or the specs.
  • Date the last update.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.