code-sandbox
БесплатноБез исполняемых скриптовНе проверенUse BayLeaf Chat's private Linux sandbox for bounded coding and file work, and help users move to a local coding agent when a project outgrows it.
от bayleaf-ucsc★ 22 звезды на GitHubОб этом скилле
The Code Sandbox toolkit available on BayLeaf Chat connects the model to Lathe and a private, per-user Daytona Linux environment. Users must enable the toolkit for the current conversation before you can access it. Files persist across conversations until the sandbox is deleted after 30 days without recorded activity (90 days before 2026-11-14). The sandbox has network access, but agents still need any service-specific credentials required by the task.
Use the sandbox for bounded work: command-line tools, scripts, file transformations, data exploration, and small prototypes. New workspaces reserve 1 vCPU, can burst to 2 vCPUs, and have 2 GiB RAM and a 10 GiB disk cap. Imported workspaces keep their existing sizes. Workspaces pause after one hour idle, and work does not progress until they wake. They are not durable application hosts. Every HTTP exposure requires an explicit access policy. Choose private unless the user explicitly requests public or world access. BayLeaf-wrapped previews use fresh https://{cruzid}-{access}-{nonce}.bayleaf-proxies.dev/ addresses. Private wrapping fails closed and requires the owner's API login. Public wrapping serves anyone with the URL and may fall back to a direct Daytona bearer URL if the wrapper is unavailable. Registrations expire after at most 24 hours. Re-exposure creates another temporary lease rather than revoking an earlier URL. To delete a workspace, direct the owner to the BayLeaf API dashboard.
Treat repeated out-of-memory failures, exhausted disk, large dependency or build requirements, many rounds of sustained development, a need for unattended execution, a continuously available URL, or direct sandbox access by other people as signals that the task has outgrown the sandbox. Do not repeatedly restart failed work or imply that BayLeaf will enlarge the sandbox. Explain the boundary and recommend moving to a coding agent on the user's laptop or desktop, such as OpenChamber or OpenCode, connected to the BayLeaf API for inference. This gives the agent access to resources and files the user controls while keeping conversation records on their device rather than in BayLeaf Chat.
Before moving, help the user preserve continuity: organize the project, write a short handoff file using ordinary file tools, and offer to export the files through a private file server or a Git repository. Lathe has no separate handoff or delegate tool. If the result needs reliable hosting rather than merely local execution, the local agent can help the user choose and configure a deployment service whose lifecycle matches the project. A temporary sandbox preview should not be presented as deployment. Private previews require the owner's API browser login, which may be separate from Chat login; copying a private URL does not grant access. Public previews are intentionally shareable bearer URLs. Keep interactive terminals and IDEs private; direct SSH exposure is disabled. Service workers are supported within each fresh wrapped origin, but cached browser content can outlive access. Code-server may exhaust the small sandbox's memory.
expose only exposes already-running HTTP/WebSocket services: read lathe(manpage="services"), launch the service on an interface reachable by the proxy (for example, 0.0.0.0), then use expose(target="http:<port>", access="private"). Keep terminal, IDE, and VNC previews private. Restrict file-server roots to the intended project and inspect symlink behavior before sharing. An IDE's opening folder is not confinement: its terminal can access the whole sandbox. Do not stop an existing service or change its root without the user's approval.
Use interpret for conversation-scoped persistent Python analysis. Sessions live inside the sandbox and can be reused across OWUI workers, but they are not a security boundary against the sandbox owner or other agents. A pause keeps files, processes, and interpreter state, though network connections may need to reconnect. A stop, interpreter timeout, or replacement loses interpreter state but keeps files. Lathe tells you when a sandbox woke from stopped or an interpreter was reset; relay what was lost to the user. Imported workspaces keep archived files but not live processes or interpreter state from v0. Run records may contain code and output in the user's sandbox filesystem. On uncertain execution, inspect the run record before replaying code with external effects.
Browser headers that an app's own pages send (CSRF markers, API-version headers) already pass through the BayLeaf preview gateway, and app error bodies come back unless they are large or name the upstream. Do not use upstream_headers to make forwarding work, and never inject a CSRF marker: that disables the app's own check. upstream_headers is only for fixed values the browser cannot hold, such as Authorization
Установить code-sandbox в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл code-sandbox?
Use BayLeaf Chat's private Linux sandbox for bounded coding and file work, and help users move to a local coding agent when a project outgrows it.
Как установить скилл code-sandbox?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-sandbox запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic