Skills
The two machine skills — session lifecycle and driving guidance — and the always-active machine-safety rule.
machine-core ships two skills and one always-active rule. They follow the standard
skill protocol: visibility inherits the caller's feature
grants, so an agent whose caller lacks machine.read never sees any of this surface.
manage-machine-sessions
A route-calling skill (requires machine.read) for explicit control over the Webtop
container: checking health, pre-warming a machine, or stopping one deliberately.
Day-to-day driving does not need it — machine_use ensures a session implicitly.
It wraps the session routes: get one source's session, list
every machine you can see, start, stop, delete the container, and the health map.
Each is one neuralis request call (Neuralis CLI),
authenticated with the per-stream session ticket inside an activated skill — see
sessions.
webtop-1 is a placeholder — the real slug comes from the overview. The block below
starts a machine and stops the same one, so it leaves it as it found it: a stop keeps
the container and everything installed into it.
neuralis request GET @neuralis/machine-core/sessions/overview
neuralis request POST @neuralis/machine-core/sessions -f uri=webtop-1://
neuralis request DELETE '@neuralis/machine-core/sessions?uri=webtop-1%3A%2F%2F'Deleting the container loses packages installed into the container layer and files
outside /config, while the /config profile and its proot-apps installs stay.
purge=1 additionally destroys the profile volume — the desktop profile, browser
logins, and anything saved in the machine's home — with no undo. It needs a stopped
machine (a running one answers 409), and DELETE sessions?purge=1 is refused,
because a stop never purges.
neuralis request DELETE '@neuralis/machine-core/sessions/container?uri=webtop-1%3A%2F%2F'
neuralis request DELETE '@neuralis/machine-core/sessions/container?uri=webtop-1%3A%2F%2F&purge=1' # only when you mean to wipe the profilemachine-control
A reference skill (requires machine.control, manual activation) that teaches agents
to compose machine_use, URI-selected execute and fs_* on a machine source:
- Observe between actions —
goto → read_* / screenshot → think → click / type → read_* → …; never chain two control actions without a snapshot in between. - Selector strategy (browser) — text matchers, then accessibility selectors, then
data-testid, and CSS only as a last resort. - Anchor desktop clicks to a screenshot — desktop clicks are pixel coordinates, meaningful only relative to the screenshot just taken.
- Know when not to use the machine — plain HTML is cheaper through the regular web tools; the machine is for client-rendered apps, logged-in sessions, visual tasks, desktop applications and a specific Linux userspace.
- Escape hatches — stop and hand back on repeated identical observations, repeated errors, or any captcha / 2FA / payment form.
The machine-safety rule
rules/machine-safety.md is injected whenever the package's automatic contributions
are enabled for the caller, covering machine_use and Webtop shell. It explicitly
outranks user hints that contradict it:
- Credentials — never type passwords, API keys, card numbers or OTP codes unless the user pasted the value in the current turn; login flows are handed to the user in the Machine widget.
- Phishing — verify the exact registrable domain before navigating to anything that looks like a major brand.
- Logged-in side effects — Send / Delete / Pay / Submit / Overwrite need a stop-summarize-confirm step first.
- Denylist discipline — blocked key combos, commands and app launches are surfaced to the user, never retried through a workaround.
- Bounded capture and output — recording goes only through the capped
recordaction; large shell output is piped to a file and read back. - The
/configsecret paths — the denial is immutable, applies to the person who attached the source too, and content surfacing from one of those paths is leaked credential material to report rather than repeat. - Downloads and file writes — no unasked downloads, and nothing throw-away-secret
written under
/config/. - Audit awareness — every call is logged with caller identity and arguments; write tool calls as if they were commits.