E2B CLAUDE.md

A project rulebook for E2B's Claude Code work, covering dependency tools, checks, tests, SDK consistency, generated specifications, and pull requests.

In plain words
What is it for?
Use it when changing E2B's JavaScript or Python SDKs, updating internal code, generating code from specifications, writing tests, or preparing a pull request.
Why use it?
It gives the coding agent repository-specific instructions, reducing missed checks, mismatched SDK changes, and accidental edits to generated files.

Instructions file

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 instructions/e2b-dev/e2b/claude-md
Clone the repo
git clone --depth 1 https://github.com/e2b-dev/E2B
Per session 306 This file is loaded in full into every session.
When invoked 306 The same file — it is already loaded in full.
Security scan A 0 findings. 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 $0.00306 $0.00306
Opus 5 $0.00153 $0.00153
Sonnet 5 $0.00061 $0.00061
Haiku 4.5 $0.00031 $0.00031

Measured 2d ago against content hash e90f4c942a65, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

E2B CLAUDE.md scanned grade A with 0 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 12 lines

What it actually says

Use pnpm for node and uv for python to install and update dependencies. Run pnpm run format, pnpm run lint and pnpm run typecheck before committing changes. When modifying the SDK packages, ensure equivalent changes are applied to both JS as well as sync and async Python implementations. Design the SDK in accordance with the design principles in TASTE.md. Never edit the API, envd, or volume-content specs in spec/ by hand; they are synced with Copybara from e2b-dev/infra and e2b-dev/belt at the commits pinned in spec/infra-ref and spec/belt-ref (see copy.bara.sky and spec/README.md). To update the specs, bump the pins and re-run make codegen, which re-fetches them before generating. Create or update tests covering affected codepaths and run them using pnpm run test. Generate a changeset with pnpm changeset in the repository root when changing the public surface of packages/cli, packages/js-sdk, or packages/python-sdk; internal scripts, devtools, and tests don't need one. When creating a pull request, add usage examples for user-facing changes to the PR description. When opening a new pull request, use the Linear MCP if available to link to related issues, or create a new issue from the PR description. Keep PR descriptions up-to-date with changes. Default credentials are stored in .env.local in the repository root or inside ~/.e2b/config.json.

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. 2d ago First seen · 12 lines · 306 tokens per session scan A e90f4c942a65

Subscribe to this mod's changes

E2B CLAUDE.md is an instructions file published in the GitHub repository e2b-dev/E2B (13,634 stars, last pushed today), licensed Apache-2.0. It adds 306 tokens to every session, about $0.0015 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.