From ralph-town
Ralph-town snapshot commands. Use for preflight checks and snapshot creation before spawning teammates.
npx claudepluginhub spences10/ralph-town --plugin ralph-townThis skill uses the workspace's default tool permissions.
**Verify snapshot ready:** `ralph-town sandbox preflight`
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Verify snapshot ready: ralph-town sandbox preflight
Create snapshot: ralph-town sandbox snapshot create
Verify snapshot has required tools before spawning teammates.
# 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/root/.bun/bin/bun - Bun runtime/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:
debian:bookworm-slimBuild time: ~2-3 minutes
preflight before spawning teammatessnapshot create if preflight fails--force to rebuild after tool updatesimport { Daytona, Image } from '@daytonaio/sdk';
const daytona = new Daytona();
// Create snapshot
const image = Image.base('debian:bookworm-slim')
.runCommands(
'apt-get update && apt-get install -y curl git',
'curl -fsSL https://bun.sh/install | bash',
)
.env({ PATH: '/root/.bun/bin:$PATH' })
.workdir('/home/daytona');
await daytona.snapshot.create(
{ name: 'my-snapshot', image },
{ onLogs: console.log, timeout: 300 },
);
// List/check snapshots
const snapshots = await daytona.snapshot.list();
const snapshot = await daytona.snapshot.get('ralph-town-dev');
executeCommand() returns exit code -1 on snapshot sandboxes.
Use SSH instead. See daytonaio/daytona#2283