resume-session

resume-session is a command for Claude Code from multiplex-ai/muggle-ai-teams. It costs 26 tokens per session (1,327 once invoked), scanned A, a copy of resume-session, MIT.

A session-resuming command that loads the most recently saved Claude Code session, or a session file you specify, so work can continue with its earlier context. A session file is a local record of previous coding work.

In plain words
What is it for?
Use it when continuing work on another day, recovering after a fresh session, or taking over a saved session file.
Why use it?
It avoids having to reconstruct the task, decisions, and unfinished work after a new session or a context limit.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/you/.claude/sessions/2024-01-15-abc123de-session.tmp.

Part of the muggle-ai-teams plugin — 166 skills, 55 commands, 30 agents, 4 hooks shipped together

Good fit Use it when continuing work on another day, recovering after a fresh session, or taking over a saved session file.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add multiplex-ai/muggle-ai-teams
Claude Code
/plugin install muggle-ai-teams

Made for: Claude Code.

Or install muggle-ai-teams, the plugin that ships this one along with the rest of its 166 skills, 55 commands, 30 agents, 4 hooks.

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 resume-session

README.md
[![agentmods](https://agentmods.dev/badge/commands/multiplex-ai/muggle-ai-teams/resume-session/github.svg)](https://agentmods.dev/commands/multiplex-ai/muggle-ai-teams/resume-session)
Your own site
<a href="https://agentmods.dev/commands/multiplex-ai/muggle-ai-teams/resume-session"><img src="https://agentmods.dev/badge/commands/multiplex-ai/muggle-ai-teams/resume-session/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 resume-session

Your own site · 80×15
<a href="https://agentmods.dev/commands/multiplex-ai/muggle-ai-teams/resume-session"><img src="https://agentmods.dev/badge/commands/multiplex-ai/muggle-ai-teams/resume-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,327 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.
Origin 94% copy Near-identical to another mod 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.00026 $0.01327
Opus 5.5 $0.00010 $0.00531
Sonnet 5.5 $0.00005 $0.00265
Haiku 4.5 $0.00003 $0.00133

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

Security

Grade A, and why

resume-session 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 1mo 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.

Origin

This is a copy

94% identical to resume-session — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/resume-session.md · 156 lines

How it starts

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

Resume Session Command

Load the last saved session state and orient fully before doing any work. This command is the counterpart to /save-session.

When to Use

  • Starting a new session to continue work from a previous day
  • After starting a fresh session due to context limits
  • When handing off a session file from another source (just provide the file path)
  • Any time you have a session file and want Claude to fully absorb it before proceeding

Usage

/resume-session                                                      # loads most recent file in ~/.claude/sessions/
/resume-session 2024-01-15                                           # loads most recent session for that date
/resume-session ~/.claude/sessions/2024-01-15-session.tmp           # loads a specific legacy-format file
/resume-session ~/.claude/sessions/2024-01-15-abc123de-session.tmp  # loads a current short-id session file

Process

Step 1: Find the session file

If no argument provided:

  1. Check ~/.claude/sessions/
  2. Pick the most recently modified *-session.tmp file
  3. If the folder does not exist or has no matching files, tell the user:
    No session files found in ~/.claude/sessions/
    Run /save-session at the end of a session to create one.
    
    Then stop.

If an argument is provided:

  • If it looks like a date (YYYY-MM-DD), search ~/.claude/sessions/ for files matching YYYY-MM-DD-session.tmp (legacy format) or YYYY-MM-DD-<shortid>-session.tmp (current format) and load the most recently modified variant for that date
  • If it looks like a file path, read that file directly
  • If not found, report clearly and stop

Step 2: Read the entire session file

Read the complete file. Do not summarize yet.

Step 3: Confirm understanding

Respond with a structured briefing in this exact format:

SESSION LOADED: [actual resolved path to the file]
════════════════════════════════════════════════

PROJECT: [project name / topic from file]

WHAT WE'RE BUILDING:
[2-3 sentence summary in your own words]

CURRENT STATE:
✅ Working: [count] items confirmed
🔄 In Progress: [list files that are in progress]
🗒️ Not Started: [list planned but untouched]

WHAT NOT TO RETRY:
[list every failed approach with its reason — this is critical]

OPEN QUESTIONS / BLOCKERS:
[list any blockers or unanswered questions]

NEXT STEP:
[exact next step if defined in the file]
[if not defined: "No next step defined — recommend reviewing 'What Has NOT Been Tried Yet' together before starting"]

════════════════════════════════════════════════
Ready to continue. What would you like to do?

Read the full file on GitHub · 156 lines

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. 1mo ago First seen · 156 lines · 26 tokens per session scan A f92fc2998cb1

Subscribe to this mod's changes

resume-session is a command published in the GitHub repository multiplex-ai/muggle-ai-teams (2 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 1,327 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to resume-session, differing in 7 lines, and is treated as a copy.

Related

resume-session compared with commands from other repositories

resume-session next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
resume-sessionmultiplex-ai/muggle-ai-teamsCommand21mo agoMITA26Claude Code
cleanupw2ur/claude-code-setupCommand12d agoMITA28Claude Code
context-healthdoncheli/don-cheli-sddCommand593mo agoApache-2.0A77Claude Code
capturardoncheli/don-cheli-sddCommand593mo agoApache-2.0A74Claude Code
historialdoncheli/don-cheli-sddCommand593mo agoApache-2.0A10Claude Code
retrodoncheli/don-cheli-sddCommand593mo agoApache-2.0A6Claude Code
who-is-speakingtboome33/obsidian-mcp-routerCommand1todayApache-2.0A87Claude Code