[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76WM88KE7BKZ2V2RWQ2JTVK":3,"skill-same:01M76WM88KE7BKZ2V2RWQ2JTVK":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":6,"ownerHtmlUrl":68,"ownerBlogUrl":69,"ownerDescription":70,"updatedAt":71,"install":72,"resources":85},"01M76WM88KE7BKZ2V2RWQ2JTVK","agent-guardrails",null,"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.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Folmmlo-cmd\u002Fagent-guardrails\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: agent-guardrails\nversion: \"1.1.0\"\nauthor: \"jzOcb\"\nlicense: \"MIT\"\ncategory: \"development-tools\"\ndescription: \"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.\"\ntags:\n  - \"ai-safety\"\n  - \"code-quality\"\n  - \"enforcement\"\n  - \"git-hooks\"\n  - \"deployment\"\n  - \"security\"\n  - \"automation\"\n  - \"guardrails\"\n  - \"claude-code\"\n  - \"clawdbot\"\n  - \"cursor\"\n  - \"mechanical-enforcement\"\n  - \"agent-reliability\"\nkeywords:\n  - \"AI agent bypassing\"\n  - \"code enforcement\"\n  - \"git hooks automation\"\n  - \"secret detection\"\n  - \"deployment verification\"\n  - \"import enforcement\"\n  - \"mechanical guardrails\"\n  - \"agent safety\"\n  - \"production incidents\"\n  - \"Claude Code skills\"\n  - \"Clawdbot skills\"\n  - \"AI coding safety\"\nrepository: \"https:\u002F\u002Fgithub.com\u002FjzOcb\u002Fagent-guardrails\"\nhomepage: \"https:\u002F\u002Fgithub.com\u002FjzOcb\u002Fagent-guardrails#readme\"\nbugs: \"https:\u002F\u002Fgithub.com\u002FjzOcb\u002Fagent-guardrails\u002Fissues\"\ncompatibility:\n  - \"claude-code\"\n  - \"clawdbot\"\n  - \"cursor\"\n  - \"any-ai-agent\"\nrequirements:\n  bash: \">=4.0\"\n  git: \">=2.0\"\npricing: \"FREE\"\n---\n\n# Agent Guardrails\n\nMechanical enforcement for AI agent project standards. Rules in markdown are suggestions. Code hooks are laws.\n\n## Quick Start\n\n```bash\ncd your-project\u002F\nbash \u002Fpath\u002Fto\u002Fagent-guardrails\u002Fscripts\u002Finstall.sh\n```\n\nThis installs the git pre-commit hook, creates a registry template, and copies check scripts into your project.\n\n## Enforcement Hierarchy\n\n1. **Code hooks** (git pre-commit, pre\u002Fpost-creation checks) — 100% reliable\n2. **Architectural constraints** (registries, import enforcement) — 95% reliable\n3. **Self-verification loops** (agent checks own work) — 80% reliable\n4. **Prompt rules** (AGENTS.md, system prompts) — 60-70% reliable\n5. **Markdown rules** — 40-50% reliable, degrades with context length\n\n## Tools Provided\n\n### Scripts\n\n| Script | When to Run | What It Does |\n|--------|------------|--------------|\n| `install.sh` | Once per project | Installs hooks and scaffolding |\n| `pre-create-check.sh` | Before creating new `.py` files | Lists existing modules\u002Ffunctions to prevent reimplementation |\n| `post-create-validate.sh` | After creating\u002Fediting `.py` files | Detects duplicates, missing imports, bypass patterns |\n| `check-secrets.sh` | Before commits \u002F on demand | Scans for hardcoded tokens, keys, passwords |\n| `create-deployment-check.sh` | When setting up deployment verification | Creates .deployment-check.sh, checklist, and git hook template |\n| `install-skill-feedback-loop.sh` | When setting up skill update automation | Creates detection, auto-commit, and git hook for skill updates |\n\n### Assets\n\n| Asset | Purpose |\n|-------|---------|\n| `pre-commit-hook` | Ready-to-install git hook blocking bypass patterns and secrets |\n| `registry-template.py` | Template `__init__.py` for project module registries |\n\n### References\n\n| File | Contents |\n|------|----------|\n| `enforcement-research.md` | Research on why code > prompts for enforcement |\n| `agents-md-template.md` | Template AGENTS.md with mechanical enforcement rules |\n| `deployment-verification-guide.md` | Full guide on preventing deployment gaps |\n| `skill-update-feedback.md` | Meta-enforcement: automatic skill update feedback loop |\n| `SKILL_CN.md` | Chinese translation of this document |\n\n## Usage Workflow\n\n### Setting up a new project\n\n```bash\nbash scripts\u002Finstall.sh \u002Fpath\u002Fto\u002Fproject\n```\n\n### Before creating any new .py file\n\n```bash\nbash scripts\u002Fpre-create-check.sh \u002Fpath\u002Fto\u002Fproject\n```\n\nReview the output. If existing functions cover your needs, import them.\n\n### After creating\u002Fediting a .py file\n\n```bash\nbash scripts\u002Fpost-create-validate.sh \u002Fpath\u002Fto\u002Fnew_file.py\n```\n\nFix any warnings before proceeding.\n\n### Setting up deployment verification\n\n```bash\nbash scripts\u002Fcreate-deployment-check.sh \u002Fpath\u002Fto\u002Fproject\n```\n\nThis creates:\n- `.deployment-check.sh` - Automated verification script\n- `DEPLOYMENT-CHECKLIST.md` - Full deployment workflow\n- `.git-hooks\u002Fpre-commit-deployment` - Git hook template\n\n**Then customize:**\n1. Add tests to `.deployment-check.sh` for your integration points\n2. Document your flow in `DEPLOYMENT-CHECKLIST.md`\n3. Install the git hook\n\nSee `references\u002Fdeployment-verification-guide.md` for full guide.\n\n### Adding to AGENTS.md\n\nCopy the template from `references\u002Fagents-md-template.md` and adapt to your project.\n\n## 中文文档 \u002F Chinese Documentation\n\nSee `references\u002FSKILL_CN.md` for the full Chinese translation of this skill.\n\n## Common Agent Failure Modes\n\n### 1. Reimplementation (Bypass Pattern)\n**Symptom:** Agent creates \"quick version\" instead of importing validated code.\n**Enforcement:** `pre-create-check.sh` + `post-create-validate.sh` + git hook\n\n### 2. Hardcoded Secrets\n**Symptom:** Tokens\u002Fkeys in code instead of env vars.\n**Enforcement:** `check-secrets.sh` + git hook\n\n### 3. Deployment Gap\n**Symptom:** Built feature but forgot to wire it into production. Users don't receive benefit.\n**Example:** Updated `notify.py` but cron still calls old version.\n**Enforcement:** `.deployment-check.sh` + git hook\n\nThis is the **hardest to catch** because:\n- Code runs fine when tested manually\n- Agent marks task \"done\" after writing code\n- Problem only surfaces when user complains\n\n**Solution:** Mechanical end-to-end verification before allowing \"done.\"\n\n### 4. **Skill Update Gap** (META - NEW)\n**Symptom:** Built enforcement improvement in project but forgot to update the skill itself.\n**Example:** Created deployment verification for Project A, but other projects don't benefit because skill wasn't updated.\n**Enforcement:** `install-skill-feedback-loop.sh` → automatic detection + semi-automatic commit\n\nThis is a **meta-failure mode** because:\n- It's about enforcement improvements themselves\n- Without fix: improvements stay siloed\n- With fix: knowledge compounds automatically\n\n**Solution:** Automatic detection of enforcement improvements with task creation and semi-automatic commits.\n\n## Key Principle\n\n> Don't add more markdown rules. Add mechanical enforcement.\n> If an agent keeps bypassing a standard, don't write a stronger rule — write a hook that blocks it.\n>\n> **Corollary:** If an agent keeps forgetting integration, don't remind it — make it mechanically verify before commit.\n","# Agent Guardrails\n\nMechanical enforcement for AI agent project standards. Rules in markdown are suggestions. Code hooks are laws.\n\n## Quick Start\n\n```bash\ncd your-project\u002F\nbash \u002Fpath\u002Fto\u002Fagent-guardrails\u002Fscripts\u002Finstall.sh\n```\n\nThis installs the git pre-commit hook, creates a registry template, and copies check scripts into your project.\n\n## Enforcement Hierarchy\n\n1. **Code hooks** (git pre-commit, pre\u002Fpost-creation checks) — 100% reliable\n2. **Architectural constraints** (registries, import enforcement) — 95% reliable\n3. **Self-verification loops** (agent checks own work) — 80% reliable\n4. **Prompt rules** (AGENTS.md, system prompts) — 60-70% reliable\n5. **Markdown rules** — 40-50% reliable, degrades with context length\n\n## Tools Provided\n\n### Scripts\n\n| Script | When to Run | What It Does |\n|--------|------------|--------------|\n| `install.sh` | Once per project | Installs hooks and scaffolding |\n| `pre-create-check.sh` | Before creating new `.py` files | Lists existing modules\u002Ffunctions to prevent reimplementation |\n| `post-create-validate.sh` | After creating\u002Fediting `.py` files | Detects duplicates, missing imports, bypass patterns |\n| `check-secrets.sh` | Before commits \u002F on demand | Scans for hardcoded tokens, keys, passwords |\n| `create-deployment-check.sh` | When setting up deployment verification | Creates .deployment-check.sh, checklist, and git hook template |\n| `install-skill-feedback-loop.sh` | When setting up skill update automation | Creates detection, auto-commit, and git hook for skill updates |\n\n### Assets\n\n| Asset | Purpose |\n|-------|---------|\n| `pre-commit-hook` | Ready-to-install git hook blocking bypass patterns and secrets |\n| `registry-template.py` | Template `__init__.py` for project module registries |\n\n### References\n\n| File | Contents |\n|------|----------|\n| `enforcement-research.md` | Research on why code > prompts for enforcement |\n| `agents-md-template.md` | Template AGENTS.md with mechanical enforcement rules |\n| `deployment-verification-guide.md` | Full guide on preventing deployment gaps |\n| `skill-update-feedback.md` | Meta-enforcement: automatic skill update feedback loop |\n| `SKILL_CN.md` | Chinese translation of this document |\n\n## Usage Workflow\n\n### Setting up a new project\n\n```bash\nbash scripts\u002Finstall.sh \u002Fpath\u002Fto\u002Fproject\n```\n\n### Before creating any new .py file\n\n```bash\nbash scripts\u002Fpre-create-check.sh \u002Fpath\u002Fto\u002Fproject\n```\n\nReview the output. If existing functions cover your needs, import them.\n\n### After creating\u002Fediting a .py file\n\n```bash\nbash scripts\u002Fpost-create-validate.sh \u002Fpath\u002Fto\u002Fnew_file.py\n```\n\nFix any warnings before proceeding.\n\n### Setting up deployment verification\n\n```bash\nbash scripts\u002Fcreate-deployment-check.sh \u002Fpath\u002Fto\u002Fproject\n```\n\nThis creates:\n- `.deployment-check.sh` - Automated verification script\n- `DEPLOYMENT-CHECKLIST.md` - Full deployment workflow\n- `.git-hooks\u002Fpre-commit-deployment` - Git hook template\n\n**Then customize:**\n1. Add tests to `.deployment-check.sh` for your integration points\n2. Document your flow in `DEPLOYMENT-CHECKLIST.md`\n3. Install the git hook\n\nSee `references\u002Fdeployment-verification-guide.md` for full guide.\n\n### Adding to AGENTS.md\n\nCopy the template from `references\u002Fagents-md-template.md` and adapt to your project.\n\n## 中文文档 \u002F Chinese Documentation\n\nSee `references\u002FSKILL_CN.md` for the full Chinese translation of this skill.\n\n## Common Agent Failure Modes\n\n### 1. Reimplementation (Bypass Pattern)\n**Symptom:** Agent creates \"quick version\" instead of importing validated code.\n**Enforcement:** `pre-create-check.sh` + `post-create-validate.sh` + git hook\n\n### 2. Hardcoded Secrets\n**Symptom:** Tokens\u002Fkeys in code instead of env vars.\n**Enforcement:** `check-secrets.sh` + git hook\n\n### 3. Deployment Gap\n**Symptom:** Built feature but forgot to wire it into production. Users don't receive benefit.\n**Example:** Updated `notify.py` but cron still calls old version.\n**Enforcement:** `.deployment-check.sh` + git hook\n\nThis is the **hardest to catch** because:\n- Code runs fine when tested manually\n- Agent marks task \"done\" after writing code\n- Problem only surfaces when user complains\n\n**Solution:** Mechanical end-to-end verification before allowing \"done.\"\n\n### 4. **Skill Update Gap** (META - NEW)\n**Symptom:** Built enforcement improvement in project but forgot to update the skill itself.\n**Example:** Created deployment verification for Project A, but other projects don't benefit because skill wasn't updated.\n**Enforcement:** `install-skill-feedback-loop.sh` → automatic detection + semi-automatic commit\n\nThis is a **meta-failure mode** because:\n- It's about enforcement improvements themselves\n- Without fix: improvements stay siloed\n- With fix: knowledge compounds automatically\n\n**Solution:** Automatic detection of enforcement improvements with task creation and semi-automatic commits.\n\n## Key Principle\n\n> Don't add more markdown rules. Add mechanical enforcement.\n> If an agent keeps bypassing a standard, don't write a stronger rule — write a hook that blocks it.\n>\n> **Corollary:** If an agent keeps forgetting integration, don't remind it — make it mechanically verify before commit.\n",{"bugs":24,"name":5,"tags":25,"author":39,"license":15,"pricing":40,"version":41,"category":42,"homepage":43,"keywords":44,"repository":57,"description":7,"requirements":58,"compatibility":61},"https:\u002F\u002Fgithub.com\u002FjzOcb\u002Fagent-guardrails\u002Fissues",[26,27,28,29,30,31,32,33,34,35,36,37,38],"ai-safety","code-quality","enforcement","git-hooks","deployment","security","automation","guardrails","claude-code","clawdbot","cursor","mechanical-enforcement","agent-reliability","jzOcb","FREE","1.1.0","development-tools","https:\u002F\u002Fgithub.com\u002FjzOcb\u002Fagent-guardrails#readme",[45,46,47,48,49,50,51,52,53,54,55,56],"AI agent bypassing","code enforcement","git hooks automation","secret detection","deployment verification","import enforcement","mechanical guardrails","agent safety","production incidents","Claude Code skills","Clawdbot skills","AI coding safety","https:\u002F\u002Fgithub.com\u002FjzOcb\u002Fagent-guardrails",{"git":59,"bash":60},">=2.0",">=4.0",[34,35,36,62],"any-ai-agent","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Folmmlo-cmd\u002Fagent-guardrails",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":73,"prompt":83,"zipAvailable":84},[74,77,80],{"tool":75,"command":76},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill agent-guardrails",{"tool":78,"command":79},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill agent-guardrails",{"tool":81,"command":82},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill agent-guardrails","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Folmmlo-cmd\u002Fagent-guardrails\u002FSKILL.md",true,[],[87,95,102,109,116,123],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":94},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":94},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":94},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":94},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":94},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]