auto-resume

auto-resume is a skill for Claude Code, Codex from appautomaton/automaton. It costs 21 tokens per session (1,016 once invoked), scanned A, original, MIT.

A session-recovery procedure that rebuilds an agent's current project context from saved artifacts such as the specification, design, and plan.

In plain words
What is it for?
Use it at the start of a new session when a project already contains agent workflow artifacts and work may be incomplete.
Why use it?
It restores the actual state of unfinished work after a fresh session without relying on memory or guesses. It also identifies blocked work and the next appropriate action.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it at the start of a new session when a project already contains agent workflow artifacts and work may be incomplete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/appautomaton/automaton/auto-resume
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add appautomaton/automaton --skill auto-resume
Clone the repo
git clone --depth 1 https://github.com/appautomaton/automaton

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auto-resume

README.md
[![agentmods](https://agentmods.dev/badge/skills/appautomaton/automaton/auto-resume/github.svg)](https://agentmods.dev/skills/appautomaton/automaton/auto-resume)
Your own site
<a href="https://agentmods.dev/skills/appautomaton/automaton/auto-resume"><img src="https://agentmods.dev/badge/skills/appautomaton/automaton/auto-resume/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auto-resume

Your own site · 80×15
<a href="https://agentmods.dev/skills/appautomaton/automaton/auto-resume"><img src="https://agentmods.dev/badge/skills/appautomaton/automaton/auto-resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01016
Opus 5.5 $0.00008 $0.00406
Sonnet 5.5 $0.00004 $0.00203
Haiku 4.5 $0.00002 $0.00102

Measured 3mo ago against content hash 5c14213efb63, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auto-resume scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/auto-resume/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

auto-resume

Session recovery. Rebuilds context from durable artifacts, not memory or guessing.

First action: run node .agent/.automaton/scripts/get-context.mjs from the project root.

Preamble

auto-resume rebuilds context from durable artifacts, not from the user's description or the agent's training data. It does not modify artifacts, advance the stage, or start new work. It loads canonical artifacts in dependency order (spec first, then design, then plan) and reports what it found, what was blocked, and what comes next.

Loading discipline: start with artifacts needed for the current stage. Read project files when understanding the codebase helps rebuild accurate context for the next action. Read .agent/.automaton/references/CONTEXT-BUDGET.md when wider reads threaten context pressure.

Quality Gate

Before producing the recovery summary:

  • Trust durable artifacts over memory.
  • Report stale pointers plainly.
  • Recommend a next skill only when recovered state has incomplete or blocked work. For verified completion, report no next lifecycle skill.
  • Read references/quality.md when the summary becomes narrative recap.

Do

Load State

Halt and report when:

  • .agent/ does not exist or current.json is missing.

Recommend automaton install to scaffold .agent/, then stop. Do not attempt recovery without a state file.

If work is complete or absent, read .agent/steering/ROADMAP.md only to surface pending phases as context.

Verify Artifact Integrity

Check that canonical_spec, canonical_design, and canonical_plan resolve when present. If any pointer is stale, report it plainly. Recommend auto-frame for missing SPEC.md or auto-plan for missing PLAN.md.

Load Artifacts

Treat current.json as the only source for active change, stage, and canonical artifact pointers. Load artifacts in dependency order and stop at the current stage. Read references/artifact-order.md for the full stage table.

Reconcile Execution Ledger

Read the full file on GitHub · 103 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 103 lines · 21 tokens per session scan A 5c14213efb63

Subscribe to this mod's changes

auto-resume is a skill published in the GitHub repository appautomaton/automaton (27 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 1,016 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

auto-resume compared with skills from other repositories

auto-resume next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auto-resumeappautomaton/automatonSkill272mo agoMITA21Claude Code, Codex
OpenCodeagentic-in/elephant-agentSkill5863mo agononeA23Claude Code, Codex
mem0-vercel-ai-sdkmem0ai/mem0Skill70k2d agoApache-2.0A146Claude Code, Codex
mempalace-recallMemPalace/mempalaceSkill61k3d agoMITA94Claude Code
pausemem0ai/mem0Skill70k2d agoApache-2.0A30Claude Code
mineMemPalace/mempalaceSkill61k3d agoMITA21Claude Code
agent-carnetyamadashy/repomixSkill30kyesterdayMITA67Claude Code, Codex