Receber por email
← Voltar para o catálogo

mk:session-continuation

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.

15estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add ngocsangyem/MeowKit

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/mk-session-continuation/svg)](https://www.skillteca.com.br/skills/mk-session-continuation)
#ai

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

<!-- 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

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
Compartilhar X LinkedIn