claudecodemods.dev

All mods / vincentlauriat/modstools

main-guard

CAUTION

★ 0 by Vincent Lauriat Repository ↗ Mod source ↗

Safety & guards Git

Description

Refuses git pushes to main/master, force pushes, tag creation and GitHub releases unless the person allows them

What it can do

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

other: $.state.getother: $.state.setruns processesdraws

Can see: Bash calls

Raw API calls (6) +
  • $.command.register
  • $.process.run
  • $.state.get
  • $.state.set
  • $.ui.status
  • $.ui.toast

Static check passed on Claude Code 2.1.295.

Install

$/plugin marketplace add vincentlauriat/modstools
$/plugin install main-guard

Check the repo for the exact name.

Details

Repository
vincentlauriat/modstools
Path in repo
mods/main-guard
License
MIT
Last updated
Oct 5, 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 →