# Open Policy Agent (OPA)

> Open Policy Agent (OPA)

- Skill: `agentskillexchange/open-policy-agent-opa` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/open-policy-agent-opa`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/open-policy-agent-opa/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/agentskillexchange/open-policy-agent-opa

---


# Open Policy Agent (OPA)



## Installation

Requirements and caveats from upstream:
- See [Docker Hub](https://hub.docker.com/r/openpolicyagent/opa/tags/) for container images and the [GitHub releases](https://github.com/open-policy-agent/opa/releases) for binaries.
- [Docker](https://www.openpolicyagent.org/docs/docker-authorization),

Basic usage or getting-started notes:
- Write your first Rego policy with the [Rego Playground](https://play.openpolicyagent.org) or use it to share your work with others for feedback and support. Have a look at the [Access Control examples](https://play.op...
- For example, in a simple API authorization use case:

- Source: https://github.com/open-policy-agent/opa
- Extracted from upstream docs: https://raw.githubusercontent.com/open-policy-agent/opa/HEAD/README.md

## Documentation

- https://www.openpolicyagent.org/docs/latest/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/open-policy-agent-opa/)

