stripe-projects
Skill14k starsChanged 3 months agoApache-2.0View on GitHub
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
- Reads credentials
- Installs packages
5 other projects use a version of this.
Trending
Less talk lately.thin dataabout the whole repository
Most recently taken up by
- bex-co/bextheir own version, first seen Sep 29, 2026
- stripe/aitheir own version, first seen Sep 29, 2026
- NiazMorshed2007/jcrtheir own version, first seen Sep 20, 2026
- openai/pluginstheir own version, first seen May 13, 2026
- Roentek/Claude_Code_Boilerplate_Frameworktheir own version, first seen May 5, 2026
Who's talking about e2b-dev/E2B
- A Hacker News story“Show HN: We are building an open-source IDE powered by AI”Hacker News · Apr 4, 2023 · 369 points
- e2b-dev/code-interpreter“Align Python SDK safety fixes with monorepo migration”GitHub · Aug 26, 2026 · 2 reactions
- e2b-dev/desktop“Align Desktop SDK behavior with monorepo migration”GitHub · Aug 26, 2026 · 2 reactions
- Canner/WrenAI“Python Mode insted of JSON mode.”GitHub · Jan 27, 2025 · 2 reactions
- scaleapi/agentenv-framework“build(deps): bump the python-minor-and-patch group across 1 directory with 18 updates”GitHub · Oct 5, 2026 · 1 reactions
The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 12
Talked about on GitHub and Hacker News (12 times).
On GitHub · 11
- Aug 26, 2026Align Python SDK safety fixes with monorepo migration — e2b-dev/code-interpreter2 reactions · 1 comment
- Aug 26, 2026Align Desktop SDK behavior with monorepo migration — e2b-dev/desktop2 reactions · 1 comment
- Jan 27, 2025Python Mode insted of JSON mode. — Canner/WrenAI2 reactions · 5 comments
- Oct 5, 2026build(deps): bump the python-minor-and-patch group across 1 directory with 18 updates — scaleapi/agentenv-framework1 reaction · 2 comments
- Oct 5, 2026chore: bump the python-minor-patch group across 5 directories with 7 updates — opencodos/background-agents1 reaction · 4 comments
6 more on GitHub
- Oct 1, 2026build(deps): bump the python-minor-and-patch group across 1 directory with 15 updates — scaleapi/agentenv-framework1 reaction · 2 comments
- Sep 29, 2026chore: bump the python-minor-patch group across 5 directories with 12 updates — opencodos/background-agents1 reaction · 4 comments
- Aug 9, 2026Bump the python-dependencies group across 1 directory with 15 updates — com-wuqi/Rosmontis.io1 reaction · 1 comment
- Jul 29, 2026Bump the python-dependencies group across 1 directory with 13 updates — com-wuqi/Rosmontis.io1 reaction · 1 comment
- Jul 26, 2026Bump the python-dependencies group across 1 directory with 10 updates — com-wuqi/Rosmontis.io1 reaction · 2 comments
- Jan 24, 2026feat: e2b-dl command — marswong/e2b-dl1 reaction
On Hacker News · 1
- Apr 4, 2023Show HN: We are building an open-source IDE powered by AI369 points · 175 comments
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- openai/plugins★ 7.3ksame name
- stripe/ai★ 1.9ksame name
- bex-co/bex★ 569same name
- NiazMorshed2007/jcr★ 19same name
- Roentek/Claude_Code_Boilerplate_Framework★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 5 are distinctive, and 12 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use these patterns after E2B sandbox/API access has been provisioned through Stripe Projects.
- Very specific: line 13
Use that key as E2B_API_KEY for sandbox creation, sandbox control, and SDK clients.
- Very specific: line 14
Prefer setting E2B_API_KEY explicitly in runtime environments so commands and SDK calls use the intended E2B team.
- Very specific: line 17
Do not print secret values.
- Distinctive: line 32
Add E2B to the current Stripe project:
- Very specific: line 58
Use stripe projects env --json for structure checks only.
- Distinctive: line 62
If the E2B CLI is missing or a shell shim is broken, install it with Node instead of switching to SDK code:
- Distinctive: line 72
Prefer detached sandboxes for non-interactive work so the command returns a sandbox ID and does not attach an interactive terminal:
- Very specific: line 79
Run shell commands in a sandbox with -- before shell flags so the CLI does not parse them:
- Very specific: line 97
Use sandbox exec for operational commands against an existing sandbox:
- Very specific: line 106
Use Sandbox.create() with E2B_API_KEY for a fresh sandbox:
- Distinctive: line 116
Use lifecycle options when the sandbox should pause on timeout and resume on later activity:
- Very specific: line 124
Use Sandbox.connect() when a CLI step already created the sandbox:
- Very specific: line 136
Use the context manager with E2B_API_KEY for short-lived tasks:
- Very specific: line 167
Use the base template unless a task requires a specific template.
- Very specific: line 168
Prefer bash -lc for multi-command CLI execution.
- Very specific: line 169
Put temporary files under /tmp or the current working directory inside the sandbox unless the task requires a specific path.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
E2B Stripe Projects
Use these patterns after E2B sandbox/API access has been provisioned through Stripe Projects.
Credentials
- Stripe Projects provisions E2B sandbox/API access and returns an E2B team API key.
- Use that key as
E2B_API_KEYfor sandbox creation, sandbox control, and SDK clients. - Prefer setting
E2B_API_KEYexplicitly in runtime environments so commands and SDK calls use the intended E2B team. - Local defaults can also come from
.env.localor~/.e2b/config.json. - In Stripe Projects checkouts, the E2B CLI may not be globally logged in. Before using
e2b sandbox ..., prefer a Stripe Projects env pull plus per-command export instead of tryinge2b auth login. - Do not print secret values.
stripe projects env --jsoncan return redacted placeholders, so do not use it as the source for a runnableE2B_API_KEY. Pull the managed env file, then read only the needed E2B variables into the command environment without echoing them.
stripe projects env --pull --yes
env_value() {
awk -F= -v key="$1" '$1 == key {sub(/^[^=]*=/, ""); gsub(/^"|"$/, ""); print; exit}' .env
}
export E2B_API_KEY="$(env_value E2B_API_KEY)"
export E2B_API_URL="$(env_value E2B_API_URL)"
export E2B_DOMAIN="$(env_value E2B_DOMAIN)"
e2b sandbox create base --detachStripe Projects CLI
Add E2B to the current Stripe project:
stripe projects add e2b/sandboxesInspect or pull provisioned credentials:
stripe projects env
stripe projects env --json
stripe projects env --pull --yesExport the E2B API key before using the E2B CLI or SDK. Prefer stripe projects env --pull --yes for command execution because JSON output may redact secret values. Read only the variables you need from .env; do not source .env as shell code:
stripe projects env --pull --yes
env_value() {
awk -F= -v key="$1" '$1 == key {sub(/^[^=]*=/, ""); gsub(/^"|"$/, ""); print; exit}' .env
}
export E2B_API_KEY="$(env_value E2B_API_KEY)"
export E2B_API_URL="$(env_value E2B_API_URL)"
export E2B_DOMAIN="$(env_value E2B_DOMAIN)"Use stripe projects env --json for structure checks only. In current Stripe Projects output, the E2B variables are under data.resource_access_configurations[].access_configuration, including E2B_API_KEY, E2B_API_URL, and E2B_DOMAIN, but the values may be redacted and unusable for CLI/SDK calls.
E2B CLI
If the E2B CLI is missing or a shell shim is broken, install it with Node instead of switching to SDK code:
if ! e2b --version >/dev/null 2>&1; then
npm install -g @e2b/cli
fiThe CLI package requires Node 20 or newer.
Prefer detached sandboxes for non-interactive work so the command returns a sandbox ID and does not attach an interactive terminal:
e2b sandbox create --detach
e2b sandbox create base --detachRun shell commands in a sandbox with -- before shell flags so the CLI does not parse them:
e2b sandbox exec <sandbox_id> -- bash -lc 'pwd && ls -la'For long-running processes, run them in the background and write a PID file in the sandbox:
e2b sandbox exec <sandbox_id> -- bash -lc 'nohup python server.py >server.log 2>&1 & echo $! >server.pid'The CLI has explicit resume, but sandbox creation does not currently expose an auto-resume flag:
e2b sandbox resume <sandbox_id>Use sandbox exec for operational commands against an existing sandbox:
e2b sandbox exec <sandbox_id> -- bash -lc 'python --version'
e2b sandbox exec <sandbox_id> -- bash -lc 'ls -la /tmp'JavaScript SDK
Use Sandbox.create() with E2B_API_KEY for a fresh sandbox:
import Sandbox from 'e2b'
const sandbox = await Sandbox.create('base')
const result = await sandbox.commands.run('echo "hello from e2b"')
console.log(result.stdout)Use lifecycle options when the sandbox should pause on timeout and resume on later activity:
const sandbox = await Sandbox.create('base', {
lifecycle: { onTimeout: 'pause', autoResume: true },
})Use Sandbox.connect() when a CLI step already created the sandbox:
import Sandbox from 'e2b'
const sandbox = await Sandbox.connect(process.env.SANDBOX_ID!)
const result = await sandbox.commands.run('cat important_file.md')
console.log(result.stdout)Python SDK
Use the context manager with E2B_API_KEY for short-lived tasks:
from e2b import Sandbox
with Sandbox.create("base") as sandbox:
result = sandbox.commands.run('echo "hello from e2b"')
print(result.stdout)Use lifecycle options when the sandbox should pause on timeout and resume on later activity:
sandbox = Sandbox.create(
"base",
lifecycle={"on_timeout": "pause", "auto_resume": True},
)For workflows that share a sandbox across steps, keep the sandbox ID and connect to it later:
from e2b import Sandbox
sandbox = Sandbox.connect(sandbox_id)
result = sandbox.commands.run("cat important_file.md")
print(result.stdout)Practical Defaults
- Use the
basetemplate unless a task requires a specific template. - Prefer
bash -lcfor multi-command CLI execution. - Put temporary files under
/tmpor the current working directory inside the sandbox unless the task requires a specific path. - For workloads that need code execution with
run_codeorrunCode, use the Code Interpreter SDK.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

