---
title: "Git Cleanup - Air Market"
description: "Local branches and worktrees pile up and after a while you cannot remember which ones you are done with. This looks at what you have and sorts it: merged, squash-merged, replaced by something newer,…"
canonical: "https://airmarket.ai/app/git-cleanup"
---

[Air Market](/) / [Developer Tools](/category/devtools) / Git Cleanup

Skill by [Trail of Bits](/@trailofbits)

# Git Cleanup

Sort the branch pile into done, superseded, and still alive

## What this does

Local branches and worktrees pile up and after a while you cannot remember which ones you are done with. This looks at what you have and sorts it: merged, squash-merged, replaced by something newer, or still active work. Reach for it when your branch list has grown past what you can hold in your head.

### Top 3 things it does for you

- Find out which local branches are already merged
- Clear out worktrees you finished with
- Tell finished work apart from work in progress

## Information

**Git Cleanup at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Trail of Bits](/@trailofbits) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 15 KB |
| Licence | CC-BY-SA-4.0 |
| Repository | [trailofbits/skills](https://github.com/trailofbits/skills/tree/d5fe2e6a7896236c3102fd5477e833623ad70298/plugins/git-cleanup/skills/git-cleanup) |
| GitHub stars | 6,823 (as of Nov 2026) |
| Installs | 3,950, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Git Cleanup and flagged nothing. AIR's verdict: **safe**.

**What Git Cleanup's check was run against**

|  |  |
| --- | --- |
| Commit | d5fe2e6a7896236c3102fd5477e833623ad70298 |
| Content hash | e56984a6dedbc0342158248557bd2625d8c581345c6bbf62d775cf3da6af252d |
| Files read | [Browse the files at this exact commit](https://github.com/trailofbits/skills/blob/d5fe2e6a7896236c3102fd5477e833623ad70298/plugins/git-cleanup/skills/git-cleanup/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Git Cleanup](/security/git-cleanup)

## About Git Cleanup

Local git branches and worktrees accumulate, and the list stops telling you anything. This goes through them and puts each one in a category: merged, squash-merged, superseded, or active work.

The sorting comes first and the cleanup follows from it, so branches that still hold live work are separated from the ones that have already landed.

## What's inside

- SKILL.md - instructions
- agents/openai.yaml - data
- assets/trail-of-bits-mark.svg - template

## Questions

### Is Git Cleanup safe to install?

AIR scanned this exact version of Git Cleanup and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit d5fe2e6a7896, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/git-cleanup.

### How do I install Git Cleanup?

Open https://airmarket.ai/app/git-cleanup on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/trailofbits/skills/tree/d5fe2e6a7896236c3102fd5477e833623ad70298/plugins/git-cleanup/skills/git-cleanup. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by Trail of Bits](/@trailofbits)

---

Canonical URL: <https://airmarket.ai/app/git-cleanup>
