claudecodemods.dev

All mods / justmalhar/awesome-claude-mods

path-guard

SAFE

★ 1 by Malhar Ujawane Repository ↗ Mod source ↗

Safety & guards Git

Description

Blocks Write, Edit and MultiEdit calls that target a path outside the project root or inside .git, plus optional deny globs.

What it can do

Reach level 1 — reads What does this mean? →

reads env vars

Can see: every tool call

Raw API calls (3) +
  • $.env.get
  • $.session.cwd
  • $.session.repo

Static check passed on Claude Code 2.1.295.

Install

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

Check the repo for the exact name.

Details

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

Related mods — reach level 1

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 →