cd /news/ai-agents/show-hn-lopper-a-git-worktree-cleane… · home › topics › ai-agents › article
[ARTICLE · art-150956] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Lopper – A Git Worktree Cleaner

A developer released Lopper, an open-source tool that scans a machine for Git repositories and worktrees created by coding agents such as Codex, Claude Code, T3 Code, Orca, and Superset, and displays them in a single TUI for inspection and removal. Lopper also ships a CLI so scripts and agents can manage worktrees deterministically instead of relying on an agent to locate them. The project was posted to Hacker News as a Show HN with 1 point and 0 comments.

read1 min views1 publishedOct 15, 2026

when I started using coding agents heavily, they began creating tons of Git worktrees. different tools like Codex, Claude Code, T3 Code, Orca, Superset, and others all put their worktrees in different directories, which made them pretty hard to find.

I know you can just ask an agent to find them, and a lot of people do exactly that. but I wanted a deterministic solution that wouldn't depend on an agent getting things right or waste extra tokens.

so.. I built Lopper!

it's a tool that searches for git repositories and worktrees across different directories on your machine and shows them all in one place in a TUI, where you can inspect them and remove the ones you no longer need. it also has a CLI for scripts and agents, so they can manage worktrees more reliably.

would you use something like this? what am I missing compared to just asking an agent to handle it?

Comments URL: [https://news.ycombinator.com/item?id=50110204](https://news.ycombinator.com/item?id=50110204)

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @lopper 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-lopper-a-git…] indexed:0 read:1min 2026-10-15 · —