claudecodemods.dev

All mods / justmalhar/awesome-claude-mods

branch-guard

CAUTION

★ 1 by Malhar Ujawane Repository ↗ Mod source ↗

Safety & guards Git

Description

Stops Claude from editing files or running mutating git commands on main or master, and points it at a worktree instead.

What it can do

Reach level 2 — writes or runs What does this mean? →

runs processesdraws

Can see: Write|Edit|MultiEdit|Bash calls

Raw API calls (3) +
  • $.process.run
  • $.session.cwd
  • $.ui.ask

Static check passed on Claude Code 2.1.295.

Install

$/plugin marketplace add justmalhar/awesome-claude-mods
$/plugin install branch-guard

Check the repo for the exact name.

Details

Repository
justmalhar/awesome-claude-mods
Path in repo
mods/branch-guard
License
MIT
Last updated
Oct 4, 2026
First seen
Oct 10, 2026
Last scanned
Oct 10, 2026

Related mods — reach level 2

Capability data is machine-generated by static analysis and may be incomplete. A SAFE badge is not a guarantee — read the code before installing anything with broad access. Not affiliated with Anthropic.

Found a mistake in this listing or verdict? Report an issue →