maintaining-session-continuity

maintaining-session-continuity is a skill for Claude Code from betmoar/cc-reload-plugin. It costs 110 tokens per session (1,629 once invoked), scanned A, original, MIT.

Guidance for preserving a coding session across a context reset by saving a short digest and restoring it later. A context reset is when the conversation is cleared or compacted to make room for more work.

In plain words
What is it for?
Use it to decide when to snapshot work, arm an automatic reload, restore the saved digest, or tune the reload budget and mode.
Why use it?
It helps long tasks continue with their important decisions and progress intact without relying on the full earlier conversation.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: mentions subagents.

Part of the cc-reload plugin — 1 skill, 3 commands, 4 hooks shipped together

Good fit Use it to decide when to snapshot work, arm an automatic reload, restore the saved digest, or tune the reload budget and mode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/betmoar/cc-reload-plugin/maintaining-session-continuity
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 betmoar/cc-reload-plugin --skill maintaining-session-continuity
Clone the repo
git clone --depth 1 https://github.com/betmoar/cc-reload-plugin

Made for: Claude Code.

Or install cc-reload, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 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 maintaining-session-continuity

README.md
[![agentmods](https://agentmods.dev/badge/skills/betmoar/cc-reload-plugin/maintaining-session-continuity/github.svg)](https://agentmods.dev/skills/betmoar/cc-reload-plugin/maintaining-session-continuity)
Your own site
<a href="https://agentmods.dev/skills/betmoar/cc-reload-plugin/maintaining-session-continuity"><img src="https://agentmods.dev/badge/skills/betmoar/cc-reload-plugin/maintaining-session-continuity/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 maintaining-session-continuity

Your own site · 80×15
<a href="https://agentmods.dev/skills/betmoar/cc-reload-plugin/maintaining-session-continuity"><img src="https://agentmods.dev/badge/skills/betmoar/cc-reload-plugin/maintaining-session-continuity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,629 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 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.00110 $0.01629
Opus 5.5 $0.00044 $0.00652
Sonnet 5.5 $0.00022 $0.00326
Haiku 4.5 $0.00011 $0.00163

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

Security

Grade A, and why

maintaining-session-continuity 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.

skills/maintaining-session-continuity/SKILL.md · 110 lines

How it starts

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

Maintaining session continuity

cc-reload preserves an ordinary session's working thread across a context reset. It does not drive work (that's a loop — use cc-repete); it snapshots the thread to .reload/session.md before a reset and hands it back after.

The cycle: budget → snapshot → arm → rehydrate

Reset before rot, and long before auto-compaction — stay well under the window, never let auto-compact fire.

  1. Budget — the Stop hook watches occupancy; crossing context_budget_pct (default 45) escalates per context_budget_mode: notify (default) nudges in one status line, never blocks, re-nudges only every ~10 further points; snapshot forces the digest turn and arms. /reload-budget <pct> tunes it, /reload-budget notify|snapshot switches mode.
  2. Snapshot — a fresh digest is written (budget prompts it; /snapshot forces one).
  3. Arm — .reload/pending means "rehydrate on the next reset". Only armed resets rehydrate, so a deliberate /clear meant to drop context isn't undone.
  4. Rehydrate — SessionStart injects the digest and consumes the marker. Automatic; /reload does it on demand.

Judgment that isn't obvious from the mechanism

Lower the budget than you think. Occupancy is a % of the main session model's window (1M on current large-context models). Effective context — where reasoning stays sharp — degrades well before the raw window fills, so 45% of 1M is generous: prefer ~30 or lower for reasoning-heavy or context-sensitive work. Non-Claude models routed through the cc-proxy plugin (e.g. glm-4.5 at 128K, glm-4.6/glm-5 at 200K) have real windows far smaller than 1M. SessionStart learns this live from cc-proxy itself (one loopback-only call to its /v1/models, fired once per session) when the proxy is reachable; model_window()'s curated table is the offline fallback. An id neither the proxy nor the table knows still falls back to the optimistic 1M assumption, so pin context_window explicitly if you're running a small-window proxy model and the proxy might not be up at session start.

Read the full file on GitHub · 110 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 · +10 lines 7f42cea47865
  2. 1mo ago Changed · +30 lines f2f3854c23ca
  3. 1mo ago Changed · +1 lines 72881ea96794
  4. 1mo ago First seen · 69 lines · 110 tokens per session scan A 471a0e8d7ada

Subscribe to this mod's changes

maintaining-session-continuity is a skill published in the GitHub repository betmoar/cc-reload-plugin (1 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 1,629 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

session-close

Use at a session boundary — the session looks done, or you are breaking mid-work. Routes by fulfillment: goal delivered whole → done-close (closeout moves + this session's carry file cleared); in-motion remainder → park-close (card-anchored remainder appended as a ## Progress block on the owning card, only what no…

RockyHong/super-bootstrap · 181 tokens

session-continue

Use at session start to resume in-flight work — reads the root SESSION-STATE/ carry ledger and orients. Carries present → pick one (surface the list when several sessions are in flight), follow its Read first into the card it names and read the latest block of each type as the lead, reconstruct where work stopped +…

RockyHong/super-bootstrap · 156 tokens

brain-log

Show brain sync and evolution history.

toroleapinc/claude-brain · 10 tokens

memory-graveyard

Audit which entries in your project's MEMORY.md Claude actually reads. Use when the user wants to find dead memory entries, broken pointers in MEMORY.md, orphan memory files, or surface entries that fall below the system-prompt truncation cutoff. Triggers on "audit MEMORY.md", "dead memory entries", "broken memory…

sfrangulov/skill-graveyard · 103 tokens

save-learning

Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do Y', or gives any instruction they want persisted across sessions. Proactively suggest when the user states a preference, convention, or rule they clearly want followed in…

caliber-ai-org/ai-setup · 71 tokens

memory

Persistent, token-efficient project memory. When ON, maintains a .shob/memory/ folder of structured .md files so the full context of the project is NEVER lost across responses, sessions, or context compaction. Uses progressive disclosure — routes through a lightweight INDEX and loads only the files a task needs…

shobcoder/shob · 146 tokens