SKILL · community · trust T0
AMS session continuation protocol (Automaton Memory System)
Version 1.1.0sha256: a334c416f58fa2aa10c334d47f8d8dd0495807ca0128f6e13b4d67bf26cce5b6
What you need before this works
- A Model Context Protocol connection to an Automaton Memory System (AMS, https://automaton-memory.com).
- On that connection, these tools: search_memories, list_pending_continuations, claim_continuation, create_continuation and complete_continuation.
The packout supplies this skill's text only. It does not supply an AMS connection or those tools. Without them the skill says it cannot run.
--- name: op-ams-continuation-protocol description: "Use at the start and near the end of a long agent session that must hand off cleanly. Replaces compaction with Automaton Memory System continuations so a fresh session resumes exactly where this one stopped. Requires an AMS MCP connection." --- # Session continuation protocol (Automaton Memory System) Requires: an Automaton Memory System (AMS, https://automaton-memory.com) MCP connection that exposes search_memories, list_pending_continuations, claim_continuation, create_continuation and complete_continuation. If those tools are not available, do not improvise; say that this skill cannot run here. ## Session start 1. Search AMS (search_memories) for context relevant to the query before responding. 2. list_pending_continuations; if one matches the project (cwd basename or the stated project), claim_continuation and load its next_action, paths and decisions. 3. Stubs auto-generated by session hooks (titled like "Unknown goal — session compacted") carry no handoff; do not claim them as real state. ## During - Report approximate context usage (% full) in every response. - If your host has a scratch or knowledge-graph memory tool, use it for short-term working memory on multi-step tasks; otherwise keep a running plan in the reply. ## At ~60% context or a task boundary - create_continuation with original_goal, next_action, completed_subtasks, remaining_subtasks, handoff_notes (paths, decisions, API notes), priority_memories. - Tell the user to start a fresh session. If your host has a scheduler, also schedule a one-shot task about a minute out whose prompt is: claim continuation <id> for project <name> and continue — so the fresh session picks it up without the user doing anything. - complete_continuation when a claimed one is done (outcome + summary). Prefer this over compaction every time. ## Memory routing Durable memories go to your AMS store. If you have more than one store, put each memory in the one that matches its context (for example work versus personal) and say which you used.