Skip to content
Back to skills

Session Continuation

ASecurity

Persists and restores mid-session workflow progress across context resets. Use when resuming workflows, saving state, or handling context compaction. Triggers on: handoff, save state, resume workflow.

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 29, 2026
ai-agentsgobashgit

Security analysis

A100/100

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

Scanned May 29, 2026

npx -y skills add ngocsangyem/MeowKit --skill session-continuation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Continuation?

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

Security grade badge for Session Continuation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ngocsangyem-session-continuation/badge)](https://www.skillsdirectory.com/skills/ngocsangyem-session-continuation)

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: mk:session-continuation
description: "Persists and restores mid-session workflow progress across context resets. Use when resuming workflows, saving state, or handling context compaction. Triggers on: handoff, save state, resume workflow."
model: haiku
triggers:
  - "handoff"
  - "save state"
  - "resume workflow"
  - "workflow:handoff"
  - "workflow:resume"
allowed-tools: Read, Write, Bash
source: aura-frog
keywords: [session-continuation, session-handoff, resume-workflow, context-reset, state-persistence]
when_to_use: "Auto-invoked when persisting/restoring mid-session workflow progress across context resets. Not user-callable directly."
user-invocable: false
---

<!-- Split for progressive disclosure (checklist #11, #14): 427 → ~60 lines -->

# Session Continuation

Manage workflow state across sessions with handoff and resume.

## When to Use

- Token count approaching 150K (75% of limit)
- User says "handoff", "save", "pause"
- User says "resume" + workflow ID
- Session ending with incomplete workflow
- Incomplete workflow from previous session

## Plan State Variables

```toon
state_vars[4]{var,purpose,persistence}:
  MEOWKIT_ACTIVE_PLAN,Current active plan path,Session temp file
  MEOWKIT_SUGGESTED_PLAN,Branch-matched plan hint,Inferred from git branch
  MEOWKIT_COMPLEXITY,Auto-detected task complexity,Session memory
  MEOWKIT_ACTIVE_AGENTS,Currently active agents,Session memory
```

## Process

1. **Detect trigger** — token limit, user command, or session ending
2. **If handoff** — load `references/handoff-flow.md`, execute save + summary
3. **If resume** — load `references/resume-and-state.md`, execute load + restore + continue
4. **If list** — show all saved workflows from `.claude/logs/workflows/`

## References

| Reference | When to load | Content |
|-----------|-------------|---------|
| **[handoff-flow.md](./references/handoff-flow.md)** | On handoff/save trigger | State save format, summary generation |
| **[resume-and-state.md](./references/resume-and-state.md)** | On resume trigger | Resume steps, state management, error handling, TOON format |

## Quick Commands

```
workflow:handoff           → Save state + get resume instructions
workflow:resume AUTH-123   → Load state + continue from last phase
workflow:list              → Show all saved workflows
```

## Gotchas

- **Stale handoff after codebase changes**: Saved state references files that were renamed or deleted → Validate all file paths in handoff state before resuming
- **TOON corruption on concurrent sessions**: Two agents writing state simultaneously → Use file locking or session-scoped state files

Files in this skill

  • SKILL.md2.6 KB
  • references/handoff-flow.md1.3 KB
  • references/resume-and-state.md2 KB

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.

Comments

Loading comments…

Newsletter

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