cuscus audits every local branch — age, ahead/behind, merged status — and prints it in one clean table. No config. No clutter.
Built for developers who live in the terminal.
Branch name, age, ahead/behind counts, and health status — all in a single aligned table. No grep, no piping, no mental math.
--clean prints git branch -d/-D commands — never runs them. You review, then pipe. Nothing is deleted without your explicit action.
Machine-readable output with --json. Auto-disables ANSI when piped or NO_COLOR is set. Plays well with jq and CI scripts.
Auto-detects main, master, and trunk. Run it in any git repo with no setup. Single static binary — no runtime, no dependencies.
Requires Go 1.21+. Or grab a pre-built binary.
# Increase the stale threshold to 30 days
# Print cleanup commands, review, then pipe
# Filter stale branches with jq
The cuscus
is a marsupial native to the rainforests of Papua New Guinea and northern Australia.
It spends its entire life in the tree canopy, gripping branches with its prehensile tail
and curved claws — never losing track of where it is.
That's the tool: something that clings to your git tree, accounts for every branch,
and notices when one has been sitting dead on the vine for too long.