context-save

Save git state, decisions, and remaining work to session files.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/chriswestt/claude-skills --skill context-save-chriswestt
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-save
Source: https://github.com/chriswestt/claude-skills/tree/main/gstack/context-save
Command: npx skills add https://github.com/chriswestt/claude-skills --skill context-save-chriswestt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Save your working context by capturing the git state, decisions made, and remaining work so you can resume exactly where you left off.

Core Features & Use Cases

  • Save the current git state, decisions, and remaining work so you can resume later
  • Pair with /context-restore to automatically reload context in a new session
  • Designed for use when you want to save progress or context in long-running tasks

Quick Start

Run the context-save operation now to capture your git state and decisions, then use context-restore to resume later.

Frequently Asked Questions about context-save

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

FAQPage Schema
How do I save my git workflow context across coding sessions?▼

To save your git workflow context across sessions, this Skill captures the current git state, decisions made, and remaining work, storing the data under ~/.gstack/sessions so you can resume exactly where you left off.

What is the best way to checkpoint my current working session before switching branches?▼

The best way to checkpoint your working session is to issue a context save command, which records your current git branch, PID, and session metadata to preserve progress in long-running tasks before switching branches.

How do I restore a saved git context and resume my previous work?▼

To restore a saved git context, you pair this Skill with a context-restore operation that automatically reloads the captured git state, decisions, and remaining work into your new session.

Do I need bash and file search tools to save my working context?▼

Yes, saving your working context requires Bash, Read, Write, Glob, Grep, and AskUserQuestion tools to capture the git state and record session metadata properly.

What git state and session metadata does a context save capture?▼

A context save captures the current git branch, process ID, decisions made, and remaining work, storing this session metadata locally under the ~/.gstack/sessions directory.

Can I use context save for long-running tasks if I don't commit my git changes?▼

Yes, context save works for long-running tasks by capturing the git state and decisions without requiring a commit, preserving your progress and remaining work across sessions.