claudecodemods.dev

All mods / hamzafer/claude-code-mods

secret-guard

CAUTION

★ 494 by Hamza Zafar Repository ↗ Mod source ↗

Safety & guards Git Context & compaction

Description

Keeps API keys and tokens out of Claude's context, your files and your commits: hides them in tool output, and asks before a write, commit or push adds one.

What it can do

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

runs processesreads filesreads env varsdraws

Can see: Write calls · Edit calls · NotebookEdit calls · Bash calls · every tool call

Raw API calls (10) +
  • $.command.register
  • $.env.get
  • $.fs.exists
  • $.fs.list
  • $.fs.read
  • $.fs.stat
  • $.process.run
  • $.session.cwd
  • $.ui.ask
  • $.ui.toast

Static check passed on Claude Code 2.1.326.

Install

$/plugin marketplace add hamzafer/claude-code-mods
$/plugin install secret-guard

Check the repo for the exact name.

Details

Repository
hamzafer/claude-code-mods
Path in repo
mods/secret-guard
License
MIT
Last updated
Nov 17, 2026
First seen
Nov 8, 2026
Last scanned
Nov 18, 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 →