agentleFS
Ian-LouwIan-Louw/potion/skills/resume/SKILL.md

resume

Skill1 starsChanged 6 days agoMITView on GitHub

Use when returning to a Potion project — when the user says "resume", "where was I", "pick up where we left off", "continue the project", or a session starts in a repo whose .potion/STATE.md shows status paused.

69 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use auto, list and 7 more.

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.
  • Co4anSkill

    auto

    Automatic multi-agent task orchestration. Analyzes the task → picks the right agents → confirms plan with user → executes in parallel/sequential stages → synthesizes a final deliverable. Use when the task is complex enough to warrant multiple specialists or when the user explicitly invokes /auto.

    Also in 3 projects that use this

  • SuShuhengSkill

    list

    Use when checking obshare-cli upload history, finding document tokens, or reviewing previous upload URLs and permission snapshots.

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 16 projects that use this

  • MicrosoftSkill

    help

    Entry point for the MedImageInsight plugin, covering the getting-started walkthrough, how the skills work, what MI2 is, and troubleshooting.

    Also in 5 projects that use this

  • MicrosoftSkill

    note

    Use this skill to record progress, partial findings, hypotheses, and page-anchored evidence while investigating a long document. Call Note aggressively — any time you read a page and confirm, narrow, or update your understanding of the user's question. Triggers include "jot that down", "save this finding", "note that page 7 says X", or (more often) implicit internal signals — you just learned something and want it recoverable later. Notes persist in the session and Review can select among them. Never paraphrase notes back from memory; write them as you go.

    Also in 3 projects that use this

  • GitHubSkill

    state-management

    CoreAI Sandbox's TanStack Query + mock-JSON data layer. USE WHEN: editing data-fetching hooks (`app/hooks/use*.ts`), adding mock data in `app/data/`, or wiring a component to query state.

    Also in 3 projects that use this

  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .potion/STATE.md. If .potion/continue-here.md exists, read it too.

    line 12
  2. Very specific:

    Grammar-drift sweep: run the five checks — test -f .potion/verify-env.md, grep -q '^## Fog' .potion/STATE.md, grep -q '^## Decision queue' …

    line 31
  3. Distinctive:

    When one changes your behavior, say "Prior learning applied: {key}." Done when: up to 3 keys are named in the brief (or none exist, and you …

    line 48
  4. Very specific:

    If continue-here.md's Dirty tree field records a WIP commit, say so: "you are mid-task N, WIP commit {hash} holds partial work." If the …

    line 55
  5. Very specific:

    Delete continue-here.md (it's transient), then set STATE.md status to the recorded Status before pause value (closed vocabulary — never …

    line 69

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

Potion Resume

Inherit ${CLAUDE_PLUGIN_ROOT}/core/CORE.md. Restore position from disk, verify it against git, go.

Steps

  1. Read .potion/STATE.md. If .potion/continue-here.md exists, read it too. If .potion/pairing.md exists, a pairing session died un-exited — before anything else, offer the retroactive exit: run /potion:pair exit against the marker's recorded baseline (the baseline..HEAD commit list still computes), which emits the missing SUMMARY and deletes the marker; if the user declines, note the surviving marker in the step-4 brief and continue. Done when: state files are loaded and any pairing marker is either retroactively exited or explicitly deferred.
  2. Verify against ground truth. The continue-here table lists commit hashes — confirm they exist in git log. Check git status for uncommitted work the pause didn't capture, and git status .potion/ for merge-conflict markers (another session or branch touched the state — stop and show the user before proceeding). Disk claims, git confirms. On mismatch, show the user both and ask which reality wins; never silently pick one. Expired-gate sweep: scan the current phase's DISCUSSION.md gates and every phases//RUNBOOK-.md lacking its SUMMARY for expires: YYYY-MM-DD values that have passed; each expired gate is surfaced in the step-4 brief as decide-renew-or-abandon (renewal = one conscious line bumping expires). Grammar-drift sweep: run the five checks — test -f .potion/verify-env.md, grep -q '^## Fog' .potion/STATE.md, grep -q '^## Decision queue' .potion/STATE.md, test -d .potion/specs, test -f .potion/scripts/pre-commit.cjs (a lone legacy pre-commit.js counts as drift — it breaks under "type": "module"), plus grep -q '^## Parked' .potion/STATE.md for the legacy flag. Any failing check (or a Parked hit) is queued for the step-4 brief as one line: "grammar drift: {missing list} — offer /potion:update (notice only; resume never migrates)". Do not create, edit, or commit anything — /potion:update is the only mutating lane. Done when: every listed hash is found in git log, .potion/ shows no conflict markers, expired gates (if any) are queued for the brief, and drift findings (if any) are queued for the brief.
  3. Surface the top 3 relevant learnings from .potion/learnings.jsonl (newest wins per key; skip entries whose files no longer exist — flag those as stale). When one changes your behavior, say "Prior learning applied: {key}." Done when: up to 3 keys are named in the brief (or none exist, and you say so).
  4. Brief the user in 5 lines: position, last session's stopping point, decisions made there, the next action. If step 2's grammar-drift sweep queued findings, include its one line: "grammar drift: {missing list} — offer /potion:update (notice only; resume never migrates)." If continue-here.md's Dirty tree field records a WIP commit, say so: "you are mid-task N, WIP commit {hash} holds partial work." If the phase is stalled on a human gate (STATE status blocked, or Blockers/continue-here naming a waiting-on-human item) AND an unexecuted PLAN exists with no RUNBOOK in the phase, offer the guided retrofit before resuming: extract the human-action steps into RUNBOOK-{next number in the phase's shared pool} from templates/RUNBOOK.md (with the gate's expires date), put the remaining agent work in PLAN-{next+1} with depends_on the runbook, and close the original plan with SUMMARY-NN.md carrying type: superseded and superseded_by: ["RUNBOOK-{X}", "PLAN-{Y}"]. The offer is a question — the user opts in; declining leaves everything untouched. Then — unless the user redirects — do the next action. Resume means resume, not summarize.
  5. Delete continue-here.md (it's transient), then set STATE.md status to the recorded Status before pause value (closed vocabulary — never invent a status). If the field is missing (pre-fix pause file), derive: unexecuted PLAN with no SUMMARY → executing; all SUMMARYs present, no VERIFICATION verdict → verifying; else planning. Done when: continue-here.md is gone, STATE.md's status is a closed-vocabulary value, and git log -1 --oneline shows chore(potion): resume.

Red flags

ThoughtReality
"I remember this project"Memory is stale. The files are current. Read them.
"I'll re-plan from scratch to be safe"Decisions in DISCUSSION.md are locked. Resume, don't restart.

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.