Git stash + session linking
Saves git changes to stash with your Claude Code session ID for later retrieval. Triggers when you want to pause work and link changes to a specific conversation.
/plugin marketplace add jongwony/cc-plugin/plugin install session@cc-pluginThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Save git changes to stash with Claude Code session ID for later retrieval and session continuity.
Link git stash entries to Claude Code sessions. When resuming work, find the exact stash associated with a previous conversation.
claude:[session_id] [user_message]
Example: claude:abc123de My feature work in progress
Stash current changes with session ID tag.
Call AskUserQuestion to collect Session ID:
Call AskUserQuestion to collect stash message:
Execute stash:
git stash push -m "claude:[session_id] [message]"
Confirm success with stash reference.
Show stash entries for a specific session or all claude-tagged stashes.
Call AskUserQuestion:
Execute based on input:
# All claude stashes
git stash list | grep "claude:"
# Specific session
git stash list | grep "claude:[session_id]"
Present results as table: | Index | Session ID | Message | Date |
Restore stash by session ID.
Call AskUserQuestion:
Find matching stash:
git stash list | grep "claude:[session_id]"
If multiple matches, call AskUserQuestion with options list.
If single match, apply:
git stash pop stash@{n}
Report restored files.
Remove stash by session ID (irreversible).
Call AskUserQuestion:
Find and display matching stash.
Call AskUserQuestion for confirmation:
Execute only on explicit "yes":
git stash drop stash@{n}
Users find Session ID in Claude Code statusline (bottom of terminal). Format: short hash (e.g., abc123de).
-u flag available)