/gabbe:state-preservefrom GABBE
Continuously saves session state to RESUME_POINTER.md and AUDIT_LOG.md so progress is never lost on interruption. Use before token limits, long actions, or risky operations.
Ships in GABBE. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guarantee zero progress loss across interruptions. An agent can be cut off at any moment — token budget exhausted, wall-time/turn limit reached, network drop, or a crash — often with no chance for a graceful shutdown. So state must be saved continuously and incrementally, not only at the end of a session. At every moment there must be enough persisted information that a fresh agent (via session-resume.skill) can pick up exactly where this one left off, with no knowledge loss.
Treat every step as if it might be your last: after each meaningful action, the durable record on disk must already reflect it.
RESUME_POINTER.md and append the outcome to AUDIT_LOG.md.Maintain a single, cheap, always-up-to-date pointer so any future session knows the exact next move. Keep it at agents/memory/RESUME_POINTER.md (create if absent):
# RESUME_POINTER (updated continuously — this is the single source of "where am I")
- Updated: [ISO timestamp]
- Current task: [task id / one-line]
- SDLC phase: [S<NN>]
- Last completed step: [what just finished + commit hash if any]
- NEXT ACTION: [the precise next step a new agent should take]
- Open questions (blocking): [list or none]
- Working assumptions: [list]
- Files touched this session (not yet committed): [list]
- How to verify current state: [test/lint command]
This file is small by design and must be rewritten whenever the "next action" changes.
AUDIT_LOG.md and refresh RESUME_POINTER.md. These writes are cheap; do them eagerly.Write/refresh, in order (cheapest-first so a cutoff mid-flush still leaves the most important file written):
agents/memory/RESUME_POINTER.md — next action (write this FIRST; it's the lifeline).agents/memory/AUDIT_LOG.md — append decisions/outcomes since the last entry.agents/memory/PROJECT_STATE.md — current SDLC phase + last checkpoint.agents/memory/episodic/SESSION_SNAPSHOT/S<NN>_<name>_wip.md (a mid-phase snapshot; phase-end snapshots are written by sdlc-checkpoint.skill; never overwrite an earlier snapshot) — task context, open questions, implementation decisions.agents/memory/CONTINUITY.md — any new lesson / failed approach to avoid repeating.project/TASKS.md — status of all in-progress tasks; if stopping mid-task, note exactly where and why.If the optional gabbe CLI is present, its checkpoint/replay (gabbe runs, gabbe replay, gabbe resume) augments this — but the Markdown files above are the authoritative, CLI-independent record and must always be current on their own.
A new session must be able to fully recover using ONLY these files via session-resume.skill. Before declaring a save complete, sanity-check: "If I disappeared right now, could a fresh agent read RESUME_POINTER.md + the snapshot and continue correctly?" If not, the save is incomplete.
A one-line confirmation of what was persisted and the current NEXT ACTION, e.g.:
State saved → RESUME_POINTER updated (next: implement registry_import validation), snapshot S05_implementation_wip.md written, AUDIT_LOG appended.
RESUME_POINTER.md first in a flush; it is the minimal lifeline.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning.Other plugins' skills for the same job