# Authzen

> Authzen is an open-source agent skill for security. Guides building PEPs and PDPs for the OpenID AuthZEN access evaluation and search API. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/authzen
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** authzen
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill helps an agent build or review both sides of the OpenID AuthZEN Authorization API: a Policy Enforcement Point that asks for access decisions, and a Policy Decision Point that answers them over HTTPS JSON. It covers the subject, resource, action and context model, the single and batch evaluation endpoints, and the three search endpoints with pagination.

The skill sets out a step-by-step workflow: model the request, call or serve evaluations, add batch or search where needed, publish or consume PDP metadata, secure the transport, and check conformance. It includes invariants such as treating a deny as a 200 response with decision false rather than an HTTP error, and checking the metadata identifier before use. It also covers upgrading from the 1.0 Implementer's Draft to the Final and running the working group's certification scenario and interop test vectors.

The guidance targets the 1.0 Final and is pinned to a specific commit of the working group's certification materials. No scripts are included, and the skill is provided under the MIT license.

## When your agent uses it

> AuthZEN Authorization API: PEP-to-PDP access evaluation and search over HTTPS JSON. Use when building or reviewing a Policy Enforcement Point (PEP) that asks a Policy Decision Point (PDP) for access decisions, or a PDP that implements the API: the subject, resource, action and context information model, decision and decision context, the Access Evaluation endpoint (/access/v1/evaluation), the Access Evaluations batch endpoint with default values and evaluations_semantic (execute_all, deny_on_first_deny, permit_on_first_permit), Subject, Resource and Action Search with pagination (page, next_token), PDP metadata at /.well-known/authzen-configuration and signed_metadata, HTTP error codes, X-Request-ID, PEP authentication, the interop test vectors, and the Basic, Batch, Search and Discovery certification levels, and upgrading a PEP or PDP from the 1.0 Implementer's Draft. Targets the OpenID AuthZEN Authorization API 1.0 Final; no newer draft line exists.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/authzen)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/authzen)

## Features

- **Access evaluation API:** Guidance for single access decision requests and responses between a PEP and a PDP.
- **Batch evaluations:** Covers default values, per-item overrides, ordering and the evaluations_semantic options.
- **Search endpoints:** Explains subject, resource and action search with pagination tokens and result rules.
- **PDP metadata and discovery:** Covers the well-known configuration document, signed metadata and default endpoint paths.
- **Transport and security rules:** Lists HTTPS, PEP authentication, error codes and X-Request-ID handling.
- **Certification and upgrades:** Includes certification levels, interop vectors and a checklist for moving from the draft.

## Good for

- Add AuthZEN access checks to an API gateway
- Review a PDP implementation against the AuthZEN Final
- Batch several authorization decisions into one request
- List the resources a user is permitted to access
- Upgrade an Implementer's Draft PEP to the 1.0 Final
- Prepare a PDP for AuthZEN Basic certification

## Install

### Claude Code

This skill ships in the `better-supabase` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase
```

Or copy only this skill to `~/.claude/skills/authzen`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/authzen &&
cp -R "$tmp/.agents/skills/authzen" ~/.claude/skills/authzen &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/authzen` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/authzen` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/authzen &&
cp -R "$tmp/.agents/skills/authzen" ~/.agents/skills/authzen &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/authzen` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/authzen` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/authzen &&
cp -R "$tmp/.agents/skills/authzen" ~/.cursor/skills/authzen &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/authzen` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/authzen
```

Or copy the folder to `~/.gemini/skills/authzen` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/authzen`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/authzen &&
cp -R "$tmp/.agents/skills/authzen" ~/.copilot/skills/authzen &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/authzen` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git
```

Then copy `better-supabase/.agents/skills/authzen` into your agent's skills folder as `authzen`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which AuthZEN version does the skill target?

It targets the OpenID AuthZEN Authorization API 1.0 Final, and notes that no newer draft line exists.

### How does the skill treat a denied request?

A deny is returned as HTTP 200 with decision set to false. Error codes such as 400, 401, 403 and 500 describe request or processing problems rather than denials.

### Does the skill include scripts?

No, the skill has no scripts. It consists of instructions and reference files.

### How do I install Authzen in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/authzen to use it in all your projects, or to .claude/skills/authzen in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

### Does Authzen run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Authzen?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Authzen?

The closest alternatives to Authzen are API security auth pattern, API compliance checker, Gnap, Cedar and Fapi.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [API security auth pattern](https://ai-powered.com/skills/api-security-auth-pattern): API security auth pattern is an open-source agent skill for security.
- [API compliance checker](https://ai-powered.com/skills/api-compliance-checker): API compliance checker is an open-source agent skill for security.
- [Gnap](https://ai-powered.com/skills/gnap): Gnap is an open-source agent skill for security.
- [Cedar](https://ai-powered.com/skills/cedar): Cedar is an open-source agent skill for security.
- [Fapi](https://ai-powered.com/skills/fapi): Fapi is an open-source agent skill for security.
- [Pentest](https://ai-powered.com/skills/pentest): Pentest is an open-source agent skill for security.
- [API security](https://ai-powered.com/skills/api-security): API security is an open-source agent skill for security.
- [Axiom security](https://ai-powered.com/skills/axiom-security-charleswiltgen-2): Axiom security is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/authzen
