74-mid-session-save-150

[74] CLOSE. Quick checkpoint during active work when context is running low. Use multiple times per development cycle to preserve progress and lessons. Lighter than close-session — no full handoff needed. Triggers on 'save progress', 'checkpoint', 'context low', or automatically when nearing token limits.

16 stars

Best use case

74-mid-session-save-150 is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

[74] CLOSE. Quick checkpoint during active work when context is running low. Use multiple times per development cycle to preserve progress and lessons. Lighter than close-session — no full handoff needed. Triggers on 'save progress', 'checkpoint', 'context low', or automatically when nearing token limits.

Teams using 74-mid-session-save-150 should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/74-mid-session-save-150/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/design/74-mid-session-save-150/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/74-mid-session-save-150/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How 74-mid-session-save-150 Compares

Feature / Agent74-mid-session-save-150Standard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

[74] CLOSE. Quick checkpoint during active work when context is running low. Use multiple times per development cycle to preserve progress and lessons. Lighter than close-session — no full handoff needed. Triggers on 'save progress', 'checkpoint', 'context low', or automatically when nearing token limits.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Mid-Session Save 150 Protocol

**Core Principle:** Don't wait for session end to save. Checkpoint early, checkpoint often.

## What This Skill Does

This skill provides **quick checkpoints** during active work:
- Capture current progress without full handoff
- **Track what worked and what didn't** (raw material for lessons)
- Persist lessons learned so far
- Update session state for continuity
- Can be invoked **multiple times** per development cycle

### Key Insight: Progress Log as Lesson Source

The session progress log captures:
- ✅ What **worked** (successful approaches)
- ❌ What **didn't work** (failed attempts, dead ends)
- 🔄 What was **tried** (experiments, approaches tested)

This raw data becomes the source for extracting lessons later. Don't just save "what's done" — save the **journey** including failures.

## When to Use This Skill

