stash-namer for Openclaw

An AI-driven CLI tool that analyzes your code changes to automatically generate descriptive names for your git stashes.

lxgicstudios
v1.0.2
Jan 29, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install stash-name-gen

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install stash-name-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is stash-namer?

stash-namer is a developer-focused utility designed to eliminate the frustration of mystery stashes or generic WIP labels. By leveraging AI to analyze your current code diffs, it creates contextually relevant names that make your stashed work easy to identify and manage later. As a highlighted entry among Openclaw Skills, this tool ensures your local version control history remains clean and searchable.

Built for speed and simplicity, it provides a zero-config experience that integrates directly with your existing git workflow. Whether you are a solo developer or part of a large team, this skill helps maintain clarity when switching branches or pausing mid-task.

stash-namer Use Cases

  • Switching contexts between feature branches quickly without losing progress.
  • Saving experimental work before performing a git pull or rebase.
  • Organizing a cluttered stash list with human-readable, descriptive names.
  • Preserving specific logic segments during a refactor without committing them.

How stash-namer Works

  1. The tool runs a git diff command to capture all staged and unstaged changes in your current directory.
  2. A summary of the code modifications is sent to a lightweight AI model (GPT-4o-mini) to interpret the intent of the changes.
  3. The AI generates a concise, descriptive title based on the diff context.
  4. The tool executes the git stash push -m command using the generated title to store your work locally.

stash-namer Setup

To use this tool, ensure you have Node.js 18+ and an OpenAI API key available in your environment.

export OPENAI_API_KEY='your_api_key_here'
npx ai-stash-name

stash-namer Data Schema & Taxonomy

The skill interacts with your local Git repository and processes data as follows:

Data Type Source Purpose
Code Diff Local Git Repo Analyzes staged and unstaged changes to determine context.
API Key Environment Variable Authenticates requests to the AI naming engine.
Stash Message AI Generated Applied as the metadata label for the git stash entry.
Git Metadata Local Git Repo standard stash references including branch name and parent commit.

stash-namer Advanced Features

  • Dry-run mode using --dry-run to see the generated name without actually stashing code.
  • Automatic inclusion of both staged and unstaged changes for complete context capturing.
  • No permanent installation required by utilizing npx for on-demand execution.
  • Seamless integration into Openclaw Skills automated developer environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*