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

pause

Skill1 starsChanged 5 months agoMITView on GitHub

Use when stopping mid-phase — when the user says "pause", "checkpoint this", "I need to stop", "switching projects", or a session is ending with uncommitted position. Not needed between phases; STATE.md already covers that.

9 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

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Write .potion/continue-here.md from ${CLAUDE_PLUGIN_ROOT}/templates/continue-here.md: completed-tasks table with commit hashes (git is …

    line 17
  2. Very specific:

    Uncommitted source edits?: Commit them as wip(potion): paused mid {phase}-{plan} task {N} — never amend, never stash (commits are potion's …

    line 29
  3. Very specific:

    Unpushed-state check: run git rev-list --count @{upstream}..HEAD.

    line 34
  4. Very specific:

    Update STATE.md: status paused, Session Continuity block pointing at continue-here.md, including one line naming any dirty/untracked paths …

    line 42
  5. Very specific:

    Commit both. Done when: git log -1 --oneline shows chore(potion): pause checkpoint.

    line 47
  6. Distinctive:

    Process hygiene: stop any dev servers or watchers this session started, or hand over PIDs and kill commands explicitly.

    line 50

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

Inherit ${CLAUDE_PLUGIN_ROOT}/core/CORE.md. Write the handoff so the next session starts in seconds, not by archaeology.

Steps

  1. Infer, don't interrogate. Position, branch, completed tasks and their commit hashes come from git state and this conversation. Only ask if something genuinely cannot be inferred. Done when: position, branch, and task hashes are in hand.
  2. Write .potion/continue-here.md from ${CLAUDE_PLUGIN_ROOT}/templates/continue-here.md: completed-tasks table with commit hashes (git is ground truth for the resumer), decisions made this session (so they don't get re-debated), a next action concrete enough to execute without reading anything else, and context — gotchas, dead ends already tried, open worries. The dead ends matter most; they're the most expensive thing to rediscover.

    Fill Status before pause with STATE.md's current status (closed vocabulary: planning | executing | verifying | blocked) — capture it now, before step 3 overwrites it with paused. Done when: .potion/continue-here.md exists with every template field filled — no {placeholders} remain.

  3. Uncommitted source edits? Commit them as wip(potion): paused mid {phase}-{plan} task {N} — never amend, never stash (commits are potion's ground truth; a stash is invisible to a fresh session). Record the WIP hash and a one-line description of what's half-done in continue-here.md's Dirty tree field. Clean tree → write clean. Unpushed-state check: run git rev-list --count @{upstream}..HEAD; surface the result to the user BEFORE the stall is recorded — "branch is N commits ahead of origin — push now or this stall is invisible beyond this machine" (command error = no upstream, surfaced as such); record the answer in continue-here.md's Unpushed field. Never auto-push. Done when: git status --short prints nothing outside .potion/ and the Unpushed field is filled.
  4. Update STATE.md: status paused, Session Continuity block pointing at continue-here.md, including one line naming any dirty/untracked paths outside .potion/ (or clean). Done when: STATE.md's status line reads paused.
  5. Commit both. Done when: git log -1 --oneline shows chore(potion): pause checkpoint.
  6. Process hygiene: stop any dev servers or watchers this session started, or hand over PIDs and kill commands explicitly. Done when: nothing this session started is still running, or the PIDs are in the exit line.

Exit

One line: where we stopped, what resumes it (/potion:resume).

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.