agentleFS
michael-muirmichael-muir/agentic-dev-kit/skills/resume-session/SKILL.md

resume-session

Skill1 starsChanged 13 days agoMITView on GitHub

Use at the start of every session in a project with a .agentic folder, to rebuild context from state files and git, check them against each other, and adopt the right role.

11 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

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

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 2

    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. Very specific:

    Read the state: Read .agentic/STATE.md, then the newest file in .agentic/handoffs/ (names sort by time), then the task file that STATE.md …

    line 13
  2. Distinctive:

    Check against git: Run git status, git branch --show-current, and git log --oneline -10.

    line 17
  3. Distinctive:

    Re-check claims that matter: If the handoff says the gate passed but HEAD has moved, or the tree is dirty, that claim is stale.

    line 25
  4. Very specific:

    If a handoff says Context: same-context, reviews from that session count less.

    line 40

“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

Resume a session

The goal is to continue someone else's work as if you'd been there, trusting only what can be checked.

Steps

  1. Read the state. Read .agentic/STATE.md, then the newest file in .agentic/handoffs/ (names sort by time), then the task file that STATE.md marks as active. Done when: you can name the spec, task, phase, owner and next step.
  2. Check against git. Run git status, git branch --show-current, and git log --oneline -10. Compare them with the handoff's "Branch @ commit".
    • Commits after the handoff's sha: someone worked without a handoff. Read those commits, and note it.
    • Uncommitted changes: they belong to an unfinished session. Read the diff before touching anything.
    • The handoff names a different branch: switch to it, or ask the human if it's unclear. Done when: you've written down any discrepancy, and git is the version you believe.
  3. Re-check claims that matter. If the handoff says the gate passed but HEAD has moved, or the tree is dirty, that claim is stale. Treat it as unverified. Done when: each "Evidence" claim you rely on is either still valid for HEAD, or marked stale.
  4. Adopt the role. Load .agentic/kit/agents/core/<owner>.md (or the domain agent file), and every skill in its skills: list. If you're the orchestrator, or there's no active task, load the orchestrator. Done when: you've read the role file and its skills in this session.
  5. Say where things stand. In one short message, tell the human the role you're playing, the task, the next step, and any discrepancies from step 2. Then start. Done when: the message is sent.

Notes

  • STATE.md missing or empty: the project has just been installed. Act as orchestrator.
  • If a handoff says Context: same-context, reviews from that session count less. The orchestrator may re-run them in a fresh context.

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.