**Triggers:**
- Context window running low (but not ending session)
- Significant progress made (feature partially done)
- Important lesson learned (don't risk losing it)
- Before complex/risky operation
- User says "save progress", "checkpoint", "зберегти"
- Every 30-45 min of active work (recommended cadence)

**NOT for:**
- Full session end → use `72-close-session-150`
- Just recording a single lesson → use `73-close-lessons-learn-150`

## The 150% Checkpoint Rule

- **100% Core:** What changed + current state
- **50% Enhancement:** Key learnings + immediate next step

## Quick Checkpoint Protocol

### Step 1: IDENTIFY CHANGES
What happened since last checkpoint:
- Files touched
- Decisions made
- Problems solved

### Step 2: LOG SESSION PROGRESS (Critical!)
Track the journey, not just the destination:
- ✅ **What worked** — successful approaches, solutions that fixed issues
- ❌ **What didn't work** — failed attempts, dead ends, wrong assumptions
- 🔄 **What was tried** — experiments, approaches tested, hypotheses
- 💡 **Why it worked/failed** — root cause understanding (if known)

**Write to:** `.sessions/SESSION_[date]-[name].md` in `## Progress Log` section
**Purpose:** Raw material for extracting lessons later

### Step 3: CAPTURE LESSONS (if ready)
If a clear lesson emerged:
- Add to MEMORY.md Lessons (Inbox)
- Don't skip this — context loss = lesson loss
- If lesson not yet clear, progress log will preserve the data

### Step 4: UPDATE SESSION LOG STATE
Current state in the session log:
- Update the `## Current State` block (or add it if missing)
- Keep it brief and current

### Step 5: QUICK CONTEXT SAVE
Final state in `.sessions/SESSION_[date]-[name].md`:
- Current focus + next action
- Ready for immediate continuation

## Output Format: Mid-Session Checkpoint

```
⏱️ **MID-SESSION CHECKPOINT**

**Checkpoint:** #N | [HH:MM]
**Task:** [Current task name]

## Since Last Checkpoint
- [Change 1]
- [Change 2]

## Progress Log (What Worked / What Didn't)
✅ Worked:
- [Successful approach 1]
- [Solution that fixed issue]

❌ Didn't Work:
- [Failed attempt 1] — reason: [why it failed]
- [Dead end 2] — reason: [wrong assumption]

🔄 Tried:
- [Experiment/hypothesis tested]

## Current State
- Working on: [Current focus]
- Status: [Progress indicator]

## Lessons Captured
- [Lesson added to MEMORY.md, or "Pending — data in progress log"]

## Next Action
→ [Immediate next step]

---
✅ Checkpoint saved | Ready to continue
```

## Ultra-Quick Format

When time is very short (< 1 min):

```
⏱️ CHECKPOINT #N

Done: [What completed]
Worked: [What succeeded]
Failed: [What didn't work + why]
Now: [Current state]  
Next: [Immediate action]
```

## What Gets Updated

| Location | What | When |
|----------|------|------|
| `.sessions/SESSION_[date]-[name].md` | Quick state + **Progress Log** | Every checkpoint |
| `MEMORY.md` Lessons (Inbox) | New learnings | Only if lessons are clear |

## Progress Log → Lessons Pipeline

```
Checkpoint #1: Log what worked/failed (raw data)
       ↓
Checkpoint #2: More data accumulated
       ↓
Checkpoint #3: Pattern emerges → Extract lesson → MEMORY.md Lessons (Inbox)
       ↓
Session End: Review all progress logs → Extract remaining lessons
```

**Key principle:** Not every checkpoint produces a lesson. The progress log is the **raw material** — lessons are **extracted** when patterns become clear.

## Checkpoint Cadence Recommendations

| Work Type | Recommended Interval |
|-----------|---------------------|
| Bug fixing | After each bug solved |
| Feature development | Every 30-45 min |
| Refactoring | After each file/component |
| Investigation | After major finding |
| Complex operation | Before and after |

## Comparison with Related Skills

| Skill | Purpose | When |
|-------|---------|------|
| `74-mid-session-save-150` | Quick checkpoint | During work, multiple times |
| `72-close-session-150` | Full handoff | End of session |
| `73-close-lessons-learn-150` | Record lesson | After success confirmation |

## Operational Rules

1. **CHECKPOINT OFTEN:** Better too many than too few
2. **LOG FAILURES TOO:** What didn't work is as valuable as what did
3. **LESSONS FIRST:** Don't lose learnings
4. **BE BRIEF:** Quick saves, not essays
5. **STAY CURRENT:** Update, don't accumulate
6. **IMMEDIATE NEXT:** Always know what's next
7. **PROGRESS = RAW DATA:** Not every checkpoint needs a lesson — collect data first

## Example: Development Cycle with Checkpoints

```
Start Session
    ↓
Load context (session-start-memory)
    ↓
Work on Feature Part 1
    ↓
⏱️ CHECKPOINT #1 (45 min in)
   └─ Progress: ✅ API route works | ❌ Hook failed (stale closure)
    ↓
Work on Feature Part 2
    ↓
⏱️ CHECKPOINT #2 (problem solved)
   └─ Progress: ✅ useCallback fixed closure | Pattern emerges → LESSON CAPTURED
    ↓
Work on Feature Part 3
    ↓
⏱️ CHECKPOINT #3 (context getting low)
   └─ Progress: 🔄 Trying SSR approach | ❌ hydration mismatch
    ↓
Continue or End Session
    ↓
Close session (close-session-150)
   └─ Review all progress logs → Extract lessons from ❌ patterns
```

### Example Progress Log Entry

```markdown
## Progress Log

### Checkpoint #1 — 14:30
✅ Worked:
- API route returns correct data
- Zod schema validates input

❌ Didn't Work:
- Direct state update in useEffect — caused infinite loop
- Reason: dependency array included computed object

🔄 Tried:
- useMemo for computed dependency — testing now

### Checkpoint #2 — 15:15
✅ Worked:
- useMemo solved the loop — stable reference now
- Component renders correctly

❌ Didn't Work:
- (none this round)

💡 Lesson extracted: "Never use computed objects in useEffect deps — use useMemo or extract IDs"
```

## Failure Modes & Recovery

| Failure | Detection | Recovery |
|---------|-----------|----------|
| **No checkpoints** | Lost context when resuming | Reconstruct from files, git, tests |
| **Stale checkpoint** | Info outdated | Update before continuing |
| **Lost lesson** | Repeated same mistake | Document with extra context |
| **Too verbose** | Checkpoint took too long | Use ultra-quick format |
| **Only logged success** | Repeated failed approach | Log ❌ failures with reasons |
| **No progress log** | Can't extract lessons at session end | Always log worked/didn't work |

---

**Remember:** Checkpoints are cheap. Lost context is expensive. When in doubt, checkpoint.

Related Skills

agent-sessions-layout

16
from diegosouzapw/awesome-omni-skill

Agent Sessions workbench layout — covers the fixed layout structure, grid configuration, part visibility, editor modal, titlebar, sidebar footer, and implementation requirements. Use when implementing features or fixing issues in the Agent Sessions workbench layout.

session-logs

16
from diegosouzapw/awesome-omni-skill

Search and analyze your own session logs (older/parent conversations) using jq.

session-log-data

16
from diegosouzapw/awesome-omni-skill

Describes the data files available in the coding agent environment after copilot-setup-steps runs. Use when analyzing downloaded session logs or aggregated usage data.

savestate

16
from diegosouzapw/awesome-omni-skill

Time Machine for AI. Encrypted backup, restore, and cross-platform migration for your agent's memory and identity. Supports OpenClaw, ChatGPT, Claude, Gemini, and more. AES-256-GCM encryption with user-controlled keys.

codex-sessions-skill-scan

16
from diegosouzapw/awesome-omni-skill

Daily skill health scan: analyze ~/.codex/sessions plus per-repo session logs under ~/dev (default last 1 day) and summarize skill invocations + likely failures for personal skills in ~/dev/agent-skills (missing paths, tool failures, complex-task word triggers). Optional: include best-effort local OTel signals.

session-init

16
from diegosouzapw/awesome-omni-skill

Initializes session with environment check and task status overview. Use when user mentions セッション開始, 作業開始, 状況確認, what should I work on, start session. Do NOT load for: 実装作業, レビュー, セッション途中の作業.

analyzing-git-sessions

16
from diegosouzapw/awesome-omni-skill

Analyzes git commits and changes within a timeframe or commit range, providing structured summaries for code review, retrospectives, work logs, or session documentation.

agentuity-cli-cloud-session-list

16
from diegosouzapw/awesome-omni-skill

List recent sessions. Requires authentication. Use for Agentuity cloud platform operations

token-saver-75plus

16
from diegosouzapw/awesome-omni-skill

Always-on token optimization + model routing protocol. Auto-classifies requests (T1-T4), routes execution to the cheapest capable model via sessions_spawn, and applies maximum output compression. Target: 75%+ token savings.

context-management-context-save

16
from diegosouzapw/awesome-omni-skill

Use when working with context management context save

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

astro-animations

16
from diegosouzapw/awesome-omni-skill

Animation patterns for Astro sites. Scroll animations, micro-interactions, transitions, loading states. Performance-focused, accessibility-aware.