policy-opa

A tool for writing and enforcing rules with Open Policy Agent, or OPA. These rules can check whether infrastructure and applications meet security or compliance requirements.

In plain words
What is it for?
Enforcing rules across infrastructure and applications, validating Kubernetes admission controls, and checking policies related to SOC 2, PCI DSS, and GDPR.
Why use it?
It moves policy checks into automated workflows instead of relying only on manual reviews. This helps catch non-compliant changes before they are accepted.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/agentsecops/secopsagentkit/policy-opa
Any agent
npx skills add AgentSecOps/SecOpsAgentKit --skill policy-opa
Clone the repo
git clone --depth 1 https://github.com/AgentSecOps/SecOpsAgentKit

Made for: Claude Code, Codex.

Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,184 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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 $0.00117 $0.03184
Opus 5 $0.00059 $0.01592
Sonnet 5 $0.00023 $0.00637
Haiku 4.5 $0.00012 $0.00318

Measured yesterday against content hash bc107c143166, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

policy-opa scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -L -o opa https://openpolicyagent.org/downloads/latest/opa_linux_amd64
skills/compliance/policy-opa/SKILL.md · 432 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. yesterday First seen · 432 lines · 117 tokens per session scan A bc107c143166

Subscribe to this mod's changes

policy-opa is a skill published in the GitHub repository AgentSecOps/SecOpsAgentKit (201 stars, last pushed 4mo ago), with no licence file. It adds 117 tokens to every session and 3,184 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

compliance-review

Compliance & Governance Review: Reviews systems for regulatory compliance — SOC2, HIPAA, PCI-DSS, ISO 27001, LGPD/GDPR. Covers access control, audit logging, encryption, data retention, incident response, and compliance documentation. Use when the user mentions SOC2, HIPAA, PCI, ISO 27001, LGPD, GDPR, compliance…

camilooscargbaptista/cto-toolkit · 103 tokens

mapping-builder

Build a reviewed crosswalk (RequirementMappingSet YAML library + review xlsx/csv) between two CISO Assistant framework YAML files using Claude itself as the reasoning engine. Zero infrastructure — stdlib + pyyaml only, no embedders, no LM Studio, no Qdrant. Use when the user asks to map / crosswalk / generate a…

intuitem/ciso-assistant-community · 164 tokens

reference-controls-enricher

Enrich a CISO Assistant framework YAML by linking each assessable requirement to reference control URNs from the central doc-pol library (CISO Assistant Key Reference Controls). Produces a reviewable xlsx and patches the framework YAML in place. Use when the user asks to "add reference controls to framework X", "link…

intuitem/ciso-assistant-community · 102 tokens

ciso-assistant-basic-risk-assessment

Guide users through a basic risk assessment workflow in CISO Assistant, from asset identification to scenario creation. Use when: (1) User wants to start a risk assessment from scratch (2) User mentions "risk assessment", "identify risks", "threat scenarios", or "risk register" (3) User asks about qualitative vs…

intuitem/ciso-assistant-community · 138 tokens

ciso-assistant-bootstrap

Bootstrap CISO Assistant for new users by guiding them through initial setup. Use when: (1) User wants to set up CISO Assistant from scratch (2) User mentions "bootstrap", "initial setup", "getting started", or "onboarding" with CISO Assistant (3) User needs help creating their organizational structure, loading…

intuitem/ciso-assistant-community · 120 tokens

cis-benchmark-framework

Convert a CIS Benchmark PDF into a CISO Assistant framework library (YAML) by extracting only the "Appendix: Summary Table" — recommendation numbers, titles, and their Automated/Manual tag as implementation groups. Stays within the same IP boundary as the existing cis-benchmark-kubernetes library (no…

intuitem/ciso-assistant-community · 0 tokens