worktree-map

Reviewed at commit 39335b2

List worktree paths, branches, and locked states.

Made by
Yash Thakker
What we checked

Opens a pane with /worktree-map that lists the Git worktrees of your project with their paths, branches and locked state, using a read-only git command. It makes no network calls, reads no prompts and stores nothing.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers the /worktree-map command), command.run (runs the command, opens the pane) and ui.render for its own Pane. The only program it runs is the fixed argument array git --no-pager worktree list --porcelain with a 10 second timeout via $.process.run. The optional command argument is stored in a variable but never used in any command. Output is shown in a code block, truncated to 9000 characters. State is in memory only. ui.js is a set of pure display helpers. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Screenshot of worktree-map
Made this mod? Add a badge to your README

modsforClaude badge for worktree-map

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/worktree-map.svg)](https://modsforclaude.com/mods/worktree-map/)

← All mods