PlugMyPlugin
← Browse

file-guard

Singh-AP ★ 0

file-guard prevents Claude from writing files outside the current project directory, protects .git internals, and prompts for confirmation before modifying sensitive files like lockfiles, CI workflows, migrations, and secrets. It resolves symlinks and relative paths to enforce a strict boundary, ensuring edits remain contained within the intended project scope.

Security DevOps No API key detected prompt pack

Install

> /plugin marketplace add Singh-AP/awesome-claude-mods/tree/HEAD/mods/safety/file-guard
> /plugin install file-guard

Source: https://github.com/Singh-AP/awesome-claude-mods/tree/HEAD/mods/safety/file-guard

What it's made of

no extra components

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
0

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
none
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (Singh-AP).