ory-permissions-onboarding

ory-permissions-onboarding is a skill for Claude Code from ory/claude-plugins. It costs 56 tokens per session (1,066 once invoked), scanned A, original, Apache-2.0.

A guide for connecting Ory Permissions to agent tool authorization. Ory Permissions controls which actions a person or agent may use.

In plain words
What is it for?
Use it to connect Agent Security, review native tool blocks, and move a project from observe mode to enforce mode.
Why use it?
It explains how to allow tools by default while explicitly blocking selected tools, and how to choose between logging a block and enforcing it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the ory-agent-plugin plugin — 10 skills, 3 commands, 9 hooks, 1 MCP server shipped together

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/ory/claude-plugins/ory-permissions-onboarding
Any agent
npx skills add ory/claude-plugins --skill ory-permissions-onboarding
Clone the repo
git clone --depth 1 https://github.com/ory/claude-plugins

Made for: Claude Code.

Or install ory-agent-plugin, the plugin that ships this one along with the rest of its 10 skills, 3 commands, 9 hooks, 1 MCP server.

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 ory-permissions-onboarding

README.md
[![agentmods](https://agentmods.dev/badge/skills/ory/claude-plugins/ory-permissions-onboarding.svg)](https://agentmods.dev/skills/ory/claude-plugins/ory-permissions-onboarding)
Your own site
<a href="https://agentmods.dev/skills/ory/claude-plugins/ory-permissions-onboarding"><img src="https://agentmods.dev/badge/skills/ory/claude-plugins/ory-permissions-onboarding.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00056 $0.01066
Opus 5 $0.00028 $0.00533
Sonnet 5 $0.00011 $0.00213
Haiku 4.5 $0.00006 $0.00107

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

Security

Grade A, and why

ory-permissions-onboarding 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 6d 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.

Makes network callslowCapability

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

object: <command word> e.g. curl
plugins/ory-agent-plugin/skills/ory-permissions-onboarding/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Onboard Ory Permissions for Agent Tool Calls

Help the user connect Agent Security and roll out explicit native-tool blocks without treating missing grants as denials.

The plugin only reads permissions. It never writes them. The permission model, native-tool blocks, MCP grants, and observe/enforce posture are managed in the Ory Console (Agent Security).

Native policy is simple:

  • AgentTool and ShellTool have no users relation.
  • Their use permit is !blockedSubjects.includes(subject).
  • No matching block means allowed; a matching block means denied.
  • observe logs the block and proceeds; enforce vetoes the call.
  • MCP permissions and PermissionMode#enforcedSubjects remain grant-based.

1. Connect Agent Security

Copy the connection details shown in the Ory Console under Agent Security:

npx -y -p @ory/claude-code ory-claude configure --project-url <URL> --agent-security-url <URL>

Then inspect the resolved configuration:

npx -y -p @ory/claude-code ory-claude status

Confirm that Agent Security is connected and the public OAuth2 login client is resolved. The plugin needs no workspace privilege or project API key.

2. Review Native Tool Access

npx -y -p @ory/claude-code ory-claude permissions

The report shows:

  • The live permission mode and its source.
  • The user subject being checked.
  • Each built-in native tool as allowed, blocked, or errored.
  • A compact allowed/blocked summary for decomposed shell command words.

A fresh project normally reports native tools as allowed. There is no grant coverage step and the local seed writes no baseline AgentTool or ShellTool grants.

3. Add Explicit Blocks in the Console

To block a native tool, write a blockedSubjects relation in the Ory Console:

namespace: AgentTool
object:    <tool name>          e.g. WebFetch
relation:  blockedSubjects
subject:   User:<id>

To block a command word reached through a shell tool:

namespace: ShellTool
object:    <command word>       e.g. curl
relation:  blockedSubjects
subject:   User:<id>

Read the full file on GitHub · 120 lines

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. 6d ago First seen · 120 lines · 56 tokens per session scan A 7c65e50e00de

Subscribe to this mod's changes

ory-permissions-onboarding is a skill published in the GitHub repository ory/claude-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,066 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens