Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By serban-mariusv1.1.0MITIn 1 marketplace
SessionStart hook that returns a clean checkout to the default branch and pulls latest when /clear is used
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code hook that, on /clear, returns a clean checkout to the default branch and fast-forwards it.
On SessionStart with matcher clear, the hook:
origin/HEAD, else main, else master)git pull --ff-only only when already on the default branchEnable the plugin from the marketplace:
/plugin marketplace add serban-marius/pip-boy
/plugin install git-reset-on-clear@pip-boy
The plugin ships its own hooks/hooks.json; no settings edit or chmod is needed.
The hook never touches linked worktrees, so mister-handy workers keep their branches and overseer keeps its per-branch logs.
A clean main checkout sitting on a feature branch is still switched to the default branch on /clear. That is the remaining overlap with foreman and with per-branch logs written in the shared checkout. Only running agent work in a linked worktree avoids the switch.
git-reset-on-clear/
├── .claude-plugin/
│ └── plugin.json
├── hooks/
│ ├── hooks.json
│ ├── on-clear.sh
│ └── on-clear.test.sh
└── README.md
bash common/plugins/git-reset-on-clear/hooks/on-clear.test.sh
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub serban-marius/pip-boy --plugin git-reset-on-clearPlugins from other owners that cover similar ground