
Fapi
Guides building or reviewing FAPI 2.0 OAuth servers, clients and resource servers
Fapi is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Fapi
This skill walks an agent through configuring or auditing an authorization server, client or resource server against the OpenID FAPI 2.0 Security Profile for financial-grade APIs. It follows a step-by-step workflow covering version and profile selection, authorization server setup, client behaviour, resource server checks, cryptography rules and key distribution, with a pinned list of specifications and RFCs it draws from.
The agent can also add FAPI 2.0 Message Signing when non-repudiation is required, covering signed request objects, JARM responses, signed introspection and ID token verification. Draft-stage FAPI-CIBA and Grant Management guidance is included, pinned to the revisions it cites, along with notes on migrating from FAPI 1.0 and preparing for the OpenID conformance suite.
The skill expects the user to name their role, target profile and sender-constraining and client authentication choices, or to be asked for them. It runs no scripts and relies on the agent reading its reference files; the material is written for a developer familiar with OAuth 2.0 and JOSE.
When your agent uses it
FAPI 2.0: high-security OAuth profile for financial-grade APIs. Use when building or reviewing an authorization server, client or resource server that must meet the OpenID FAPI 2.0 Security Profile or FAPI 2.0 Message Signing: PAR, PKCE S256, sender-constrained tokens with DPoP or mTLS, private_key_jwt or mTLS client authentication, PS256, ES256 or Ed25519, the RFC 9207 iss parameter, short code lifetimes and strict redirect URIs. Also use it to migrate from FAPI 1.0 Baseline or Advanced, to apply JARM, FAPI-CIBA or Grant Management, and to prepare for OpenID FAPI certification. Triggers: FAPI, FAPI2, financial-grade API, open banking, open finance, high-security OAuth, PAR, DPoP, MTLS, JARM, signed request object, x-fapi-interaction-id, CIBA, grant_id.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 12 files (69 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabaseOr copy only this skill to ~/.claude/skills/fapi:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/fapi &&
cp -R "$tmp/.agents/skills/fapi" ~/.claude/skills/fapi &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/fapi inside it instead.
Copy the skill folder to ~/.agents/skills/fapi to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/fapi &&
cp -R "$tmp/.agents/skills/fapi" ~/.agents/skills/fapi &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/fapi inside it instead.
Copy the skill folder to ~/.cursor/skills/fapi to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/fapi &&
cp -R "$tmp/.agents/skills/fapi" ~/.cursor/skills/fapi &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/fapi inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/fapiOr copy the folder to ~/.gemini/skills/fapi yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/fapi:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/fapi &&
cp -R "$tmp/.agents/skills/fapi" ~/.copilot/skills/fapi &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/fapi inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.gitThen copy better-supabase/.agents/skills/fapi into your agent's skills folder as fapi. Agents that support SKILL.md read one folder per skill.
What it does
- FAPI 2.0 Security Profile rules
- Invariants for authorization servers, clients and resource servers, such as PAR, PKCE S256 and confidential clients.
- Sender-constrained tokens
- Guidance on binding access tokens with DPoP or mTLS and verifying that binding at each party.
- Client authentication checks
- Covers private_key_jwt and mTLS client authentication and the audience rules for client assertions.
- Cryptography and key handling
- Allowed algorithms, minimum key sizes, JWKS publication and kid handling.
- Message Signing and JARM
- Signed request objects, JARM responses, signed introspection and ID token verification.
- FAPI 1.0 migration
- Lists the differences from FAPI 1.0 Baseline and Advanced and the steps to upgrade to FAPI 2.0.
- Conformance suite preparation
- Identifies the test plans per configured option for OpenID certification of servers and clients.
Good for
- Make this authorization server comply with the FAPI 2.0 Security Profile
- Review a client implementation for PAR, PKCE and iss checking
- Check that a resource server rejects unbound or query-string access tokens
- Migrate an existing FAPI 1.0 Advanced deployment to FAPI 2.0
- Add JARM signed authorization responses to an open banking API
- Prepare an OAuth server for the OpenID FAPI conformance tests
Fapi FAQ
What does the skill need to know before starting?
It expects the role (authorization server, client or resource server), the target FAPI 2.0 profile, whether Message Signing is in scope, and the chosen sender-constraining and client authentication methods. It asks for these if they are not given.
Does it cover FAPI 1.0 as well?
Yes. It describes FAPI 1.0 Baseline and Advanced as legacy and includes an upgrade path to FAPI 2.0, building FAPI 1.0 only when an ecosystem still requires it.
Does the skill run scripts?
No scripts are included. The skill consists of a SKILL.md and reference documents that guide the agent's work.
Which drafts are covered?
FAPI-CIBA and Grant Management are covered as Implementer's Drafts pinned to ID1, and the skill applies them only when asked.
How do I install Fapi in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/fapi to use it in all your projects, or to .claude/skills/fapi 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 Fapi 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 Fapi?
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 Fapi?
The closest alternatives to Fapi are API security auth pattern, API security, Auth and rbac, Gnap and Authzen.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ScaleDockHQ/better-supabase

Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown
- Open source
- 5 GitHub stars
- Files and documents

Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol
- Open source
- 5 GitHub stars
- Developer tools

Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0
- Open source
- 5 GitHub stars
- Developer tools

Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI
- Open source
- 5 GitHub stars
- Browser automation

Guides an agent to write, review and validate SKILL.md skills against the Agent Skills
- Open source
- 5 GitHub stars
- Developer tools

Write, place, migrate and review AGENTS.md instruction files for coding agents
- Open source
- 5 GitHub stars
- Developer tools






