codex-law-enforcement

Enforce the four Codex Laws with pre-action compliance checks and violation logging.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/starwreckntx/IRP__METHODOLOGIES- --skill codex-law-enforcement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-law-enforcement
Source: https://github.com/starwreckntx/IRP__METHODOLOGIES-/tree/main/skills/codex-law-enforcement
Command: npx skills add https://github.com/starwreckntx/IRP__METHODOLOGIES- --skill codex-law-enforcement

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It provides a formal mechanism to verify and enforce compliance with the four Codex Laws before proceeding with any operation.

Core Features & Use Cases

  • Pre-Action Compliance Checks: Validate all actions against CONSENT, INVITATION, INTEGRITY, and GROWTH.
  • Conflict Flagging: Detect and report law violations with clear remediation steps.
  • Documentation: Record all checks for governance audits.

Quick Start

Run a Codex Law compliance check before executing a high-risk operation.

Frequently Asked Questions about codex-law-enforcement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce compliance with agent action laws before executing operations?

Enforce the four Codex Laws—CONSENT, INVITATION, INTEGRITY, and GROWTH—by running pre-action compliance checks that validate all agent decisions against these principles, flag violations with remediation steps, and block non-compliant actions before execution.

What are the four Codex Laws and what do they govern?

The four Codex Laws govern agent interactions: CONSENT requires explicit permission before changing intent, INVITATION restricts action to when directly addressed, INTEGRITY preserves context accuracy, and GROWTH enforces incremental change. This Skill applies these rules to all agent decisions and documents violations.

Can I use Codex Law compliance checks for audit and governance documentation?

Yes. This Skill records all compliance checks and violations in structured response metadata, enabling comprehensive governance audits and providing clear documentation of which laws were checked, whether violations occurred, and remediation steps for each action.

How does conflict detection work when multiple Codex Laws apply to the same action?

The Skill detects conflicts by validating actions against all four Codex Laws simultaneously, identifying which specific laws are violated, and flagging conflicting requirements in response metadata so you can see the exact nature and scope of each violation.

What happens when a Codex Law violation is detected during an agent operation?

Violations are flagged immediately, the action is blocked from proceeding, and the violation is documented in response metadata with clear remediation guidance, preventing non-compliant operations from executing.