Individual skill
rules-to-guards
Rule enforcer that finds which written rules in AGENTS.md, CLAUDE.md, and GEMINI.md a coding agent keeps breaking, counts every violation in recent Claude Code, Codex, Gemini CLI, and OpenCode sessions, and turns each broken rule into a hook that blocks it, tested by replaying the past violations. Use when the user says the agent keeps breaking or disobeying a rule (such as "use pnpm, never npm"); asks how often agents violate their rules; wants a rule enforced by a hook instead of repeated in text; or wants to convert rules into hooks or permission rules. Runs locally: reads AGENTS.md-style rules and session transcripts, and changes settings only with --write after the user agrees.
skills/rules-to-guards/SKILL.md
Source commit 63e563fed765f82e93df916a12e24e8520b0b37c
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,501
- Repository last updated
- Nov 8, 2026
- License
- CC-BY-SA-4.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-framework Repository topic
- agent-harness Repository topic
- agentic-ai Repository topic
- agents Repository topic
- ai-agents Repository topic
- ai-tools Repository topic
- awesome-list Repository topic
- best-of-list Repository topic
- claude-code Repository topic
- coding-agents Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
LICENSE.txtdoc · 1,069 bytesREADME.mddoc · 9,038 bytesSKILL.mdcore · 10,626 bytesSKILL.mdcore · 10,626 bytesSKILL.mdcore · 10,626 bytesSKILL.mdcore · 10,626 bytesSKILL.mdcore · 10,626 bytesSKILL.mdcore · 10,626 bytesreferences/checkable-rules.mddoc · 14,411 bytesreferences/hook-formats.mddoc · 8,985 bytesscripts/rules.pyruns · 75,001 bytesscripts/rules_guard.pyruns · 35,624 bytesscripts/safe.pyruns · 7,092 bytesscripts/transcripts.pyruns · 68,520 bytes
No licensed excerpt is available. You can inspect the pinned source.