gitview
Which branches are finished, and which only look like it
One table: worktree, branch, open pull request, ahead, behind, unpushed, and whether the branch can go. The last column is the hard one. A branch merged by squash stays ahead of the trunk forever while contributing nothing, so gitview works it out by test-merging rather than by reading a number that has stopped meaning anything.
Install gitview
Add the DBHQ marketplace, once
/plugin marketplace add dbhq-uk/marketplaceInstall the skill
/plugin install gitview@dbhq
Both commands work in Claude Code and in Codex. The marketplace is a public repository you can read first: dbhq-uk/marketplace (external site)
What it is good at
Answering the question a commit count cannot
A branch merged by squash stays ahead of the trunk forever while contributing nothing, so its commit count says nothing and git branch --merged never sees it. Where a repository permits nothing but squash, and many do, that check is not unreliable - it is always wrong. gitview merges the trunk into a throwaway copy of each branch and compares the resulting tree against the trunk's. Equal means the branch adds nothing.
Being fast enough to run without thinking about it
The obvious implementation needs a worktree per branch and is slow enough to be annoying, so the check runs in two tiers. A trivial merge into a temporary index answers most branches in milliseconds with no checkout at all, and it is trusted only when it says yes. Only the branches it could not prove finished get a real merge in a throwaway worktree.
Flagging the work that exists on one machine
A branch whose unpushed column reads no remote is the urgent row in the table: that work is backed up nowhere. The skill is told to say so rather than leaving it as one number among several.
Refusing to delete anything it cannot re-verify
A table is a snapshot, and a repository worked by several sessions moves underneath it. So each branch is re-checked immediately before it goes, its commit SHA is printed first so a wrong call can be undone, and any branch with a worktree or an open pull request is refused out loud rather than skipped quietly.
What it does not do
It does not delete anything
The agent does, in your session, where you can see the commands and your own tool permissions apply. The skill's job is to make a destructive suggestion and gate it; a skill is instructions, not a sandbox. If you do not want an agent proposing branch deletions at all, do not install this one.
The pull request column needs a CLI you already trust
It shells out to gh on GitHub and the Azure CLI on Azure DevOps, using whatever credential those already hold. It never handles a token itself and makes no HTTP request of its own - and --no-pr drops the column and works offline.
It reads the repository you point it at, and nothing else
There is no server, no index and no cache. Every answer is computed from the repository in front of it at the moment you ask, which is why the verdict can be trusted and why nothing is remembered between runs.
Read it before you install it
Every line is public and MIT licensed. The README is the long version of this page, including the parts that are still rough.