ClaudeCodeMod

All shelves / Mods / Workflow

worktrees

By Hula-Hoop-AI

worktrees is a Claude Code workflow mod by Hula-Hoop-AI.

Shows repo@branch and its listening ports in the hint line under the prompt, and a /worktrees pane that lists every worktree and removes the finished ones.

Draws

Install

The marketplace name is supermods.

In Claude Code
/plugin marketplace add Hula-Hoop-AI/supermods
/plugin install worktrees@supermods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.2
License
MIT
Repo stars
4
Last change
2026-10-05

What it can reach

  • Draws in the session
  • Runs a command when you press
  • Calls another program on this machine

Mods need Claude Code v2.1.287 or later. Port detection uses lsof, so it works on macOS and Linux and shows nothing elsewhere. Merged pull requests need the gh CLI, signed in; without it only no commits ahead marks a worktree finished. The default branch is read from origin/HEAD, else origin/main or origin/master. The hint line is drawn in the terminal and the desktop app only.

The marketplace, supermods, holds Hula-Hoop-AI's nine mods; each installs on its own. Keeping worktrees in view is why this page files it under workflow. session-switcher, by ha-ptt0601, opens a sidebar of the project's sessions, worktrees included. git-pulse, by Singh-AP, draws the branch, ahead and behind, and dirty files on the status line. This one lists each worktree's branch, whether its pull request was merged, commits ahead, uncommitted files, and ports, and Remove N finished runs git worktree remove only on finished ones: not the main or current checkout, nothing uncommitted or listening. Branches are left alone.

Demo

The top of the worktrees README: the hint line under the prompt drawn as text, with the worktree as repo@branch and the ports :3000 and :5173.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionPromptHintPane
  • command.runWhen you run its slash command/worktrees

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /worktreesReview git worktrees and clear the finished ones

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
Hula-Hoop-AI
Category
Workflow
Marketplace
supermods
Repo
Hula-Hoop-AI/supermods
Folder
plugins/worktrees
Version
0.1.2
License
MIT
Repo stars
4
Last change
2026-10-05
Language
TypeScript
Files
7

Other mods in Workflow

openspec-tuiintent-driven-devOpens a side pane for an OpenSpec change: its steps from Explore to Archive, the artifact Claude is writing, the task in progress, and every active change.workkitITW-Creative-WorksHolds a commandHolds a git commit until the full test suite has passed on what is committed, and guards each step of a GitHub Issues pipeline that an agent crew works.cairnjmgirardHolds a commandDraws the milestone in flight above the prompt as a plan, implement, and review track with a percent, opens a /cairn-pane, and holds merges and force-pushes.agent-panelkoomaiSends one question to a panel of Claude subagents at the models and efforts you pick, shows each seat live in a /panel-view pane, and writes a verdict page.watchtowerlazygophersOpens a pane of the session's last 50 agent returns and main replies, newest first, each folded to a preview you click to open. The README is in Chinese.check-ledgerLeeHigma0201Shows the last real check and how many files changed since on the status line, with /evidence and a tool Claude reads before it says tested.mod-scoutLeeHigma0201Scans your last 14 days of transcripts, ranks the mods you would use most in a pane, and asks Claude to design the top ones with a bundled skill.resume-nudgeLeeHigma0201Drafts a pick-up prompt in the prompt box, with a toast, when a session reopens after a restart cut a turn off. Enter sends it; /resume-here sends it for you.leek-skillsleekDraws a band above the prompt of the subagents its skills dispatch, a /scratch pane of every .scratch/ effort, and a ticket board while a spec is built.github-issuesMarcoCarnevaliOpens a side pane of a repository's GitHub issues as cards, with tabs, search, and labels. Work on it hands one to Claude, and a toast marks a new assignment.task-boardMarcoCarnevaliOpens a To do, Doing, Done board in a side pane that fills from Claude's to-do list and approved plans, takes your own cards, and gives Claude a board tool.clocks-bandNarenDawarDraws a band above the prompt of each Bash command, MCP call, and subagent that has run past 5 seconds, with its elapsed time against its limit.
All 396 in Workflow