In short.
smolvm dev-env is an assistant skill for developers who want to return to the same development machine, but its provisioning runs once and persistence depends on where files are stored. It combines a Smolfile with scripts for host checks, creation, restart verification and cleanup. The authors document successful persistence on specific macOS, Linux and Windows versions; those accounts do not establish compatibility with every host or release. The scripts also have verification gaps and cleanup options that need attention. No independent execution results are available.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes all nine files in docs/dev-env at commit 3710e31ec3042cdeedc8afbb643ad7c141b4bbd8: README.md, SKILL.md, assets/dev.smolfile, references/traps.md, references/windows.md, and the four scripts for preflight, creation, persistence verification and cleanup. The repository LICENSE and THIRD-PARTY-NOTICES.md provide related rights evidence. Linked runtime documentation, sibling skill folders, other examples, smolvm implementation code, dependency source and release binaries are outside this scope. No files were executed; current-host behavior, security isolation and performance were not independently assessed.
The overview
identity
The resource is the docs/dev-env skill folder in smol-machines/smolvm. SKILL.md gives an assistant a procedure for creating and revisiting a named development machine; its companion files provide configuration, scripts and troubleshooting. It depends on the separately installed smolvm runtime.
The original folder is [https://github.com/smol-machines/smolvm/tree/main/docs/dev-env]. The source snapshot is [https://github.com/smol-machines/smolvm/tree/3710e31ec3042cdeedc8afbb643ad7c141b4bbd8/docs/dev-env].
assessment
The skill addresses a concrete problem: keeping dependencies and configuration available without provisioning a fresh environment for every session. Its strongest features are explicit restart checks, separation of provisioning from everyday work, and explanations of failures that can resemble successful startup.
Its success messages have limits. The creation script waits for an exact readiness response but only prints the provisioning identity, execution user and working directory; it does not compare those values before reporting result=up. The persistence script compares package versions across a restart, but it does not check whether pip installation succeeded, so an existing installation can weaken that evidence.
users
It fits developers and coding assistants working repeatedly on a trusted project that needs an isolated, persistent environment. Beginners receive a concrete Python starting point; experienced developers get details about storage, users, mounts, networking and lifecycle behavior.
Users need enough command-line knowledge to inspect script output and adjust configuration. The skill directs untrusted workloads and Docker-daemon setup to separate procedures whose full instructions are outside this folder.
capabilities
The folder supplies scripts to inspect host prerequisites, create a named machine with a workload that stays running, and check package versions, files, user identity and working directory after a restart. Cleanup records created machine names for later removal.
Its README also explains smolvm workload logs, resource statistics and changes to published TCP ports. Logs cover the machine's workload rather than exec sessions. Live TCP port changes require a machine started with at least one published port; UDP changes require stopping it.
Using it
requirements
The scripts require Bash, common command-line utilities and an installed smolvm binary available through PATH or the SMOLVM environment variable. The preflight checks macOS hypervisor availability or readable and writable Linux /dev/kvm access. It starts no machine, so result=ready does not establish successful boot or workload operation.
The supplied configuration uses python:3.12-alpine, two virtual CPUs, 2048 MiB of memory, outbound networking and a ./src host mount. Initial use needs access to the image registry and package installation needs a package index. These settings are an example, not established universal minimum requirements.
The authors document Linux aarch64 runs at 1024 MiB after failures with higher allocations on particular hosts. Native Windows is outside the Bash preflight's coverage; a separate reference describes Windows runs in an elevated session.
mechanism
Creation records configuration; the first start pulls the image and runs init. The documented behavior is that init runs once as root, while exec and shell use the configured app user. Commands needed on every boot, such as recreating a bind mount inside the guest, belong in the workload command.
Persistent filesystem changes use an overlay stored on the machine's disk. Installed user packages, home-directory files and storage files survive stop and start. The README clarifies that /tmp is a directory on the root filesystem that is cleared on restart; it should not hold configuration that must survive.
The creation helper supplies a long-running shell loop because an interpreter image's default command can exit and be relaunched repeatedly. Both creation and persistence helpers wait for the exact response WORKLOAD_READY before proceeding.
setup
Keep the folder's scripts, assets and references together. For example, with the folder saved as ./dev-env inside a project, the documented sequence can be invoked as bash ./dev-env/scripts/preflight.sh, bash ./dev-env/scripts/create-dev-machine.sh smolskill-dev, and bash ./dev-env/scripts/verify-persistence.sh smolskill-dev. These are instructions, not executed results.
Run creation from the intended project directory because ./src resolves against the current working directory. The helper creates that directory, uses the bundled Smolfile by default and requires names beginning with smolskill-. A custom name and Smolfile can be supplied as its two arguments.
After verifying the environment, stop it with smolvm machine stop --name smolskill-dev. Return with smolvm machine start --name smolskill-dev before opening smolvm machine shell --name smolskill-dev. The persistence verifier leaves the machine running.
example
For a Python project, the supplied configuration mounts ./src at /app, creates the app user during provisioning and makes /app the working directory. A documented work command is smolvm machine exec --name smolskill-dev -- pip install --user requests.
The persistence verifier records the installed requests version, writes home and storage markers plus a temporary file, then stops and restarts the machine. The authors' macOS v1.29.0 account reports requests 2.34.2 surviving, home and storage markers surviving, /tmp being cleared, and init being skipped. These are historical source-reported results; the installation command does not pin that package version.
Assessment & evidence
limitations
The example's host mount carries host ownership and was not writable by the guest app user in documented runs. Removing its host source directory can prevent later starts with a misleading readiness timeout. The example also enables general outbound networking and does not mark its source mount read-only; exposed files and network access need deliberate configuration.
Cleanup has a broader reach than a simple recorded-name deletion: --cascade also removes descendant machines, regardless of their names. The optional --reap flag force-kills matching VM processes, including machines retained by other skill folders. Lifecycle commands should be serialized per machine.
The Windows reference documents a ceiling through v1.22.2 of four mounts without the additional networking device, or three when ports are published. The ceiling after the documented IRQ expansion was not measured on Windows. Intel Mac operation, init after checkpoint restore, and provisioning interactions with an image's own USER declaration remain unassessed in this skill.
reasoning
This approach fits work where retaining dependencies saves repeated setup and accumulated machine state is acceptable. Its usefulness depends on understanding storage locations and separating first-start provisioning from every-boot requirements. Exact readiness responses and before-and-after values provide more useful evidence than a successful create command, although the script gaps mean those results still require inspection.
alternatives
The README describes machine run and pack run as options for fresh, ephemeral sessions. It also describes persistent named machines created from packed artifacts. These are different smolvm lifecycle choices rather than comparative evidence against other development-environment products.
The skill points to simpler Python and Node Smolfiles elsewhere in the repository, a throwaway-machine procedure for untrusted workloads, docker-in-machine for a Docker daemon, and pack for portable artifacts. Their complete procedures and files are outside this folder and were not assessed.
evidence
The available material includes the skill instructions, README, example configuration, four complete scripts, two troubleshooting references and repository license notices. The scripts establish what commands and comparisons are written into the procedure; runtime outcomes come from the authors' documented accounts.
Those accounts include repeated macOS persistence checks, Linux aarch64 results and a Windows v1.22.2 account reporting three successful stop/start cycles with a marker and package version retained. Coverage is specific to the reported environments. No commands were executed for this report, and no new timing, compatibility or isolation measurements are available.
Access & freshness
costs
No price list, support pricing or measured operating cost is supplied. The Apache 2.0 license grants royalty-free rights to the covered code, but total ownership and hosting costs are unknown.
Resource use includes host memory, CPUs, disk storage and network transfers for images and packages. The README reports defaults of a 20 GiB storage disk and a 10 GiB root filesystem overlay on v1.22.2 and v1.27.3, with sparse allocation consuming space as data is stored. Cloud charges, bandwidth charges and current defaults are not established.
rights
The repository LICENSE and third-party notice identify smolvm itself as Apache 2.0 licensed. The license permits use, modification and redistribution subject to its conditions, including providing the license, retaining applicable notices and marking modified files. It supplies no warranty or general trademark permission.
Runtime release bundles include separately licensed components. The notices identify libkrun as Apache 2.0, libkrunfw as LGPL-2.1-only with a GPL-2.0-only Linux kernel, virglrenderer and libepoxy as MIT, and MoltenVK as Apache 2.0. Redistributing those binaries requires attention to their respective obligations; they are separate from the skill files.
freshness
The source snapshot is commit 3710e31ec3042cdeedc8afbb643ad7c141b4bbd8, captured on 2026-11-16. SKILL.md's latest full macOS account is dated 2026-10-15 for smolvm v1.29.0, which is also the preflight's reference version.
Linux aarch64 documentation includes 1024 MiB results on v1.18.2 and v1.22.2 while retaining an older Linux verification stamp. Windows persistence is documented on v1.22.2 on 2026-10-03. The README separately mentions a v1.33.0-pre Linux x86_64 temporary-file and packing observation; that does not establish a full rerun of this recipe. Current-release compatibility and resolution of the cited USER interaction issue are unknown.
actions
Before adoption, check virtualization access, available memory, mount ownership and the installed smolvm version. Adjust the source mount and network access to the project's needs. Keep durable configuration outside /tmp and ensure every-boot operations are in the workload command.
Confirm readiness, the intended user and working directory, successful package installation, and persistence after a restart on the actual host. Retain the machine by stopping it when finished. When discarding it, inspect recorded names and descendants before cleanup; use --reap only when its broader process targets are intended.
