Agent Guardrails
Stop AI agents from secretly bypassing your rules. Mechanical enforcement with git hooks, secret detection, deployment verification, and import registries. Born from real production incidents: server crashes, token leaks, code rewrites. Works with Claude Code, Clawdbot, Cursor. Install once, enforce forever.
Install
npx skills add jzOcb/agent-guardrails --skill agent-guardrailsgit clone --depth 1 https://github.com/jzOcb/agent-guardrails.git /tmp/agent-guardrails
mkdir -p ~/.claude/skills
cp -r /tmp/agent-guardrails/. ~/.claude/skills/agent-guardrailsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Agent Guardrails Mechanical enforcement for AI agent project standards. Rules in markdown are suggestions. Code hooks are laws. ## Quick Start ```bash cd your-project/ bash /path/to/agent-guardrails/scripts/install.sh ``` This installs the git pre-commit hook, creates a registry template, and copies check scripts into your project. ## Enforcement Hierarchy 1. **Code hooks** (git pre-commit, pre/post-creation checks) — 100% reliable 2. **Architectural constraints** (registries, import enforcement) — 95% reliable 3. **Self-verification loops** (agent checks own work) — 80% reliable 4. **Prompt rules** (AGENTS.md, system prompts) — 60-70% reliable 5. **Markdown rules** — 40-50% reliable, degrades with context length ## Tools Provided ### Scripts | Script | When to Run | What It Does | |--------|------------|--------------| | `install.sh` | Once per project | Installs hooks and scaffolding | | `pre-create-check.sh` | Before creating new `.py` files | Lists existing modules/functions to prevent reimplementation | | `post-create-validate.sh` | After creating/editing `.py` files | Detects duplicates, missing imports, bypass patterns | | `check-secrets.sh` | Before commits / on demand | Scans for hardcoded tokens, keys, passwords | | `create-deployment-check.sh` | When setting up deployment verification | Creates .deployment-check.sh, checklist, and git hook template |
Details
- Skill name
agent-guardrails- Repository
- jzOcb/agent-guardrails
- License
- MIT
- Repo updated
- 16 March 2026
FAQ
What does the Agent Guardrails skill do?
Stop AI agents from secretly bypassing your rules. Mechanical enforcement with git hooks, secret detection, deployment verification, and import registries. Born from real production incidents: server crashes, token leaks, code rewrites. Works with Claude Code, Clawdbot, Cursor. Install once, enforce forever.
How do I install the Agent Guardrails skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jzOcb/agent-guardrails --skill agent-guardrails. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Agent Guardrails popular?
It lives in jzOcb/agent-guardrails, which has 15 GitHub stars and 1 forks.
Related skills
AI Advisory Board
14evoputa/ai-advisory-board
AI-powered advisory board of 100+ real-world business leaders spanning 18 domains, 4 continents, and balanced gender representation. Each leader speaks in their authentic voice using their documented frameworks and principles. Convenes boardroom sessions with 3-5 relevant advisors, allows disagreement, and delivers a unified synthesis with specific next actions. Supports full board sessions, domain-specific counsel, quick checks, and cross-domain tension resolution. Customizable via company profile configuration. Use when facing strategic decisions, evaluating opportunities, pressure-testing p
Llmapper
17jorgearango/llmapper-skill
Generate concept maps from articles (files, URLs, or text) using a multi-stage LLM pipeline (user-chosen focus → summarize → RDF → Mermaid)
Bug Hunting
14m4vic/bug-hunting
Bug bounty hunting and penetration testing skills for Claude, Codex, and other agentic AI tools.
Agenticflow Skills
12PixelML/agenticflow-skill
ALWAYS use this skill when the user mentions AgenticFlow, AF CLI, AI agents, agent workflows, business packs, workforce orchestration, or wants to create/deploy/run AI agents. Also use when the user wants to set up, build, or automate a business with agents — including tutoring, freelance, Amazon seller, marketing, sales, support, content, coaching, consulting, legal, real-estate, or any domain-specific agent team. Provides CLI commands, pack recommendations, and deployment guides.
Chainaware Behavioral Prediction
10ChainAware/behavioral-prediction-mcp
Use this skill whenever a user asks about wallet safety, fraud risk, rug pull detection, wallet behavior analysis, DeFi personalization, on-chain reputation scoring, AML checks, token ranking by holder quality, airdrop screening, lending risk, token launch auditing, or AI agent trust scoring. Triggers on questions like: is this wallet safe?, will this pool rug pull?, what will this address do next?, score this wallet, detect fraud for address, personalize my DeFi agent, rank this token, top AI tokens, best holders of this token, check this contract, is this token safe?, profile this wallet, KY
TCM AI Skill Hub|中医 AI 学习总入口
13Rui-Huang-dotcom/tcm-ai-skill-hub
从全部已安装的公开中医 AI Skill 中按学习任务智能选源;支持全来源覆盖检查、精确限定与明确标注的跨学派比较。
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.