claudemods

All Claude Code modsmako-code/gobworks

branch-guard

A Claude Code mod in mako-code/gobworks

Keeps work off protected branches: no commit, merge, rebase, cherry-pick, am or push on main/master/release/* (or an explicit push to one), with an optional auto-branch for commits.

review UI rewrite

In its last recorded footprint, branch-guard reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.296.

Install hint

/plugin install branch-guard --marketplace mako-code/gobworks

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later. The latest scan could not confirm this mod, so the command may be out of date.

Access

L2 Writes or runsother: $.state.get, other: $.state.set, runs processes, reads env vars, draws

Validation

not verified

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash|PowerShell calls
Hooks
session.start {cwd=/"(?:)"/}, state.set {plugin=mod-manager, key=host}, ui.render {component=AbovePrompt}, ui.render {component=PromptHint}, ui.render {component=SessionMode}, session.start, session.end, tool.call {tool=Bash|PowerShell}, command.run {command=branch-guard}
API calls
$.clock.after, $.clock.now, $.command.register, $.env.get, $.process.run, $.state.get, $.state.set, $.ui.ask, $.ui.invalidate, $.ui.log, $.ui.resolve, $.ui.status, $.ui.toast
Validation on 2.1.296
not verified
Last known result
Passed on 2.1.296
Validator output
Repository could not be scanned; showing the last known footprint.
Scanned revision
ec6ea2383749
Marketplace passed
gobworks
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/safety/branch-guard/hooks/register.tsx:199, mods/safety/branch-guard/hooks/shell.ts:55, mods/safety/branch-guard/hooks/shell.ts:343, mods/safety/branch-guard/hooks/shell.ts:344, mods/safety/branch-guard/hooks/shell.ts:347, mods/safety/branch-guard/hooks/shell.ts:348, mods/safety/branch-guard/hooks/shell.ts:351, mods/safety/branch-guard/hooks/shell.ts:352, mods/safety/branch-guard/hooks/shell.ts:356

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 mako-code/gobworks

See all 118 mods from mako-code/gobworks

Badge for your README

Reach badge for branch-guard Validation badge for branch-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/mako-code--gobworks--branch-guard-reach.svg)](https://mods.aidojo.si/mods/mako-code--gobworks--branch-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/mako-code--gobworks--branch-guard-validates.svg)](https://mods.aidojo.si/mods/mako-code--gobworks--branch-guard/)