context-restore

Restores previously saved working context to resume interrupted sessions across branches.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/aicodepro/ai-agent-nexi --skill context-restore-aicodepro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-restore
Source: https://github.com/aicodepro/ai-agent-nexi/tree/main/agent/skills/gstack/context-restore
Command: npx skills add https://github.com/aicodepro/ai-agent-nexi --skill context-restore-aicodepro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Losing track of where you left off after switching branches, ending a session, or handing off between workspaces forces you to rebuild mental context from scratch. This Skill reloads the most recent saved state so you can resume work immediately. ## Core Features & Use Cases - Session State Restoration: Loads the most recent context snapshot saved by the companion /context-save command, across all branches by default. - Cross-Workspace Handoff: Picks up work even after Conductor workspace handoffs, so context survives environment changes. - Environment Awareness: Runs a preamble that detects branch, session kind, telemetry, and configuration state before restoring. - Use Case: You saved your progress yesterday with /context-save before switching tasks. Today you type "resume" or "where was I" and the Skill reloads that snapshot so you continue exactly where you stopped. ## Quick Start Ask the assistant to resume where I left off by restoring my last saved context.

Frequently Asked Questions about context-restore

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resume work after saving context with gstack?

Invoke the context-restore skill by saying "resume", "restore context", or "where was I". It loads the most recent state saved by /context-save, searching across all branches by default so you can pick up where you left off.

Does context-restore work across different git branches?

Yes, context-restore loads the most recent saved state across all branches by default, not just the current one. This lets you resume work even after switching branches or moving between Conductor workspaces.

What is the difference between context-save and context-restore?

context-save writes a snapshot of your current working state, while context-restore loads the most recent snapshot back. They are designed as a pair: save before stopping, restore when resuming.

Why was the checkpoint resume command renamed to context-restore?

It was renamed because Claude Code treats /checkpoint as a native rewind alias in current environments, causing conflicts. The context-restore name avoids that collision while keeping the same resume functionality.

Can context-restore run in headless or spawned sessions?

Yes, the preamble detects the session kind (interactive, spawned, or headless) and adapts behavior. In spawned sessions it skips interactive prompts and auto-chooses recommended options, while headless sessions block on unavailable prompts.