Home / Claude Code mods / Security / worktree-lifecycle

worktree-lifecycle

worktree-lifecycle is a Claude Code mod by RikusVanRensburg that /wt and worktree_* tools for bare-clone repos: start work, ship a draft PR on your yes, hear about the merge, housekeep when you say so, and guard the layout.

Updated 2026-10-26

What is worktree-lifecycle?

worktree-lifecycle is a Claude Code mod by RikusVanRensburg that /wt and worktree_* tools for bare-clone repos: start work, ship a draft PR on your yes, hear about the merge, housekeep when you say so, and guard the layout. It is listed under Security and has 1 GitHub stars.

TypeClaude code mod
AuthorRikusVanRensburg
RepositoryRikusVanRensburg/agentic-marketplace
Popularity1 GitHub stars
CategorySecurity
SecurityLow risk (80/100)
Rank#4,177 of 9,397 Claude Code mods; #498 in Security
LicenseMIT
Last commit2026-10-26
Hooks13 events
SeesBash calls, EnterWorktree calls, PowerShell calls, mcp__worktree-lifecycle__worktree_check calls, mcp__worktree-lifecycle__worktree_clean calls, mcp__worktree-lifecycle__worktree_new calls, mcp__worktree-lifecycle__worktree_ship calls, mcp__worktree-lifecycle__worktree_status calls, mcp__worktree-lifecycle__worktree_sweep calls
Draws onnothing

Is worktree-lifecycle safe to install?

worktree-lifecycle scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.command.register
$.fs.existsreads files
$.fs.listreads files
$.model.completedrives Claude
$.process.runruns processes
$.session.cwd
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.logdraws interface
$.ui.notifydraws interface
$.ui.toastdraws interface
$.worktree.merged

How do I install worktree-lifecycle?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/RikusVanRensburg/agentic-marketplace
    claude plugin validate ./agentic-marketplace/plugins/mods/worktree-lifecycle
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add RikusVanRensburg/agentic-marketplace && claude plugin install worktree-lifecycle@agentic-marketplace

Or ask Claude to set it up

Paste this into Claude Code and it installs worktree-lifecycle for you:

Install the "worktree-lifecycle" Claude Code mod from https://github.com/RikusVanRensburg/agentic-marketplace/tree/main/plugins/mods/worktree-lifecycle. Run claude plugin validate on it first and show me what it can access before you enable it.

More from RikusVanRensburg/agentic-marketplace

This repository has 4 Claude Code mods on MCPMods.

  • drive: /drive and four tools (testing_run, docker_stack, docs_index, drive_check) that keep the drive's testing, docker and doc (Review before installing)
  • issues: Six tools (issue_labels, issue_create, issue_fill, issue_link, label_ensure, issue_consolidate) that do the gh steps for (Low risk)
  • orchestrator: /orchestrate runs a multi-issue plan through subagents: dev and isolated QA per slice on escalating model ladders, a mer (Review before installing)