All Claude Code modsvincentlauriat/ModsTools
worktree-pane
A pane listing the git worktrees of the session folder with branch, dirty count and DerivedData size, and removing a worktree together with its DerivedData
review UI rewrite
worktree-pane reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 3
- API methods referenced: 12
- Access from classified calls: L2, writes or runs: runs processes, reads files, reads env vars, draws
- Unclassified calls: 2 (
$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsother: $.state.get, other: $.state.set, runs processes, reads files, reads env vars, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Only what it hooks
- Hooks
session.start, command.run {command=worktrees}, ui.render {component=Pane, requestId=worktree-pane}- API calls
$.command.register, $.env.get, $.fs.exists, $.fs.list, $.process.run, $.session.cwd, $.state.get, $.state.set, $.ui.close, $.ui.open, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
8c2da67a7b98- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. mods/worktree-pane/hooks/worktrees.ts:36, mods/worktree-pane/hooks/worktrees.ts:53
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
More from vincentlauriat/ModsTools
- achievementPlayful badges unlocked once ever from real events (tool calls, turns, subagents, tests, git); /achievements…
- agent-trackerA pane listing the subagents launched this session with their status and duration
- ascii-weatherWeather from wttr.in in the status line (refreshed at most once an hour); /weather shows the one-line forecast
- auto-contextAdds git branch, dirty count, last commit and next TODOS to the session's system prompt
- branch-guardAsks the user before Edit/Write/NotebookEdit changes a file of a git repo whose current branch is main or mas…
- build-gateBand above the prompt when a turn changed source code without running a matching build or type-check
- changed-filesA pane listing the files Claude modified during the session
- ci-watchFollows the GitHub Actions runs of a commit after git push: status line while they run, toast with the failed…
- command-historyA pane listing the Bash commands run this session with exit status and duration
- commit-lintRefuses git commit commands whose message subject is not a Conventional Commit (type(scope)!: subject, header…
- commit-size-guardAsks before a git commit or git add includes large files, big binaries or build/release artifacts (dmg, zip,…
- compact-advisorToasts once when the context crosses a threshold; /compact-advisor prints a ready-to-paste /compact line with…
- context-gaugeA band above the prompt that appears when the context window is at least 70% full
- cost-meterSession cost and rate-limit usage in the status line; toasts when the cost crosses a threshold; /cost-meter s…
- deriveddata-janitorFinds Xcode DerivedData folders whose workspace is gone (removed worktrees), shows them in a status line and…
- diff-previewA pane showing git diff --stat and the untracked file count, refreshed after each turn
- doc-sync-guardWarns above the prompt when a turn did not update COMMANDS.md, or changed code without updating CHANGES.md
- done-soundPlays a short chime when a long main-agent turn completes; /done-sound off|on|test
- edit-undoSnapshots each file before Claude's Edit/Write/NotebookEdit and lets you undo the last change per file from a…
- env-protectAsks the user before Claude reads secret files (.env, private keys, .netrc, .npmrc, .aws/credentials, keychai…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/vincentlauriat--ModsTools--worktree-pane/)
[](https://mods.aidojo.si/mods/vincentlauriat--ModsTools--worktree-pane/)