Claude Code mod
post-merge-cleanup
/cleanup after a PR merges: switch to the default branch, pull, and delete the merged branch and its worktree, after one confirmation.
Install
/plugin marketplace add seanrobertwright/claude-mods
/plugin install post-merge-cleanup@claude-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, reads mod state, draws
- Hooks
session.startsession.attachcommand.run
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- seanrobertwright/claude-mods
- Folder
mods/post-merge-cleanup- Marketplace
claude-mods- Last updated
- 12 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is post-merge-cleanup?
/cleanup after a PR merges: switch to the default branch, pull, and delete the merged branch and its worktree, after one confirmation. It is a mod for Claude Code, from seanrobertwright/claude-mods on GitHub.
What can the post-merge-cleanup mod access?
Its widest reach is "writes or runs" (runs processes, reads mod state, draws). Like any mod, it runs with your permissions.
How do I install post-merge-cleanup?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add seanrobertwright/claude-mods and then /plugin install post-merge-cleanup@claude-mods.
Is post-merge-cleanup popular?
seanrobertwright/claude-mods has 3 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 12 October 2026.
More git & github mods
merge-gate
3yash-gadodia/claude-mods
Denies a Bash merge (gh pr merge, git merge on main, push onto main) unless the latest human message says the word merge; ship, push and deploy do not count.
gitlab
1anderson-spider/claude-mods
Work on GitLab merge requests and pipelines of the current repository, picking the host and token from its git remote.
ci-autopilot
2mako-code/gobworks
CI that fixes itself with your say-so: watches the branch's workflow run after a push, puts a failure with its error-dense log on the band with Fix it, surfaces new review comments, and can pre-review PRs you are asked to review.
issue-pilot
3Plagemes/claude-mods
Picks up a GitHub, Jira or Linear issue, sizes it with smart-router, works it in a dedicated session and opens the PR.
workers
Berkay2002/berkays-mods
A pane of the sessions this one orchestrates: state, branch, commits ahead, changed files, last message, who needs you
change-ledger
8arasovic/claude-code-mods
Lists the files this session edited in a pane (/changes), with line counts and who edited them, beside the git working tree
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.