ory-e2b-sandbox

ory-e2b-sandbox is a skill for Claude Code from ory/claude-plugins. It costs 138 tokens per session (2,233 once invoked), scanned C, original, Apache-2.0.

A guide for creating an E2B sandbox template with Ory already installed. E2B provides isolated cloud environments where code or agents can run.

In plain words
What is it for?
Use it to publish a reusable sandbox image for Claude, Codex, Gemini, OpenClaw, or OpenCode sessions.
Why use it?
New sandboxes start with authentication, permission checks, and activity recording already set up.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex; built for openclaw; mentions Gemini CLI.

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

Good fit Use it to publish a reusable sandbox image for Claude, Codex, Gemini, OpenClaw, or OpenCode sessions.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ory/claude-plugins/ory-e2b-sandbox/github.svg)](https://agentmods.dev/skills/ory/claude-plugins/ory-e2b-sandbox)
Your own site
<a href="https://agentmods.dev/skills/ory/claude-plugins/ory-e2b-sandbox"><img src="https://agentmods.dev/badge/skills/ory/claude-plugins/ory-e2b-sandbox/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-e2b-sandbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/ory/claude-plugins/ory-e2b-sandbox"><img src="https://agentmods.dev/badge/skills/ory/claude-plugins/ory-e2b-sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,233 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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.00138 $0.02233
Opus 5.5 $0.00055 $0.00893
Sonnet 5.5 $0.00028 $0.00447
Haiku 4.5 $0.00014 $0.00223

Measured 22d ago against content hash 7d928ad52bd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

ory-e2b-sandbox scanned grade C with 2 findings 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

.runCmd("curl -fsSL https://deb.nodesource.com/setup_20.x | bash -")

Makes network callslowCapability

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

.aptInstall(["curl", "ca-certificates", "git", "python3"])
plugins/ory-agent-plugin/skills/ory-e2b-sandbox/SKILL.md · 229 lines

How it starts

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

E2B sandbox with Ory agent security

Agent SDK deployment: If the user owns an OpenAI Agents SDK application and wants Agent Security to issue its headless runtime identity, do not use this coding-harness image recipe. Use /project:ory-deploy-openai-e2b for the complete ory-agent, Talos, immutable-template, and trusted-controller workflow.

You are helping the user scaffold an E2B sandbox template that preinstalls and registers the @ory/claude-code plugin. The resulting template publishes a named image; every Sandbox.create("<tag>") call from their SDK gets a runtime where the agent's tool calls are already authenticated against Ory Identities, authorized against Ory Permissions, and recorded as structured activity events — with no install step at sandbox boot.

This skill carries the full workflow and the file contents. You generate the files in the user's repo; the user runs the build.

Precondition: the user has (or will obtain) an E2B_API_KEY and has installed the E2B CLI / SDK (npm install e2b dotenv). If they haven't, point them at https://e2b.dev/docs and stop — do not fabricate credentials.

Step 1 — Confirm the target

Before writing files, confirm with the user:

  1. Where in their repo should the integration live? A common choice is integrations/e2b/ at the repo root. Use that unless they say otherwise.
  2. Template tag. Default to agent-ory (e.g. claude-code-ory, codex-ory). Operators will reference this string in Sandbox.create().
  3. Will the sandbox have network access to Ory? It must — the plugin makes live API calls to ORY_PROJECT_URL from inside the sandbox.

If the user is targeting an in-process harness (OpenClaw, OpenCode), the host binary that loads the plugin must also be available inside the sandbox. Flag this and ask how they ship that binary today — usually npm install of a project that already depends on the harness runtime.

Step 2 — Generate the files

Read the full file on GitHub · 229 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 · +4 lines 7d928ad52bd3
  2. 3mo ago First seen · 225 lines · 138 tokens per session scan C 7b796bfc8128

Subscribe to this mod's changes

ory-e2b-sandbox is a skill published in the GitHub repository ory/claude-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 138 tokens to every session and 2,233 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ory-e2b-sandbox compared with skills from other repositories

ory-e2b-sandbox next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ory-e2b-sandboxory/claude-pluginsSkill32d agoApache-2.0C138Claude Code
deploy-docker-composeomnigent-ai/omnigentSkill12ktodayApache-2.0A84Claude Code, Codex
bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0ktodayApache-2.0A117Cursor
securing-kubernetes-on-cloudxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A80Claude Code, Codex
detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A40Claude Code, Codex
docker-socket-mountPurpleAILAB/DecepticonSkill6.9k14d agoApache-2.0B67Claude Code
managing-astro-local-envastronomer/agentsSkill465yesterdayApache-2.0A63Claude Code