garrytan avatar

Context Save

Save working context for resuming later with /context-restore, capturing branch state, decisions, and open tasks.

CCM score
62 of 100
skills.sh installs
386
GitHub stars
142.6K
last updated
Nov 25, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers saving session progress: branch, git status, diff summary, decisions made, and remaining work
  • Writes snapshots into a per-project state directory, keyed by optional title for later lookup
  • Enforces a capture-only boundary: the skill records state and never implements code changes
  • Pairs with /context-restore to resume a saved session, and /context-save list to browse saved snapshots

Install

$ npx -y skills add garrytan/gstack --skill context-save -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Shared preamble (load first)

This skill follows gstack shared preamble bddb4b7ad57b (AskUserQuestion format, voice, writing, completeness and completion rules). A section or subsection here with a shared heading replaces the shared one. Unless the next line loaded that file: if your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read ~/.claude/skills/gstack/context-save/sections/preamble.md in full before the command below.

!~/.claude/skills/gstack/bin/gstack-skill-load preamble ~/.claude/skills/gstack/context-save/sections/preamble.md

Preamble (run first)

!~/.claude/skills/gstack/bin/gstack-skill-load start --skill "context-save" --model "claude"

If the line above is not the start output, run this once; otherwise it already ran:

~/.claude/skills/gstack/bin/gstack-skill-start --skill "context-save" --model "claude"

Details

Repository
github.com/garrytan/gstack
Categories
Git & Releases, Memory & Context
License
MIT
First seen
Nov 25, 2026

More from garrytan/gstack

All 63

Similar to Context Save

More Git & Releases