Skip to content
Back to skills

Gitwhat

ASecurity

Concise git workspace snapshot for the current directory. Use when asked to show current branch, cwd, repo root, whether the current directory is a worktree, local dirty status, or whether other worktrees have uncommitted changes.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill gitwhat --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gitwhat?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gitwhat
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gitwhat/badge)](https://www.skillsdirectory.com/skills/majiayu000-gitwhat)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gitwhat
description: Concise git workspace snapshot for the current directory. Use when asked to show current branch, cwd, repo root, whether the current directory is a worktree, local dirty status, or whether other worktrees have uncommitted changes.
---

# Gitwhat

## Overview
Provide a short, formatted git status snapshot for the current working directory and any sibling worktrees.

## Quick start
- Run `scripts/gitwhat.sh` from the target directory.
- If not inside a git repo, report the cwd and exit.

## Output fields
- CWD
- Branch (or detached@<sha>)
- Repo root
- Worktree (yes/no + name or main)
- Status (clean/dirty with counts)
- Other worktrees (clean/dirty per worktree)

## Notes
- Keep output compact and use the script output as-is unless the user asks for more detail.
- Do not use network calls; rely on local git commands.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.