Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By JeongJaeSoonv3.14.0MITIn 1 marketplace
Blocks or masks secrets in Claude Code and Codex sessions by scanning prompts, tool inputs and outputs and changed files. Hooks run on every prompt and tool call; PII filtering is opt-in and off by default, and gitleaks 8.30 or newer is required.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
3 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Agent Guard is a local-first secret-leak guardrail for Claude Code and Codex. In every enabled session, its hooks inspect supported tool inputs and outputs, block common credential exposure paths before execution, mask secret-like output, and scan changed files after mutations and before stop.
It is defense in depth, not a vault, DLP system, credential rotator, or replacement for GitHub Secret Scanning and Push Protection.
After installing the plugin, run the host setup skill:
# Claude Code
/agent-guard:setup-agent-guard
# Codex
$setup-agent-guard
The guided flow diagnoses dependencies, runs check and smoke-test, and asks
before downloading software. Lifecycle hooks never run an installation on their
own. Setup proves local dependencies and deterministic behavior; finish the
harmless live probes in the public verification guide
to establish that the current host route dispatches hooks.
런타임에는 sh, awk, git, jq, gitleaks 8.30 이상과 함께 gitleaks 버전
프로브를 격리할 setsid(Linux의 util-linux) 또는 Perl 중 하나가 필요합니다.
setup과 doctor는 격리 도구가 없을 때 gitleaks 재설치 대신 운영체제별
복구 명령을 안내합니다.
For Claude Code’s optional shell-output protection, run:
/agent-guard:setup-shell
This explicitly updates the shell rc. Restart the shell and agent session after it succeeds.
Claude Code supports the plugin’s matched tool inputs and outputs. Codex matches
the currently supported hook surfaces (Bash, apply_patch, Agent, Task,
and MCP tools); it does not claim arbitrary read/search/web interception. Both
hosts require hooks to be enabled and trusted. Re-test the exact route after a
plugin update or when a tool is wrapped by orchestration.
apply_patch additions are scanned before execution. Structured write targets
also receive a direct post-write scan; patch envelopes do not reliably provide a
target path. Git and CI remain the backstops for repository-wide coverage.
Scanner infrastructure has an explicit policy: open warns and continues by
default; closed refuses the action. Secret detections block. A degraded scan
is never evidence of a clean result.
Default processing is local and ephemeral. PII hook handling is off by default; endpoint-backed PII processing is opt-in. Read the packaged privacy policy before enabling it.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jeongjaesoon/agent-guard --plugin agent-guardPlugins from other owners that cover similar ground