agentleFS
vasuag09vasuag09/harness-claude/skills/resume-session/SKILL.md

resume-session

Skill2 starsChanged 6 months agoMITView on GitHub

Load the most recent session file and re-establish context at the start of a new session. Use when continuing multi-session work. Pairs with /save-session.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read it and restate: the objective, what's verified-working, what failed (avoid repeating those dead ends), and the concrete next steps.

    line 19

“Common” is measured: kept by at least 6 in 10 of the 5 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

/resume-session — pick up where you left off

Goal: restore working context cheaply, without re-exploring.

Do this

  1. Read the STATE spine first — .claude/STATE.md (schema: docs/state-and-artifacts.md). Its frontmatter gives the machine-navigable position in one read: phase, status, slug, next_skill. If a slug is set, glance at .claude/planning/<slug>/ (SPEC.md / PLAN.md / VERIFICATION.md) for the current artifacts. If STATE.md is absent, skip to the session file — the spine is optional.
  2. Find the latest session narrative for the human story:
    • .claude/sessions/ in the repo, else ~/.claude/harness-claude/sessions/.
    • Pick the most recent by date; offer the user the last few if several exist.
  3. Read it and restate: the objective, what's verified-working, what failed (avoid repeating those dead ends), and the concrete next steps.
  4. Re-orient against current reality: confirm the repo state still matches (branch, key files). If STATE.md and the session narrative disagree (e.g. next_skill says /harness-claude:implement but the narrative describes shipping), flag the drift and reconcile from the repo — do not trust either blindly.
  5. Propose the immediate next action (prefer STATE's next_skill, cross-checked against the narrative's "remaining"), and confirm with the user.

Note

The SessionStart hook already surfaces STATE's next_skill (or a pointer to the latest session file) automatically; this skill is the full, deliberate restore. Treat every file as what was true when written — verify before trusting specifics (files/flags may have changed).

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.