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.
npx skills add KevinZai/commander --skill ccc-save-sessiongit clone --depth 1 https://github.com/KevinZai/commanderWrote 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.
[](https://agentmods.dev/skills/kevinzai/commander/ccc-save-session)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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-handoffinstead 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-memoryfor a durable project fact or decision that should outlive this one session.
What happens
-
Gather context. Run, in the project directory:
git status --short git diff --stat git log --oneline -10If
gitfails 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. -
Resolve the file path.
mkdir -p "$HOME/.claude/sessions" && echo "$HOME/.claude/sessions" && date +%FBuild
~/.claude/sessions/YYYY-MM-DD-<short-id>-session.tmpfrom today's date and a short-id that:- uses only lowercase
a-z, digits0-9and 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$ARGUMENTSnames a topic, derive the short-id from it (for exampleauth-refactor).Each session gets its own file. Confirm the target is free:
- uses only lowercase
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.
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.
- 1mo ago Changed · -2 lines · -22 tokens per session dd774e47241a
- 1mo ago Changed 43f478eb715f
- 1mo ago Changed · -64 lines · +19 tokens per session a672c56ec17e
- 2mo ago First seen · 191 lines · 38 tokens per session scan A 2623dd718528
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.
ccc-save-session compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ccc-save-sessionKevinZai/commander | Skill | 6 | yesterday | MIT | A | 35 | Claude Code |
| agent-memory-mcpdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 26 | Claude Code, Codex |
| token-optimizationcwinvestments/memstack | Skill | 433 | 18d ago | MIT | A | 79 | Claude Code |
| memory-synckochetkov-ma/claude-brewcode | Skill | 41 | 7d ago | MIT | A | 37 | Codex |
| debt-ops-initbcanfield/agentic-tech-debt | Skill | 9 | yesterday | MIT | A | 76 | Claude Code, Codex |
| debt-ops-metricsbcanfield/agentic-tech-debt | Skill | 9 | yesterday | MIT | A | 74 | Claude Code, Codex |
| knowledgebaseandisab/swe-marketplace | Skill | 23 | 2d ago | MIT | A | 210 | Claude Code |