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.
| Type | Claude code mod |
|---|---|
| Author | RikusVanRensburg |
| Repository | RikusVanRensburg/agentic-marketplace |
| Popularity | 1 GitHub stars |
| Category | Security |
| Security | Low risk (80/100) |
| Rank | #4,177 of 9,397 Claude Code mods; #498 in Security |
| License | MIT |
| Last commit | 2026-10-26 |
| Hooks | 13 events |
| Sees | Bash 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 on | nothing |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.command.register | |
$.fs.exists | reads files |
$.fs.list | reads files |
$.model.complete | drives Claude |
$.process.run | runs processes |
$.session.cwd | |
$.state.get | |
$.state.set | |
$.tool.register | drives Claude |
$.ui.log | draws interface |
$.ui.notify | draws interface |
$.ui.toast | draws interface |
$.worktree.merged |
How do I install worktree-lifecycle?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)