claudecodemods.dev

All mods / baselane-sh/mods

protect-main

CAUTION

★ 1 by Baselane Repository ↗ Mod source ↗

Safety & guards Git

Description

Asks before a commit, push or merge while you are on main or master. Reads the branch with git.

What it can do

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

runs processes

Can see: classic hooks

Raw API calls (2) +
  • $.process.run
  • $.session.cwd

Static check passed on Claude Code 2.1.295.

Install

$/plugin marketplace add baselane-sh/mods
$/plugin install protect-main

Check the repo for the exact name.

Details

Repository
baselane-sh/mods
Path in repo
plugins/protect-main
License
MIT
Last updated
Oct 6, 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 →