ccc-save-session

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

A session-saving tool that compresses the current coding session into a dated summary that can be loaded later.

In plain words
What is it for?
It helps hand work to a future session, record what succeeded or failed, and resume complex tasks without rebuilding the history.
Why use it?
It preserves decisions, changed files, errors, test status, and next steps when a session ends or runs out of context.

Skill for Claude Code

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

Good fit It helps hand work to a future session, record what succeeded or failed, and resume complex tasks without rebuilding the history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinzai/commander/ccc-save-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-save-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-save-session

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-save-session"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-save-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,564 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 10
    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.00035 $0.01564
Opus 5.5 $0.00014 $0.00626
Sonnet 5.5 $0.00007 $0.00313
Haiku 4.5 $0.00003 $0.00156

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

Security

Grade A, and why

ccc-save-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.

commander/cowork-plugin-codex/skills/ccc-save-session/SKILL.md · 125 lines

How it starts

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

$ccc-save-session — Save session state

CC Commander · $ccc-save-session · one dated file the next session loads with $ccc-resume-session and continues from without re-deriving anything.

On Codex, AskUserQuestion becomes a plain-text question and skills are invoked as $ccc-memory.

When to use / when not to

  • Use at the end of a work session, before context limits (save first, then start a fresh session), after solving a hard problem, or whenever context must pass to a future session.
  • Use $ccc-handoff instead when the goal is to leave this chat now and continue in a fresh one; it writes the same format and ends with that instruction.
  • Use $ccc-memory for a durable project fact or decision that should outlive this one session.

What happens

  1. Gather context. Run, in the project directory:

    git status --short
    git diff --stat
    git log --oneline -10
    

    If git fails because the directory is not a repository, skip these and list touched files from the conversation. Then review what was discussed, attempted and decided; note every error hit and whether it was resolved. Record the test/build result already observed this session with the command that produced it; if none was observed, write "not run this session" rather than claiming a status.

  2. Resolve the file path.

    mkdir -p "$HOME/.claude/sessions" && echo "$HOME/.claude/sessions" && date +%F
    

    Build ~/.claude/sessions/YYYY-MM-DD-<short-id>-session.tmp from today's date and a short-id that:

    • uses only lowercase a-z, digits 0-9 and hyphens -;
    • is at least 8 characters;
    • has no uppercase letters, underscores or spaces.

    Valid: abc123de, frontend-worktree-1. Invalid: ABC123de (uppercase), short (under 8), test_id1 (underscore). Full example: 2024-01-15-abc123de-session.tmp. If $ARGUMENTS names a topic, derive the short-id from it (for example auth-refactor).

    Each session gets its own file. Confirm the target is free:

Read the full file on GitHub · 125 lines

Files

What ships with it

1 file 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. 1mo ago Changed · -2 lines · -22 tokens per session dd774e47241a
  2. 1mo ago Changed 43f478eb715f
  3. 1mo ago Changed · -64 lines · +19 tokens per session a672c56ec17e
  4. 2mo ago First seen · 191 lines · 38 tokens per session scan A 2623dd718528

Subscribe to this mod's changes

ccc-save-session is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 1,564 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-09-03.

Related

ccc-save-session compared with skills from other repositories

ccc-save-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-save-sessionKevinZai/commanderSkill6yesterdayMITA35Claude Code
agent-memory-mcpdavila7/claude-code-templatesSkill35ktodayMITA26Claude Code, Codex
token-optimizationcwinvestments/memstackSkill43318d agoMITA79Claude Code
memory-synckochetkov-ma/claude-brewcodeSkill417d agoMITA37Codex
debt-ops-initbcanfield/agentic-tech-debtSkill9yesterdayMITA76Claude Code, Codex
debt-ops-metricsbcanfield/agentic-tech-debtSkill9yesterdayMITA74Claude Code, Codex
knowledgebaseandisab/swe-marketplaceSkill232d agoMITA210Claude Code