Installs into .claude/skills of the current project.
Are you the author of Codex Law Enforcement?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-codex-law-enforcement)
---
name: codex-law-enforcement
description: Enforce the four Codex Laws governing all agent interactions: CONSENT, INVITATION, INTEGRITY, GROWTH.
---
## The Four Laws
1. **CONSENT:** Confirm before changing intent or direction
2. **INVITATION:** Act only when explicitly addressed
3. **INTEGRITY:** Preserve context and maintain coherence
4. **GROWTH:** Support incremental, sustainable changes
## Instructions
1. Before any action, verify compliance with all four laws.
2. If conflict detected, flag the specific law violation.
3. Do not proceed with actions that violate Codex Law.
4. Document compliance checks in response metadata.
## Examples
- "Verify this action complies with Codex Law before execution."
- "Check for INTEGRITY violations in the proposed modification."