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.
npx skills add mahmoud20138/Tradecraft --skill e2b-sandboxesgit clone --depth 1 https://github.com/mahmoud20138/TradecraftWrote 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.
[](https://agentmods.dev/skills/mahmoud20138/tradecraft/e2b-sandboxes)<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/e2b-sandboxes"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/e2b-sandboxes/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.
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/e2b-sandboxes"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/e2b-sandboxes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.00591 |
| Opus 5 | $0.00041 | $0.00296 |
| Sonnet 5 | $0.00016 | $0.00118 |
| Haiku 4.5 | $0.00008 | $0.00059 |
Grade A, and why
e2b-sandboxes 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 11d 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.
What it actually says
E2B Code Interpreter Sandboxes
Secure isolated cloud VMs for executing AI-generated code. Open-source.
Installation
pip install e2b-code-interpreter
npm i @e2b/code-interpreter
export E2B_API_KEY=your_key_here # get at https://e2b.dev/dashboard
Python Usage
from e2b_code_interpreter import Sandbox
# Basic execution
with Sandbox() as sandbox:
result = sandbox.run_code("x = 1 + 1; print(x)")
print(result.logs.stdout) # ["2"]
# Stateful multi-step session
with Sandbox() as sandbox:
sandbox.run_code("data = [1, 2, 3]")
r = sandbox.run_code("print(sum(data))")
print(r.logs.stdout) # ["6"]
TypeScript Usage
import { Sandbox } from "@e2b/code-interpreter"
const sandbox = await Sandbox.create()
const result = await sandbox.runCode("print(1 + 1)")
console.log(result.logs.stdout)
await sandbox.kill()
Use With Claude AI Agent
from anthropic import Anthropic
from e2b_code_interpreter import Sandbox
client = Anthropic()
sandbox = Sandbox()
response = client.messages.create(
model="claude-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": "Write Python to compute fibonacci(10)"}]
)
code = response.content[0].text
result = sandbox.run_code(code)
print(result.logs.stdout)
sandbox.kill()
Key Features
| Feature | Detail |
|---|---|
| Isolation | Each sandbox = fresh cloud VM |
| Stateful | Variables persist within session |
| Languages | Python, JavaScript/TypeScript |
| Outputs | stdout, stderr, rich results (plots, tables) |
| Self-hostable | GCP (prod-ready), AWS (in progress), Azure (planned) |
Self-Hosting
# GCP (production-ready)
terraform apply -var-file=gcp.tfvars
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.
- 11d ago First seen · 88 lines · 82 tokens per session scan A 4d43d4ea4444
e2b-sandboxes is a skill published in the GitHub repository mahmoud20138/Tradecraft (15 stars, last pushed 4mo ago), licensed MIT. It adds 82 tokens to every session and 591 once invoked, about $0.0004 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.
Other skills, from other repositories
install-memu
Install or uninstall memU for whatever agent you are — identify your host, print its packaged guide, and follow it to wire (or unwire) both seams (record and inject). Use when the user asks to install, set up, integrate, remove, or uninstall memU.
offensive-crypto-attacks
Systematic methodology for identifying and exploiting cryptographic implementation weaknesses in real-world applications. Covers padding oracle attacks against CBC-mode ciphers with PKCS7 padding (Vaudenay's original attack through modern padbuster automation), ECB mode exploitation including block cut-and-paste and…
offensive-parameter-pollution
HTTP parameter pollution (HPP) checklist: duplicate parameter injection, backend vs frontend parsing differences, WAF bypass via HPP, server-side vs client-side HPP, and practical exploitation patterns. Use when testing web applications for parameter handling flaws.
offensive-wifi
Wireless / 802.11 attack methodology for red team engagements and wireless security assessments. Covers monitor-mode setup, WPA/WPA2-PSK handshake capture and PMKID attacks, WPA3 SAE downgrade and Dragonblood, WPA-Enterprise (EAP) attacks (MSCHAPv2 cracking, EAP-TLS cert theft, evil-twin RADIUS), Karma / Known Beacons…
comptable
Comptabilité, fiscalité et facturation pour entreprises françaises. Gère écritures PCG, déclarations TVA, IS/IR, clôture annuelle, liasse fiscale (2033/2065), FEC, états financiers, et chaîne facturation (mentions obligatoires, numérotation, Factur-X/UBL/CII, plateformes agréées PDP/PA, e-reporting, réforme 2026…
fiscaliste
Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…