agentsclimarketplace

Amm save resume

Skill frankenmason/amm-skills/amm-save-resume

Persist a session-end resume point to long-term memory so the next session can pick up without reconstructing state. Trigger at session end, when the user signals wrap-up ("let's continue tomorrow"), or when the context window is near its limit and a safe handoff is needed.From its SKILL.md

Install
npx -y skills add frankenmason/amm-skills --skill amm-save-resume

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.3 KB, 681 tokens by cl100k_base, as published. Nobody here has run it

AMM — Save Resume Point

Purpose

Most agent hosts lose working context between sessions. A resume-point entry captures the current state + pending list + the single next action + files-to-read, so the next session's first turn can restore working context in one memory_recall.

When to Trigger

  • User signals wrap-up: "that's enough for today", "let's continue tomorrow", "save state".
  • Agent self-detects session end approaching (context near limit, long idle, or explicit close).
  • After a major milestone, to bookmark the handoff for the next cycle.

Apply Conditions

  • At least one pending item exists (otherwise no need to resume — the session is clean).
  • The "next first action" is concrete (not "continue working").
  • A short list of files-to-read captures the minimum context restore.

Execute

memory_save({
  content:  "RESUME POINT (#{{SESSION_ID}}, session end):
             [state]   <one-line summary of current state>
             [pending] <bulleted list of unfinished items, with P0/P1/P2>
             [next]    <single concrete first action for next session>
             [read]    <files next session should open, in order>",
  type:     "workflow",
  concepts: "resume_point, {{SESSION_ID}}, <main_topic>",
  files:    "<comma-separated absolute paths in restore-read order>"
})

Warnings

  • Do NOT save a resume point when the session finished cleanly (no pendings) — it just adds noise on the next session's start recall.
  • Do NOT rely on this for long-term pendings (>14 days). Use amm-save-pending with an explicit TTL, or a proper project tracker.
  • The "next action" must be resume-able without the current session's short-term context. If it would require "ask the user what they meant 3 turns ago", revise before saving.

Example

End of a session working on a database migration:

memory_save({
  content:  "RESUME POINT (#delta-7, session end):
             [state]   migration 0042 drafted, review pending, rollback script untested.
             [pending] P0: test rollback on staging.
                       P1: write the up/down migration for the index.
             [next]    run rollback test — psql staging < migrations/0042_down.sql && verify row counts.
             [read]    migrations/0042_up.sql → migrations/0042_down.sql → docs/migration-playbook.md",
  type:     "workflow",
  concepts: "resume_point, delta-7, migration_0042",
  files:    "/workspace/migrations/0042_up.sql,/workspace/migrations/0042_down.sql,/workspace/docs/migration-playbook.md"
})

Related

  • amm — umbrella (Bootstrap, references, license)
  • amm-recall — how the next session retrieves this entry
  • amm-save-pending — per-item tracking with TTL

Change Log

  • 1.0.0 — Initial release.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.