git:stash-manager

git:stash-manager is a command for Claude Code from geoffjay/claude-plugins. It costs 25 tokens per session (4,937 once invoked), scanned A, original, MIT.

A Git command for saving, listing, inspecting, restoring, and organizing uncommitted changes. Git stash temporarily puts unfinished work aside so you can change context without committing it.

In plain words
What is it for?
Use it to manage multiple saved work-in-progress changes, move changes between branches, or restore experimental work.
Why use it?
It helps you switch branches, pull updates, or test another change while keeping work that is not ready to commit.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: positional $N argument.

Good fit Use it to manage multiple saved work-in-progress changes, move changes between branches, or restore experimental work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/geoffjay/claude-plugins/stash-manager
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/geoffjay/claude-plugins

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git:stash-manager

README.md
[![agentmods](https://agentmods.dev/badge/commands/geoffjay/claude-plugins/stash-manager/github.svg)](https://agentmods.dev/commands/geoffjay/claude-plugins/stash-manager)
Your own site
<a href="https://agentmods.dev/commands/geoffjay/claude-plugins/stash-manager"><img src="https://agentmods.dev/badge/commands/geoffjay/claude-plugins/stash-manager/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git:stash-manager

Your own site · 80×15
<a href="https://agentmods.dev/commands/geoffjay/claude-plugins/stash-manager"><img src="https://agentmods.dev/badge/commands/geoffjay/claude-plugins/stash-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.04937
Opus 5.5 $0.00010 $0.01975
Sonnet 5.5 $0.00005 $0.00987
Haiku 4.5 $0.00003 $0.00494

Measured 1mo ago against content hash 5f947645075f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git:stash-manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/utilities/git/commands/stash-manager.md · 752 lines

How it starts

The opening of the file, as written. The whole thing — 752 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Stash Manager - Advanced Stash Operations

Advanced stash management including list, save, apply, pop, and organize stashes with detailed context.

Command

/git:stash-manager <action> [stash-ref-or-message]

Arguments

  • $1: action - list|save|apply|pop|show|drop|clear|branch (required)
  • $2: stash-ref or message - Depends on action (stash@{n} for apply/pop/show/drop, message for save)

Description

Git stash allows you to save uncommitted changes temporarily and restore them later. This is useful when you need to switch contexts, pull updates, or try experimental changes without committing. The stash manager provides an organized way to manage multiple stashes with better visibility and control.

Use Cases

  • Switch branches without committing work-in-progress
  • Pull latest changes with uncommitted local changes
  • Try experimental changes with easy rollback
  • Temporarily remove changes to test something
  • Save different variations of work
  • Transfer changes between branches
  • Context switching during interruptions

Workflow

Listing Stashes

  1. Display all stashes:

    git stash list
    
  2. Enhanced listing with details:

    • Show stash index and message
    • Show branch where stash was created
    • Show date/time of stash creation
    • Show which files are affected
    • Show summary of changes (additions/deletions)
    • Highlight recent stashes (< 24 hours)
  3. For each stash show:

    stash@{0}: On feature-auth: WIP authentication module
      Branch: feature-auth
      Created: 2 hours ago (2025-10-21 14:30:15)
      Files: 3 modified, 1 added
        M  src/auth.js (+45, -12)
        M  src/session.js (+23, -5)
        A  src/token.js (+67)
      Size: ~135 lines changed
    
  4. Interactive options:

    • Show diff for specific stash
    • Apply or pop stash
    • Delete stash
    • Create branch from stash
    • Export stash as patch file

Saving Stashes

  1. Gather stash options:
    • Ask for descriptive message (required)
    • Ask if including untracked files (-u)
    • Ask if including ignored files (-a, all)
    • Ask if keeping staged changes (--keep-index)
    • Ask if including path-specific changes

Read the full file on GitHub · 752 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 752 lines · 25 tokens per session scan A 5f947645075f

Subscribe to this mod's changes

git:stash-manager is a command published in the GitHub repository geoffjay/claude-plugins (8 stars, last pushed 11mo ago), licensed MIT. It adds 25 tokens to every session and 4,937 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.