/gabbe-extras:state-portabilityfrom gabbe-extras
Exports working state to a portable bundle (STATE_HANDOFF.md + tarball) and imports it in another agent. Use when switching coding agents, LLMs, or moving projects between machines.
Ships in gabbe-extras. 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.
Make the entire working state portable across any coding agent or LLM. A user must be able to stop work in one agent (Claude Code, Cursor, Antigravity, OpenCode, Gemini, a raw LLM chat…) and continue in another without losing context — same memory, same instructions, same open tasks, same next action. Because GABBE's state and instructions are already plain Markdown, the portable format is just a well-defined, self-contained bundle that any agent can read.
Two operations:
session-resume.skill.This is the cross-agent counterpart to state-preserve.skill (which keeps state durable within one agent). Together they guarantee no progress is lost to a token cutoff, a time limit, or an agent switch.
The bundle is agent-neutral and lossless:
agents/AGENTS.md + agents/CONSTITUTION.md (the operating contract any agent must follow).agents/memory/ tree: PROJECT_STATE.md, CONTINUITY.md, AUDIT_LOG.md, RESUME_POINTER.md, episodic/, semantic/.project/TASKS.md.project/gabbe.config.json (autonomy posture, budgets, preferred model tiers, enabled MCPs) if present.STATE_HANDOFF.md (below): one self-contained Markdown file embedding the resume pointer + state headers + a "how to continue in any agent" preamble. This single file is enough for a raw LLM with no filesystem access to keep going.Skills/guides/templates/personas are kit content (installable anywhere) — the handoff references the kit version rather than copying all of it, but the bundle MAY include them for fully offline transfer.
STATE_HANDOFF.md, build the tarball, write its checksum.state-preserve.skill so RESUME_POINTER.md and the latest snapshot are current.STATE_HANDOFF.md (a single portable file):# STATE_HANDOFF — GABBE portable state
- Generated: [ISO timestamp] Kit version: [x.y.z] Source agent: [name]
- Autonomy posture: [ask|auto|hybrid] Budgets/model tiers: [from gabbe.config.json]
## How to continue (any agent or LLM)
1. Load agents/AGENTS.md (operating loop) and CONSTITUTION.md (project law).
2. Run preflight.skill — it runs integrity-check, then delegates the full memory load to
session-resume.skill, then returns for the capability summary (canonical boot order).
3. Start from NEXT ACTION below.
## RESUME POINTER
[verbatim contents of agents/memory/RESUME_POINTER.md]
## PROJECT STATE (phase, last checkpoint)
[verbatim PROJECT_STATE.md]
## CONTINUITY (past failures to avoid)
[verbatim CONTINUITY.md]
## OPEN TASKS
[verbatim project/TASKS.md — TODO / IN_PROGRESS / BLOCKED]
## LATEST SNAPSHOT
[verbatim newest episodic/SESSION_SNAPSHOT/*]
sh agents/scripts/state_export.sh → writes STATE_HANDOFF.md + a gabbe-state-<timestamp>.tar.gz containing agents/memory/, project/TASKS.md, project/gabbe.config.json, and the instruction files.sha256sum gabbe-state-<timestamp>.tar.gz > gabbe-state-<timestamp>.tar.gz.sha256.In the destination agent:
STATE_HANDOFF.md into the chat for a filesystem-less LLM).sha256sum -c gabbe-state-<timestamp>.tar.gz.sha256. Then, after the human confirms the archive and the target folder, run sh agents/scripts/state_import.sh gabbe-state-<timestamp>.tar.gz to restore agents/memory/ + tasks + config (merges, never clobbers newer local state without confirmation).preflight.skill (the canonical entry point): it runs integrity-check, delegates the full memory load to session-resume.skill, then returns for the capability summary. The agent now has identical memory, instructions, and the same NEXT ACTION — work continues as before.STATE_HANDOFF.md alone must be sufficient for a no-filesystem LLM to continue correctly; verify that before declaring an export complete.state-preserve.skill immediately before dehydrating so the export is current.Export: a one-line summary of what was written (STATE_HANDOFF.md + bundle path) and the embedded NEXT ACTION.
Import: confirmation of what was restored + the recovered NEXT ACTION.
.env, keys, tokens or personal data in the bundle; list the files you skipped, and check STATE_HANDOFF.md and the tarball listing for secrets before handing over.sha256sum file next to the tarball; the importer checks it before unpacking.What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/agent-analyticsLogs token use, task duration and retries per task to a metrics file and flags retry loops and cost spikes. Use when the human asks about token usage, cost or agent efficiency, or when a task keeps retrying./emerging-techGives design guidance and a short plan for 6G edge placement, Matter IoT devices and vector search with RAG. Use when a design involves low-latency edge compute, smart-home devices, embeddings or semantic search./empirical-methodsDesigns a measurement or experiment (metric, hypothesis, controls, sample size) and reports results with effect size and confidence interval. Use when comparing benchmarks, reading A/B results, choosing a metric or tracing a root cause./knowledge-connectConnects the agent to documentation, project files and vector stores and sets up retrieval with a fallback chain. Use when the human wants to index project docs, set up a RAG pipeline, or query a knowledge base./skills-registryImports skills from external registries through validation gates and prepares kit skills for publishing. Use when the human wants to add a skill from a registry or share kit skills./system-lifecycleKeeps a traceability matrix from requirement ID to design, code and test, and checks the Definition of Done. Use when asked what a change affects, whether every requirement has a test, or whether a task is done.npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-extrasOther plugins' skills for the same job