policy-validation

policy-validation is a skill for Claude Code, Codex from paruff/uFawkesAI. It costs 24 tokens per session (462 once invoked), scanned A, original, MIT.

A policy-as-code checker that compares build output with organizational rules written in tools such as OPA or Kyverno. Policy as code means expressing project and compliance rules in files that software can evaluate.

In plain words
What is it for?
It validates resources and pipelines against required labels, approvals, rollback plans, directory conventions, and organizational compliance policies.
Why use it?
It finds violations in application manifests, pipelines, folders, naming, ownership, cost tracking, backups, and recovery requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

Good fit It validates resources and pipelines against required labels, approvals, rollback plans, directory conventions, and organizational compliance policies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paruff/ufawkesai/policy-validation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add paruff/uFawkesAI --skill policy-validation
Clone the repo
git clone --depth 1 https://github.com/paruff/uFawkesAI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for policy-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/paruff/ufawkesai/policy-validation/github.svg)](https://agentmods.dev/skills/paruff/ufawkesai/policy-validation)
Your own site
<a href="https://agentmods.dev/skills/paruff/ufawkesai/policy-validation"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/policy-validation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for policy-validation

Your own site · 80×15
<a href="https://agentmods.dev/skills/paruff/ufawkesai/policy-validation"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/policy-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00462
Opus 5 $0.00012 $0.00231
Sonnet 5 $0.00005 $0.00092
Haiku 4.5 $0.00002 $0.00046

Measured 5d ago against content hash caa46b3e9c2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

policy-validation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/review/policy-validation/SKILL.md · 94 lines

What it actually says

Skill: Policy-as-Code Validation

Load trigger: "load policy-validation skill" > DORA: Cap 1 (AI Policy) Token cost: Low

Purpose

Validate build output against organizational policies defined as code.

Responsibilities

  • Validate manifests against OPA/Gatekeeper policies
  • Validate pipelines against policy rules
  • Validate directory structure conventions
  • Validate compliance rules

Inputs

  • Build output
  • Policy definitions (OPA Rego, Kyverno policies)

Outputs

  • policy-report.json

Validation Rules

Manifest Compliance

  • All resources have required labels
  • All resources have owner annotations
  • Namespace conventions followed
  • Resource naming conventions followed

Pipeline Compliance

  • Required stages present
  • Deployment requires approval
  • Rollback mechanism defined

Directory Structure

  • Code organized per conventions
  • Infrastructure code in designated directories
  • Policy files in designated location

Organizational Policies

  • Cost allocation labels present
  • Disaster recovery requirements met
  • Backup policies enforced
  • Retention policies applied

Tools

  • OPA/Rego for policy evaluation
  • Kyverno for Kubernetes policies
  • Conftest for manifest testing

Output Format

{
  "skill": "policy-validation",
  "status": "pass | fail",
  "policies_checked": 12,
  "violations": [
    {
      "severity": "medium",
      "policy": "required-labels",
      "resource": "deployment/my-app",
      "issue": "Missing 'team' label",
      "fix": "Add label team: <team-name>"
    }
  ]
}

Success Criteria

  • No policy violations
  • All organizational policies enforced
  • Compliance requirements met
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 94 lines · 24 tokens per session scan A caa46b3e9c2e

Subscribe to this mod's changes

policy-validation is a skill published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 17d ago), licensed MIT. It adds 24 tokens to every session and 462 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

template-redacted-report

Redacted release-report exemplar for classification ceilings, source protection, source-safe ledgers, reviewer gates, and mosaic-risk checks.

docxology/template · 30 tokens

aviation-inspector

Use when a task needs the judgment of an Aviation Inspector — determining whether an air carrier's fleet is in compliance with an Airworthiness Directive across a maintenance-records sample, deciding where the FAA's compliance-and-enforcement ladder places a finding (compliance action vs. Letter of Correction vs.…

wonsukchoi/domain-experts · 113 tokens

administrative-law-judge

Use when a task needs the judgment of an Administrative Law Judge, Adjudicator, or Hearing Officer — applying a mandatory sequential/structured evaluation framework in required order, weighing conflicting medical or vocational opinion evidence using specific regulatory factors, writing findings that explicitly address…

wonsukchoi/domain-experts · 89 tokens

agricultural-inspector

Use when a task needs the judgment of an Agricultural Inspector — grading a lot of produce against a USDA grade standard's defect tolerances, evaluating agricultural water test results against FSMA microbial thresholds, checking a pesticide residue result against the commodity-specific EPA tolerance, deciding whether…

wonsukchoi/domain-experts · 84 tokens

avionics-technician

Use when a task needs the judgment of an avionics technician — chasing an intermittent nav/comm or autopilot fault that "checks good" on the ground, deciding whether an avionics upgrade needs an STC or qualifies for field approval, verifying bonding resistance and wire-bundle separation on an install, cross-checking a…

wonsukchoi/domain-experts · 96 tokens

bailiff

Use when a task needs the judgment of a bailiff or court officer — deciding whether an in-custody defendant appears in visible or concealed restraints, running courtroom entry screening and staffing it for expected volume, handling a disruptive defendant or spectator under the judge's authority, moving a jury note…

wonsukchoi/domain-experts · 82 tokens