ory/claude-plugins/ory-permissions-onboarding
Claude Code and agent skill by ory/claude-plugins
- community
Checking that the SKILL.md file is still in the repository.
Onboard native agent-tool authorization with default allow and explicit deny overrides. Covers connecting the plugin, reviewing allowed and blocked tools, writing blocks in the Ory Console, and promoting the project from observe to enforce. MCP and PermissionMode remain grant-based.
Install
npx vskill@latest install ory/claude-plugins/ory-permissions-onboardingSKILL.md
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:
AgentToolandShellToolhave nousersrelation.- Their
usepermit is!blockedSubjects.includes(subject). - No matching block means allowed; a matching block means denied.
observelogs the block and proceeds;enforcevetoes the call.- MCP permissions and
PermissionMode#enforcedSubjectsremain grant-based.
1. Connect Agent Security
Copy the connection details shown in the Ory Console under Agent Security:
Then inspect the resolved configuration:
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
The report shows:
- The live permission mode and its source.
- The user subject being checked.
- Each built-in native tool as
allowed,blocked, orerrored. - 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:
To block a command word reached through a shell tool:
Blocks can also target the project, an agent credential, an agent session, a sub-agent credential, or a sub-agent spawn. Group/SubjectSet expansion is supported. A native deny is always an explicit block, never a missing grant.
MCP is intentionally different: continue granting MCP server/tool access with its existing users/use and invoke relations.
4. Observe Before Enforcing
While the project is in observe, run normal sessions and inspect:
Matching blocks emit permission.block_observed but the tool still runs. Review those events, then promote the project or selected principals to enforce in the Ory Console. Every gate reads the project-controlled posture.
5. Verify Enforcement
Under enforce:
- Tools without a matching block run normally.
- Explicitly blocked tools produce a clear "explicitly blocked" message.
- A blocked
ShellToolword blocks the outer shell command and names the word. - Infrastructure failures retain the core fail-open behavior.
If a tool is unexpectedly blocked, use npx -y -p @ory/claude-code ory-claude permissions to identify the block and remove or narrow its blockedSubjects relation in the Console.
Reference
| Command | Effect | |
|---|---|---|
npx -y -p @ory/claude-code ory-claude configure --project-url <URL> --agent-security-url <URL> | Connect Agent Security. | |
npx -y -p @ory/claude-code ory-claude configure --disconnect | Disconnect sign-in and permission checks. | |
npx -y -p @ory/claude-code ory-claude permissions | Print live mode plus native allowed/blocked state. Read-only. | |
npx -y -p @ory/claude-code ory-claude status | Print configuration, identities, native tool access, and recent activity. |
For authentication and subject-resolution details, see /project:ory-auth-setup and /project:ory-login-flow.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ory-agent-plugin/skills/ory-permissions-onboarding/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ory/claude-plugins/ory-permissions-onboarding)