agentleFS
makiealimakieali/claude-code-engineer/skills/resume-work/SKILL.md

resume-work

Skill0 starsChanged 4 months agoMITView on GitHub

Restores working context after a /clear or /compact by reading the most recent session handoff plus current git state, then reports where things stand and what the next step is. Use at the start of a session, after clearing or compacting, when picking up work from a previous day, or when taking over someone else's branch. Trigger: "resume", "pick up where we left off", "what was I doing", "restore context", "continue from the handoff", "catch me up".

2 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. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    No handoff found? Say so plainly and fall back to git: git log --oneline -15, git status, git diff --stat.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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 Work — Reload State From Disk

The other half of /handoff. Reads the written record rather than a summary of a summary.

Step 1: Find the handoff

~/.claude/skills/resume-work/scripts/find-handoff.sh            # newest for the current branch
~/.claude/skills/resume-work/scripts/find-handoff.sh --all      # every branch, newest first

Then read the file it prints. Read it whole — the Ruled out section is usually near the bottom and it is the most valuable part.

No handoff found? Say so plainly and fall back to git: git log --oneline -15, git status, git diff --stat. A reconstruction from history is worth less than a handoff, so say which one you are working from.

Step 2: Check the record against reality

The handoff describes the world when it was written. Verify before trusting it:

git rev-parse --abbrev-ref HEAD          # same branch?
git status --short                       # same files dirty?
git log --oneline -5                     # commits since?

Reconcile out loud when they disagree — someone else may have pushed, or you may have committed after writing it. The repo is the truth; the handoff is the intent. Where they conflict, say so rather than silently trusting either.

Step 3: Report, then stop

RESUMED — <title>
  Handoff:  <path>  (<age>)
  Branch:   <branch>   <n> commits since the handoff
  Dirty:    <n> files

  Stood at:  <one line>
  Ruled out: <one line — so it is in context before any suggestion>
  Blockers:  <or "none">

  → Next: <the next step, verbatim from the handoff>

Then stop and wait. Do not start the next step. Resuming is loading state, not resuming execution — the user may have changed their mind since writing it, and that is exactly the moment to find out.

Rules

  • Surface Ruled out before proposing anything. Its whole purpose is stopping a fresh session from re-walking dead ends. Reading it after you have already suggested an approach is too late.
  • Report the handoff's age. One from three weeks ago on a branch with twenty new commits is archaeology, not state. Say so.
  • Never mark a handoff done or delete it. They are append-only. /handoff writes the next one.
  • Don't re-read every file it mentions. It names paths so you can go to them when the work needs it, not so you can reload the whole session's reads into a clean window. That would undo the reset you just paid for.

Related

  • /handoff — writes the file this reads
  • /driver — if the work is a /architect plan, read plans/{slug}/state/ too; the handoff covers session narrative, not plan state

<sub>Script paths above assume a user-level install (~/.claude/skills/). Installed as a plugin or per-project, the scripts still sit beside this file — swap the prefix for ${CLAUDE_PLUGIN_ROOT}/skills/resume-work or .claude/skills/resume-work respectively.</sub>

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.