Skip to content
Back to skills

Context Checkpoint

ASecurity

Context compression is unpredictable. One moment you're

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
securitygobashsecurity

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill context-checkpoint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context Checkpoint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context Checkpoint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-context-checkpoint/badge)](https://www.skillsdirectory.com/skills/modbender-context-checkpoint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Context Checkpoint Skill
description: Context compression is unpredictable. One moment you're
  mid-conversation, the next you wake up with amnesia. Important decisions, open
  threads, and working context — gone.
---

# Context Checkpoint Skill

**Purpose:** Save conversation state before context compression kills it.

## The Problem

Context compression is unpredictable. One moment you're mid-conversation, the next you wake up with amnesia. Important decisions, open threads, and working context — gone.

## The Solution

Proactive checkpointing. Save state regularly so when compression hits, you have something to reload.

## Usage

### Manual Checkpoint
When you're in a conversation and want to preserve state:
```bash
# Save current state
./skills/context-checkpoint/checkpoint.sh "Brief description of what we're doing"
```

### Heartbeat Integration
Add to HEARTBEAT.md:
```markdown
### Context Checkpoint
- If conversation has important open threads, run checkpoint
- Check memory/checkpoints/ for stale checkpoints (>24h old, can clean up)
```

### On Session Start
Read the latest checkpoint:
```bash
cat memory/checkpoints/latest.md
```

## What Gets Saved

The checkpoint creates a markdown file with:
- Timestamp
- Description (what you were doing)
- Open threads / active tasks
- Key decisions made
- Important context to remember

## File Structure

```
memory/checkpoints/
├── latest.md           # Symlink to most recent
├── 2025-01-30_1530.md  # Timestamped checkpoints
├── 2025-01-30_1745.md
└── ...
```

## Security Considerations

- **Risk:** Low. Only writes to local workspace.
- **No credentials:** Doesn't touch external services.
- **No exec:** Just file operations.
- **Blast radius:** Worst case, fills up disk with checkpoints. Mitigated by cleanup routine.

## Recommended

Yes. Every agent should have a way to preserve context across compression events. This isn't fancy — it's just disciplined note-taking automated.

---

*Built by Lulu because I got tired of waking up with amnesia.* 🦊

Files in this skill

  • README.md1.6 KB
  • SKILL.md2.1 KB
  • checkpoint-smart.sh1.9 KB
  • checkpoint.sh1.2 KB
  • cleanup.sh776 B
  • list.sh586 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.