mcpbeat

Gitwhat

instructa/gitwhat

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.

1k tokens
context cost
the whole folder, loaded on every use
3
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
131
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/instructa/agent-skills --skill gitwhat

What comes with it

3 247 bytes besides the instruction
README.md
scripts/gitwhat.sh

The instruction itself

5 sections, as written by the author

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.

How to use it

Copy the folder

Take instructa/gitwhat from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.