upstash-box-cli
БесплатноБез исполняемых скриптовНе проверенDrive an Upstash Box (a remote sandboxed workspace) from the terminal with the `box` CLI. Use when asked to run commands, edit files, clone repos, run builds…
от upstash★ 37 звёзд на GitHubОб этом скилле
box operates on a remote container, not this machine. Your own file and shell
tools act locally; anything that must happen inside the box goes through box.
Install
npm i -g @upstash/box-cli
Authentication
Every command needs an API key, or it fails with "API token required". Set it once,
or pass --token on any single command. Create one at
https://console.upstash.com/box.
export UPSTASH_BOX_API_KEY=box_...
A read-only key (created with Read Only in the console) can list and inspect boxes,
read logs and files, and run box exec as a restricted user that can't write to the
workspace; the output then prints when the command finishes instead of streaming.
Everything else fails with 403 "This API key is read-only", and anything that would wake
a paused box fails with 409. Ask for a full-access key instead of retrying.
Selecting a box
Resolution order is --box <id>, then $BOX_ID, then the nearest .box file
(searched upward). Create one and pin it to the working directory:
box create --no-repl --runtime node # prints the id, writes .box
box create --no-repl --runtime node --clone-repo https://github.com/org/repo
box list # find an existing box
box use <box-id> # pin one to this directory
box status # id, where it came from, state
--keep-alive, --browser, --env and --size can only be chosen at create
time; to change any of them you make a new box. There is no resize.
Default to a plain box create --no-repl. A plain box pauses when it goes idle
and resumes on the next command, which is what almost all work wants:
box create --no-repl --browser # provision a headless Chromium
box create --no-repl --env KEY=VAL # env for this box (repeatable)
box create --no-repl --size medium # small (default), medium, large
Add --keep-alive only when something has to survive an idle gap: a detached
server you are about to reach over a preview URL, or a job that keeps running
between commands. It stops the box pausing, so the box keeps costing money until
you pause or delete it:
box create --no-repl --keep-alive # stays up when idle
--init-command is a startup script that runs each time the box starts: after
create and on every resume. It works on any box, with or without --keep-alive,
and box config init-command set changes it later:
box create --no-repl --init-command "npm ci"
box create --no-repl --label beta # repeatable; box list --label beta
The rest of the create-time options, all equally unchangeable afterwards:
box create --no-repl --skill upstash/skills/redis # repeatable
box create --no-repl --mcp docs=@org/mcp-server # or name=https://url
box create --no-repl --mcp-file servers.json # for args and headers
box create --no-repl --network-policy deny-all # or allow-all, or custom
box create --no-repl --network-policy custom --allow-domain api.example.com
box create --no-repl --attach-headers-file headers.json
--attach-headers-file holds a JSON object keyed by host pattern
({"api.stripe.com": {"Authorization": "Bearer ..."}}), and those headers are
injected into matching outbound requests from the box. There is an
--attach-header host:Name=value form too, but the value lands in ps and in
shell history, so prefer the file for anything secret.
A skill id has three parts, owner/repo/skill-name. A malformed one is only
warned about server-side, so the box comes up with the skill silently absent.
--env is per-box. box env set is account-level: it is merged into every box
created afterwards, never into one that already exists. A per-box --env wins
for the same key, so account-level values only fill in what the box did not set.
Account-level skills and MCP servers are merged the same way.
paused is not an error; the next command resumes the box.
A .box file is found by walking up from the working directory, so cd-ing
into another project can silently pick up a pin left there earlier and run
against the wrong box. In any session touching more than one box, pass --box
explicitly; box status says which box it resolved and where that came from.
Clean up when the work is done. Boxes cost money while they exist:
box pause # keeps the workspace, resumes on the next command
box resume # rarely needed; any command resumes a paused box
box delete --yes # irreversible; --yes is required without a terminal
Delete only boxes you created for the task; ask the user before deleting any other box.
Never run box create or box connect without --no-repl: they open an
interactive REPL and will hang. box from-snapshot takes --no-repl too.
Установить upstash-box-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл upstash-box-cli?
Drive an Upstash Box (a remote sandboxed workspace) from the terminal with the `box` CLI. Use when asked to run commands, edit files, clone repos, run builds or tests, publish a public URL, browse or screenshot a page, open a pull request or issue with a screenshot attached, schedule recurring work, run an AI agent, or do any work inside a box rather than on this machine.
Как установить скилл upstash-box-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл upstash-box-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic