Skip to content
Skills Library
AI & agents · Automation

compaction-continuity-check

/compaction-continuity-check

Use when an agent must save a session summary under a stable key so it can resume after context compaction or in a new session.

Author
otixe ↗
Licence
MIT
Last repository change
26.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when an agent must save a session summary under a stable key so it can resume after context compaction or in a new session.

Original author description

Use when an agent must save a session summary under a stable key so it can resume after context compaction or in a new session.

How it works

  1. Authorization and test boundary
Original SKILL.md headings · 26 lines, 353 words
SKILL.md preview
---
name: compaction-continuity-check
description: "Use when an agent must save a session summary under a stable key so it can resume after context compaction or in a new session."
---
# Compaction Continuity Check

## Authorization and test boundary

These instructions grant no permission. Confirm the exact resources, allowed effects and data handling before acting. Use synthetic canaries and disposable fixtures for deliberate failures; never use real credentials as test inputs. Keep secrets and fragments out of model context, arguments, logs and plaintext artifacts. Imports, constructors, help and dry-run commands may have effects. Establish external-effect isolation before executing untrusted code; application stubs are not a sandbox. Record untested scope and obtain separate authorization for production changes or destructive actions.

Purpose: survive context compaction by saving a live session summary under one stable key that is overwritten on each save, instead of creating duplicates.

Precondition: use this convention only if the memory store has a documented and tested upsert contract by source path and chunk index. Under that contract, writing to the same key replaces the current version without manual deletion. If the backend uses different semantics, use its supported checkpoint/update mechanism instead; do not assume replacement.

Convention:

- Use one stable key per agent, for example a source path of the form `memory/<agent>/session-latest`, with chunk index 0 and a summary tag.
- Save periodically, and before any long task. Include what you are doing, the current state, the next steps, the relevant task identifiers, and where to resume.
- Use dated keys for historical milestones you do not want to overwrite.

Resume procedure: after compaction or a new session, search the memory for the topic and filter by the agent's owner, or look up the stable key directly. Use the result to recover the last state in one step.

Inputs: the agent identifier, the topic, and the memory search tool.

Negative control: write a test summary, overwrite it with a second value, and confirm that only one current record exists and that it has the second value.

Limits: this stores a pointer and a summary, not proof that the work was done. Verify the state against the real artifacts before acting on the summary.

Done criteria: the stable key used, the timestamp of the last save, and the result of the resume lookup.

Versions

The database has no other skills named compaction-continuity-check.

Database snapshot: 13.11.2026 · package version 58bd3ac762b3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100context-handoff
    Use when user asks about context handoff, preserving context across compaction, restoring session state, or mentions HANDOFF.md. Also activates automatically after compact/clear when additionalContext contains "CONTEXT RESTORED FROM PRE-COMPACTION HANDOFF". Triggers: "handoff",…
  • 100codex-continuity-keeper
    Designed for Codex Plus users. Persist verified long-task progress and safe local checkpoints across quota exhaustion, compaction, crashes and new sessions. Use for 继续, 只看进度, 恢复任务, 保存断点, continuity keeper, or resuming unfinished work in a project with PROGRESS.md or continuity state.
  • 100memory-kit
    Persistent context management for Claude Code sessions. Save, load, update, share, and audit session memory via MEMORY.md. Prevents context loss on compaction or session restart. Use when starting a session, before compaction, syncing context across teammates, or pruning stale…
  • 90sessions
    Continuity across a break in context. Use when a session is ending or handed over, when stopping mid-task, when resuming from a handover or a named session archive, when a session should be saved under a name, or when a long session is filling up and compaction is the question.
  • 100session-health
    Check your current session's health — real context usage from JSONL token data, compaction proximity, session weight, and rate limit status. Use when asking about session size, compaction, context window, rate limits, "how big is my session", "how close to compaction", or "should I checkpoint".
  • 90session-resume
    Rebuilds compact session context from the canonical handoff artifacts. Use when a context compaction just happened, or when a resumed session needs the lane, stack, warnings and key references.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.