Stash Namer for Openclaw

A CLI tool that uses AI to analyze your git diffs and automatically create 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 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 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 specialized utility designed to eliminate the common problem of mystery git stashes. Instead of using generic labels like "WIP" or leaving stashes unnamed, this tool leverages artificial intelligence to analyze your current code changes and generate a human-readable, context-aware description. By integrating this into your Openclaw Skills collection, you can maintain a cleaner, more navigable development history without the manual overhead of drafting descriptions.

Built as part of the LXGIC Dev Toolkit, Stash Namer prioritizes a zero-config experience. It bridges the gap between technical git operations and intelligent automation, making it an essential asset for developers who handle multiple tasks simultaneously and need to switch contexts quickly without losing track of their progress.

Stash Namer Use Cases

  • Quickly switching between branches or feature contexts without losing track of work in progress.
  • Saving work securely before performing a git pull to avoid merge conflicts.
  • Organizing experimental code changes that are not yet ready for a formal commit.
  • Managing a large volume of stashes by providing searchable, descriptive metadata for each entry.

How Stash Namer Works

  1. The tool executes a git diff command to identify all current staged and unstaged changes in your repository.
  2. This diff data is processed and sent to the GPT-4o-mini model to determine the core intent of the modifications.
  3. The AI generates a concise and descriptive name that accurately reflects the technical changes performed.
  4. The tool then automatically runs the git stash push -m command using the AI-generated string as the message.

Stash Namer Setup

Stash Namer requires Node.js 18 or higher and an active OpenAI API key. No permanent installation is necessary as it can be run on-demand.

# Set your OpenAI API key environment variable
export OPENAI_API_KEY='your_api_key_here'

# Execute the tool using npx
npx ai-stash-name

This makes it one of the most portable Openclaw Skills for your terminal environment.

Stash Namer Data Schema & Taxonomy

The skill operates on your local git directory and communicates with an LLM for inference. It organizes data as follows:

Data Type Description Usage
Git Diff The raw code changes in the working directory Input for the AI model
Stash Message An AI-generated string describing the changes Metadata for the git stash
Environment Variable OPENAI_API_KEY Authentication for name generation

No code is stored externally beyond the transient request to the AI model for name generation.

Stash Namer Advanced Features

  • Dry-run capability to preview the AI-generated name without actually executing the stash command.
  • Native support for GPT-4o-mini to ensure high-speed and cost-effective name generation.
  • Automatic inclusion of both staged and unstaged files to provide a comprehensive context for the generated name.
  • Part of the wider LXGIC ecosystem of Openclaw Skills designed for high-velocity software engineering.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*