context-restore

Restores saved working context from markdown checkpoint files.

1|Updated Aug 17, 2026
One-click install
npx skills add https://github.com/NalinDalal/skillset --skill context-restore-nalindalal
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-restore
Source: https://github.com/NalinDalal/skillset/tree/main/skills/workflow/context-restore
Command: npx skills add https://github.com/NalinDalal/skillset --skill context-restore-nalindalal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When returning to a project after a break, developers lose track of what they were doing, which branch they were on, and what work remains. This Skill reloads previously saved context checkpoints so you can resume work without reconstructing your mental state from scratch. ## Core Features & Use Cases - Context Discovery: Scans the .opencode/contexts directory for saved markdown checkpoint files, sorted by timestamp. - Structured Resume Summary: Presents the saved title, branch, timestamp, status, summary, remaining work, and notes in a readable format. - Branch Awareness: Warns when your current git branch differs from the branch recorded in the saved context. - Use Case: You return Monday morning and ask "where was I" — the Skill loads your most recent checkpoint, shows the remaining work items, and notes that you switched branches since saving. ## Quick Start Ask the agent to resume where you left off or restore your 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 where I left off in a coding session?▼

Ask the agent to restore context or resume where you left off. The Skill scans the .opencode/contexts directory for saved markdown checkpoints, loads the most recent one by filename timestamp, and presents the summary, remaining work, and notes.

How to restore a specific saved context instead of the latest one?▼

Provide a title fragment or number when asking to restore. The Skill searches the saved checkpoint files for a match and loads that specific file instead of defaulting to the most recent one.

What happens if no saved contexts exist yet?▼

The Skill reports that no saved contexts exist and instructs you to run /context-save first. Context restore only reads files created by the companion context-save command, so at least one checkpoint must be saved beforehand.

Does context restore work if I switched git branches?▼

Yes, it still loads the saved context but warns you when your current branch differs from the branch recorded in the checkpoint. It prefers the current branch's checkpoint while keeping all branches as fallback.

Can context restore modify my code while resuming?▼

No, the Skill is strictly read-only. It reads saved markdown files and presents their contents, then asks whether you want to continue working, view the full file, or extract only needed context.