context-restore

Restores previously saved working context to resume interrupted coding sessions.

Updated Aug 9, 2026
One-click install
npx skills add https://github.com/raghavbadhwar/rstack --skill context-restore-raghavbadhwar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-restore
Source: https://github.com/raghavbadhwar/rstack/tree/main/context-restore
Command: npx skills add https://github.com/raghavbadhwar/rstack --skill context-restore-raghavbadhwar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Losing track of where you left off in a coding session wastes time reconstructing branch state, pending tasks, and prior decisions. This Skill reloads the working context saved earlier by /context-save so you can resume work immediately, even across Conductor workspace handoffs. ## Core Features & Use Cases - Session State Restoration: Loads the most recent saved state, preferring the current git branch and falling back across branches when needed. - Environment-Aware Preamble: Detects session kind (interactive, headless, spawned, Conductor), repo mode, telemetry settings, and upgrade status before restoring context. - Cross-Workspace Continuity: Supports resuming work across Conductor workspace handoffs and pairs directly with /context-save for a complete checkpoint workflow. - Use Case: You return to a project after the weekend and ask the agent to resume where you left off; the Skill locates the saved snapshot for your branch and reloads the task state so work continues without re-briefing. ## Quick Start Ask the agent to resume where you left off or restore context for the current branch.

Frequently Asked Questions about context-restore

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

FAQPage Schema
How do I resume where I left off in a coding session?

Invoke the context-restore skill with a phrase like "resume where I left off" or "restore context". It loads the most recent state saved by /context-save, preferring your current git branch and falling back across branches.

How to save and restore agent context across sessions?

Use /context-save to checkpoint your current working state, then /context-restore to reload it later. The pair works across sessions and even across Conductor workspace handoffs.

Does context restore work across different git branches?

Yes, it prefers saved state matching the current branch but falls back to snapshots from other branches when no branch-specific match exists. This lets you resume work even after switching branches.

Can context restore run in headless or CI environments?

Yes, the preamble detects headless, spawned, and interactive session kinds and adjusts behavior accordingly. In headless mode it skips interactive prompts and blocks rather than rendering prose to nobody.

What happens if no saved context exists for my project?

The skill reports zero learnings and no matching saved state, then continues with the standard preamble checks. You would need to run /context-save first to create a restorable checkpoint.