resume-session

resume-session is a command for coding agents from SaigonXIII/evc. It costs 0 tokens per session (492 once invoked), scanned A, original, MIT.

A command that loads a saved work session and shows what the project is about, what is finished, and what remains.

In plain words
What is it for?
Use it at the start of a session to load the newest session file, a session from a date, or a specific file.
Why use it?
It helps you continue work without reconstructing the project context from memory or old messages.

Command

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.

agentmods
npx agentmods add commands/saigonxiii/evc/resume-session
Clone the repo
git clone --depth 1 https://github.com/SaigonXIII/evc

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/saigonxiii/evc/resume-session.svg)](https://agentmods.dev/commands/saigonxiii/evc/resume-session)
Your own site
<a href="https://agentmods.dev/commands/saigonxiii/evc/resume-session"><img src="https://agentmods.dev/badge/commands/saigonxiii/evc/resume-session.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00492
Opus 5 $0.00000 $0.00246
Sonnet 5 $0.00000 $0.00098
Haiku 4.5 $0.00000 $0.00049

Measured 4d ago against content hash f731ff20162a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

_templates/commands/resume-session.md · 80 lines

How it starts

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

Resume Session

Load the last saved session state and orient before doing any work.

Trigger

User invokes /resume-session or says "resume", "where were we", "pick up where we left off", "continue from last session"

Usage

/resume-session                          # loads most recent file
/resume-session 2026-03-31               # loads most recent for that date
/resume-session path/to/session.md       # loads specific file

Steps

1. Find the session file

If no argument:

  1. Check {{SESSION_DIR}}/
  2. Pick the most recently modified *-session.md file
  3. If none found: "No session files found. Run /save-session at the end of a session to create one."

If argument is a date (YYYY-MM-DD): search for matching files, load most recent. If argument is a file path: read that file directly.

2. Read the entire session file

Read the complete file. Do not summarize yet.

3. Present structured briefing

SESSION LOADED: [path]
════════════════════════════════════════════════

PROJECT: [project name / topic]

WHAT WE'RE BUILDING:
[2-3 sentence summary]

CURRENT STATE:
Working: [count] items confirmed
In Progress: [list]
Not Started: [list]

WHAT NOT TO RETRY:
[every failed approach with its reason]

OPEN QUESTIONS / BLOCKERS:
[list]

NEXT STEP:
[exact next step from file, or "No next step defined"]

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

4. Wait for the user

Do NOT start working automatically. Do NOT touch any files. Wait for direction.

Edge Cases

  • File references missing files: Note "WARNING: path referenced but not found on disk."
  • Session older than 7 days: Note "WARNING: This session is from N days ago. Things may have changed."
  • Empty/malformed file: Report and suggest creating a new one with /save-session.

Rules

  • Never modify the session file when loading — it's read-only
  • Always show "What Not To Retry" even if empty
  • Also load any relevant memory files from the project memory directory

Read the full file on GitHub · 80 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. 4d ago First seen · 80 lines · 0 tokens per session scan A f731ff20162a

Subscribe to this mod's changes

resume-session is a command published in the GitHub repository SaigonXIII/evc (56 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 492 tokens. 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.