teardown SKILL.md skillB

teardown from smol-machines/smolvm is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add smol-machines/smolvm/teardown@git:20261016.432b170

Pins git:20261016.432b170 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
smol-machines/smolvm
Path
docs/teardown/SKILL.md
Versions recorded
2
Latest version
git:20261016.432b170, committed Oct 16, 2026
First version recorded
Oct 6, 2026
Size
17,504 bytes
Repository stars
6,776
License
Apache-2.0

Stops every smolvm machine a session started, removes smolvm's state, and proves the host is clean. Use after any smolvm session; when a machine seems to have survived a Ctrl-C or a crash; when disk space has disappeared; when uninstalling smolvm; when tearing down the Kubernetes runtime from a node; or when a borrowed or shared host has to be handed back with nothing left behind. Also use it as the cleanup step for other smolvm work, because the obvious assertions here give false results. Do…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Leaving nothing running and nothing behind

Verified on **smolvm v1.29.0** on macOS arm64, 2026-10-15, and on **v1.18.2** on Linux aarch64,
2026-09-24. This packet exists on its own because **the obvious cleanup steps fail here**: the
obvious assertion gives a false failure, the obvious reaper matches the wrong process or nothing
at all, and killing a wrapper around a run does not stop its machine. Anything that starts machines
needs this more than it needs any single feature.
The Linux runs used the scripts of their date; this version's preflight and cleanup scripts ran
on Linux aarch64 on v1.22.2 on 2026-10-03.

The cleanup scripts of credentials, dev-env, docker-in-machine, gpu-cuda and install are this
packet's `scripts/cleanup.sh` with the `PACKET=` line changed; branch-and-checkpoint, local-api, pack
and throwaway-machine build on it and add flags of their own.

## Procedure

The commands below are relative to this packet's directory; its scripts write nothing to the
working directory, so running them from there is safe.

**1. See what is there.** Read-only: deletes nothing, starts no VM.

```bash
scripts/preflight.sh
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add smol-machines/smolvm/teardown@sha256:313575439d334101

The line at the top of this page pins the label git:20261016.432b170, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zqugoyc44sx7njf3.svg)](https://markdownregistry.com/a/art_zqugoyc44sx7njf3)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 6, 2026 and Oct 16, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20261016.432b170 latest2026-10-16 432b170 17,504 BB view · diff
git:20261006.d96e58e2026-10-06 d96e58e 16,325 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No curl or wget piped into a shell (matched: curl -sSL https://smolmachines.com/install.sh | bash)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (17504 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

smol-machines/smolvm · 6,776 stars · license Apache-2.0 · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zqugoyc44sx7njf3
GET https://markdownregistry.com/api/v1/resolve?ref=smol-machines/smolvm/teardown
GET https://markdownregistry.com/api/v1/blob/313575439d33410153c437f415fa6de85a40d6c53271bebaf78469900aa4b4b2

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from smol-machines/smolvm

AGENTS.md AGENTS.md file
smol-machines/smolvm · AGENTS.md
git:20261019.f6fd298 · audit A · 6,776 stars
branch-and-checkpoint SKILL.md skill
smol-machines/smolvm · docs/branch-and-checkpoint/SKILL.md · Saves a running smolvm machine as checkpoints on a schedule, keeps a bounded history, restores any generation in it…
git:20261016.432b170 · audit A · 6,776 stars
coding-agent SKILL.md skill
smol-machines/smolvm · docs/coding-agent/SKILL.md · Runs a coding agent (Claude Code, OpenCode, Codex or any other) inside a persistent smolvm machine with the project…
git:20261016.432b170 · audit A · 6,776 stars
credentials SKILL.md skill
smol-machines/smolvm · docs/credentials/SKILL.md · Gives a workload in a smolvm machine an API key or token it can use but never read, by binding the credential to named…
git:20261016.432b170 · audit A · 6,776 stars
dev-env SKILL.md skill
smol-machines/smolvm · docs/dev-env/SKILL.md · Keeps a persistent smolvm machine with its dependencies already installed and re-enters it cheaply across sessions. Use…
git:20261016.432b170 · audit A · 6,776 stars
docker-in-machine SKILL.md skill
smol-machines/smolvm · docs/docker-in-machine/SKILL.md · Runs a Docker daemon inside a smolvm machine and shows it working there, which is what tools that call Docker…
git:20261016.432b170 · audit A · 6,776 stars
gpu-cuda SKILL.md skill
smol-machines/smolvm · docs/gpu-cuda/SKILL.md · Runs CUDA compute workloads inside a smolvm microVM against a real host NVIDIA GPU, using smolvm's --cuda API remoting…
git:20261016.432b170 · audit A · 6,776 stars
install SKILL.md skill
smol-machines/smolvm · docs/install/SKILL.md · Installs smolvm from a published release and proves the host can actually boot a microVM before any other work starts…
git:20261016.432b170 · audit B · 6,776 stars
llms.txt@docs llms.txt file
smol-machines/smolvm · docs/llms.txt
git:20261019.bd3e05c · audit A · 6,776 stars
local-api SKILL.md skill
smol-machines/smolvm · docs/local-api/SKILL.md · Drives smolvm programmatically over its local HTTP API (smolvm serve) instead of the CLI: create machines, exec and…
git:20261016.432b170 · audit B · 6,776 stars
pack SKILL.md skill
smol-machines/smolvm · docs/pack/SKILL.md · Turns an image, or a machine already provisioned, into a single self-contained artifact that runs on another compatible…
git:20261016.432b170 · audit A · 6,776 stars
throwaway-machine SKILL.md skill
smol-machines/smolvm · docs/throwaway-machine/SKILL.md · Runs untrusted code in a throwaway smolvm microVM against a repo it must not modify, with no network unless explicitly…
git:20261016.432b170 · audit A · 6,776 stars

Every file in smol-machines/smolvm

Browse by kind, by grade B, or by owner.