Agent Guard — AI skill for Claude Code
Real-time secret-leak guardrails for AI coding agents (Claude Code, Codex), Git hooks, and CI.
How to install Agent Guard
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open JeongJaeSoon/agent-guard and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Guard does
Real-time secret-leak guardrails for AI coding agents (Claude Code, Codex), Git hooks, and CI.
Alternatives in AI
- CodeIsland — Real-time AI coding agent status panel in your MacBook notch — live status, approvals & replies for 13 AI tool 2.3k ★
- Agor — Orchestrate Claude Code, Codex, and Gemini sessions on a multiplayer canvas 1.2k ★
- Hol Guard — Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, M 485 ★
README
Agent Guard
[](https://github.com/JeongJaeSoon/agent-guard/releases) [](https://github.com/marketplace/actions/agent-guard-secret-guardrails) [](https://github.com/JeongJaeSoon/agent-guard/actions/workflows/ci.yml) [](LICENSE)
**Stop your AI coding agent from leaking secrets — in real time, before the tool call runs.**

Agent Guard is a deterministic guardrail for AI coding agents (Claude Code, Codex) and the Git hooks, CI, and CLI around them. It blocks common ways an agent accidentally exposes secrets: reading `.env`, writing secret-like values, running shell commands that dump credentials, or leaving secrets in the working tree after a tool call. It uses [gitleaks](https://github.com/gitleaks/gitleaks) for detection and plain shell scripts for integration.
Unlike commit- or CI-time scanners that catch a leak *after* it lands, Agent Guard also runs at the agent's tool boundary — the `.env` read or secret write is blocked before it happens. Pair it with commit/CI scanning for defense in depth.
It is not a vault, credential rotator, or replacement for GitHub Secret Scanning / Push Protection.
Quick start
Claude Code
Install from the marketplace:
/plugin marketplace add JeongJaeSoon/agent-guard
/plugin install agent-guard@agent-guard
/reload-plugins
/agent-guard:setup-shell
The last command installs the default-on Claude command wrapping into your shell rc. Restart the shell and Claude Code after it succeeds. Plugin hooks are active after reload; shell wrapping for user-typed `!` commands requires t
Related Skills
Guard Layer
Runtime guardrails between an AI agent and its tools: scan what it reads, gate what it does, and track the ses
Star Office UI
A pixel-art office for AI coding agents, powered by lifecycle hooks. Compatible with Codex and Claude Code, wi
AI Agent Board
Drag-and-drop Kanban board that delegates coding tasks to AI agents — GitHub Copilot, Claude Code, OpenAI Code
Agent Coord
Machine-wide coordination layer so multiple AI coding agents (Claude Code, Codex, ...) don't step on each othe
Secure Agent
🔐 Egress inspection & secret-leak firewall for local AI agents — see what your agents send, catch secrets bef
VibeGuard
Stop AI from hallucinating code. 88 rules + 13 hooks + 14 agents for real-time interception and static scannin
Related Agents
ForensicAgent
Forensic security analyst — PII detection, secret scanning, identity leak auditing across git history, staged
Codex Architect
Codex artifact architect. Use for .codex/, MCP guard, hooks, AGENTS.md emission, skills, slash commands.
Part 13: Memory Bridge (Give Coding Agents Your Brain)
When you spawn Codex or Claude Code to build something, they start blind. They don't know your architecture de