一键导入
snapshot-management
Ralph-town snapshot commands. Use for preflight checks and snapshot creation before reliable sandbox runs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Ralph-town snapshot commands. Use for preflight checks and snapshot creation before reliable sandbox runs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when working with Daytona SDK - uploadFile(Buffer, path), pnpm setup, CodeLanguage options
Daytona sandbox security. Use for token handling, credential boundaries, and full paths in SSH.
Prepare reusable Daytona sandbox sessions for isolated evals, debugging, or manual command execution.
Manage Daytona sandboxes for isolated evals, smoke tests, and command execution.
Generate sandbox-scoped task prompts for any LLM or tool runner working inside Daytona sandboxes.
Troubleshoot Daytona sandbox runs, SSH access, snapshots, credentials, and command execution failures.
| name | snapshot-management |
| description | Ralph-town snapshot commands. Use for preflight checks and snapshot creation before reliable sandbox runs. |
Verify snapshot ready: ralph-town sandbox preflight Create
snapshot: ralph-town sandbox snapshot create
Verify a snapshot has the tools needed for evals and sandbox command runs.
# Check default snapshot (ralph-town-dev)
ralph-town sandbox preflight
# Check specific snapshot
ralph-town sandbox preflight --snapshot my-snapshot
# JSON output for scripts
ralph-town sandbox preflight --json
Flags:
--snapshot <name> - Snapshot to test (default: ralph-town-dev)--json - Output as JSONWhat it checks:
/usr/bin/gh - GitHub CLI/usr/bin/git - Git/usr/local/bin/pnpm - pnpm package manager/usr/bin/curl - curlCreate a pre-baked snapshot with all required tools.
# Create default snapshot
ralph-town sandbox snapshot create
# Create with custom name
ralph-town sandbox snapshot create --name my-snapshot
# Force recreate existing
ralph-town sandbox snapshot create --force
# JSON output
ralph-town sandbox snapshot create --json
Flags:
--name <name> - Snapshot name (default: ralph-town-dev)--force - Delete existing snapshot and recreate--json - Output as JSONWhat snapshot includes:
node:22-bookworm-slimBuild time: ~2-3 minutes
preflight before relying on a snapshot in evals or kept
sessions.snapshot create if preflight fails.--force to rebuild after tool updates.import { Daytona, Image } from '@daytonaio/sdk';
const daytona = new Daytona();
const image = Image.base('node:22-bookworm-slim')
.runCommands(
'apt-get update && apt-get install -y curl git',
'corepack enable && corepack prepare pnpm@latest --activate',
)
.workdir('/home/daytona');
await daytona.snapshot.create(
{ name: 'my-snapshot', image },
{ onLogs: console.log, timeout: 300 },
);
executeCommand() returns exit code -1 on snapshot sandboxes. Use
SSH-backed ralph-town run or manual SSH instead. See
daytonaio/daytona#2283