ory-permissions-onboarding

ory-permissions-onboarding is a skill for Claude Code from ory/claude-plugins. It costs 62 tokens per session (1,139 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 — 12 skills, 3 commands, 9 hooks, 1 MCP server shipped together

Good fit Use it to connect Agent Security, review native tool blocks, and move a project from observe mode to enforce mode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ory/claude-plugins/ory-permissions-onboarding
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.

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 12 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ory-permissions-onboarding

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,139 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00062 $0.01139
Opus 5.5 $0.00025 $0.00456
Sonnet 5.5 $0.00012 $0.00228
Haiku 4.5 $0.00006 $0.00114

Measured 22d ago against content hash 5b79c863c6ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 22d 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 · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 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 server access, 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 calls use the same model in McpServer and McpTool.
  • PermissionMode#enforcedSubjects remains 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:

Read the full file on GitHub · 123 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. 22d ago Changed · +3 lines · +6 tokens per session 5b79c863c6ab
  2. 3mo 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 62 tokens to every session and 1,139 once invoked, about $0.0002 per session on Opus 5.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

ory-permissions-onboarding compared with skills from other repositories

ory-permissions-onboarding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ory-permissions-onboardingory/claude-pluginsSkill32d agoApache-2.0A62Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code