ccc-resume-session

ccc-resume-session is a skill for Claude Code from KevinZai/commander. It costs 68 tokens per session (1,490 once invoked), scanned A, original, MIT.

A session-recovery tool that loads a saved work file and turns it into a briefing. A session file records the context and progress from earlier work.

In plain words
What is it for?
Use it to restore the latest saved session or load a specific session file.
Why use it?
It helps an agent continue after a new session or a lost context window without starting from scratch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; names the AskUserQuestion tool.

Good fit Use it to restore the latest saved session or load a specific session file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinzai/commander/ccc-resume-session
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 KevinZai/commander --skill ccc-resume-session
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-resume-session/github.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-resume-session)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-resume-session"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-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 ccc-resume-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-resume-session"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-resume-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,490 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Rogue Agent · line 40
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00068 $0.01490
Opus 5.5 $0.00027 $0.00596
Sonnet 5.5 $0.00014 $0.00298
Haiku 4.5 $0.00007 $0.00149

Measured 2d ago against content hash 6f43e71c28d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ccc-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 2d 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.

commander/cowork-plugin-codex/skills/ccc-resume-session/SKILL.md · 148 lines

How it starts

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

$ccc-resume-session — Resume session state

CC Commander · $ccc-resume-session · a fixed-format briefing from the last saved session, then a picker; no work starts until the user chooses.

Counterpart to $ccc-save-session and $ccc-handoff, which write the files this skill reads. On Codex, AskUserQuestion becomes a plain-text question.

When to use / when not to

  • Use when starting a session that continues earlier work, after restarting for context limits, or when handed a session file from another source (pass its path).
  • Use $ccc-recall instead to search across many past sessions for one fact; this skill loads one session in full.

Usage

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

What happens

  1. Find the session file from $ARGUMENTS:

    • No argument → most recently modified session file:

      ls -t "$HOME"/.claude/sessions/*-session.tmp 2>/dev/null | head -1
      
    • A date (YYYY-MM-DD) → most recently modified file for that date, legacy or short-id form:

      ls -t "$HOME"/.claude/sessions/"$ARGUMENTS"*-session.tmp 2>/dev/null | head -1
      
    • A path → use it directly; check it with test -f "<path>" && echo found.

    Empty output or no found → print the message below and stop.

    No session files found in ~/.claude/sessions/
    Run $ccc-save-session at the end of a session to create one.
    

    For a date or path that does not match, name what was searched and stop.

  2. Read the entire file with Read. Do not summarize before the whole file is read. If it is empty or has none of the expected ## sections, report "Session file found but appears empty or unreadable. You may need to create a new one with $ccc-save-session." and stop.

Read the full file on GitHub · 148 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. 2d ago Changed 6f43e71c28d5
  2. 12d ago Changed · +23 lines · +30 tokens per session 3c8e31b7a2a8
  3. 1mo ago First seen · 125 lines · 38 tokens per session scan A 7897b66c3cdc

Subscribe to this mod's changes

ccc-resume-session is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,490 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

fresh-start

Continue in a new chat without losing anything — writes a compact handoff to paste into a fresh conversation. Use whenever the user wants to move to a new chat or conversation, hits usage limits, says replies got slow or Claude forgets earlier details, or the conversation has grown long.

egorfedorov/claude-context-optimizer · 60 tokens

token-check

Estimate how many tokens a pasted text, an attached file or the conversation so far takes, what it means for the context window and usage limits, and how to cut it. Use when the user asks how big something is in tokens, why they keep hitting limits, or whether a file is too large to send.

egorfedorov/claude-context-optimizer · 66 tokens

maude

Use when the user is starting a session, losing track of where something is, asking "where did I put X", "where is X", "what's the state of Y", "what changed", wants to audit their config or setup, says "save this", "remember this", "remind me about Z", or invokes any /maude: command. ALSO use when the user expresses…

john-broadway/maude-for-claude · 191 tokens

context-hygiene

Use when starting a project, reading project documentation or history, or resolving conflicts between documents. For current state, read only the latest documents designated by the project; do not proactively read archives; do not duplicate the spec; use long-term memory only for environment, people, and preferences…

chipfighter/coding-discipline · 67 tokens

session

Session lifecycle management. Parent skill for session-related skills: learning (pattern extraction) and compact (context compression).

xiaobei930/cc-best · 24 tokens

vault

Context vault operations: read/update todos, add log entries, search vault content, read strategy/project docs, update project files. Use when user says "vault", "add todo", "update todos", "log entry", "search vault", "check todos", "context vault", "add to log", or any operation on a personal context vault.

floomhq/moto · 72 tokens