/localix-twin:drive-a-twinfrom localix-twin
See and drive a twin (a virtual or remote machine reached over VNC) with the localix-twin tools - take a screenshot, click and type in its pixels, wait until the screen settles, run commands inside. Use when a task needs a desktop app checked on screen, a GUI flow walked through, or work done on a machine apart from this one.
Ships in localix-twin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A twin is a machine you can see and steer without touching the person's own screen. The tools
are twin_* from the twin server of this plugin, and the same as the twin command line.
twin_list to find the twin: each with its state (running, ready, running, booting,
stopped), image, size, IP address and uptime; twin_show gives one twin in full. If there
is none, make one: twin_images, then twin_create from an image and twin_up with
wait: true. With no image at all, ask the person to run, once, in a terminal:
twin image install tahoe (Apple's download, then about eight minutes with nobody at the
screen), and create twins --from tahoe. A machine somebody else runs is recorded with twin_attach
(vnc://:password@host:port, and agent if it runs twin guest serve).twin_screenshot first, always. Read the picture before acting: it is the only truth about
what is on the screen. It is at most 1568 pixels on its longer side.twin_click (x, y as seen in the image), twin_type for text,
twin_key for keys and chords (return, cmd+t, cmd+shift+4), twin_scroll, twin_drag.twin_wait after anything that animates or loads: it returns once the screen has been still
for idle ms, so there is no guessing how long to sleep.twin_screenshot again to check the result. Never report a step done that you have not seen.Use region to look closely at a small part: give it in the last full screenshot's pixels, the
same numbers you would click. A region shot is only for looking; clicks stay in the last full
screenshot's pixels, and each click says which space it read. After the resolution changes, take
a full screenshot again before clicking. Use space: "screen" only when you have screen pixels
from elsewhere.
twin_wait, then a
screenshot to check it.twin_record_start with to, a folder on this Mac; it answers with the file's path once the
first bytes are written. Add camera: true (and aspect: 16:9, 9:16 or 1:1, zoom
1 to 4) for a second, livelier film that comes in where you click and type, and clicks: true
to draw a ring on each press.twin_do call, so the rhythm is even: click, move and drag with glide
(600 to 1200 ms reads as a hand), type with cps (12 to 16 reads as a person), pause
between beats. A step without glide jumps.twin_record_stop answers once the file is whole: its path, bytes, ms and frames, the acts
file beside it and, when asked, the film. The camera follows what twin did, so act through
twin's tools while recording. twin_record_camera films the same recording again with another
preset, zoom, shape or part; the recording never changes. twin_record_sheet shows a video's
frames in one picture. The record-a-demo skill has the whole recipe and step templates.twin_down stops a twin you started (how: "suspend" keeps it to resume in seconds), twin_rm
throws away one you made for the task. Leave the person's own twins as you found them. A Mac runs
at most two virtual machines at once: when twin_up says the limit is reached, twin_list shows
which of yours run.
When the twin has an agent, twin_exec runs a program (an argv, never a shell string unless you
mean one), twin_put and twin_get move files or whole directories (an app bundle keeps its signature).
Before scripting other apps or capturing the screen from inside, twin_permissions says whether
the agent may: Accessibility, Screen Recording, Automation of System Events and Finder. Prefer them over typing into a terminal: they
return the output and the exit code.
Open an app with twin_exec and open -a TextEdit (or open -b <bundle id>), not through
Spotlight: a fresh twin's Spotlight may not have indexed its apps yet, and its results shift
while it does. Type only after the app's window is on screen: twin_wait, then a screenshot.
To check text you typed, read it from the app where you can (osascript through twin_exec)
as well as from the picture: a screenshot can hide a stray space.
The first time a twin's agent scripts an app (styling does, through System Events), macOS in the twin asks whether it may. That dialog is on the twin's screen, not the person's: take a screenshot, click its Allow button, and the step that waited goes on. A twin made from a prepared image has these answered already.
After every boot macOS shows a banner, "App Background Activity: twin can run in the background", at the top right. It stays until dismissed: before a screenshot someone will see, click it to open the stack, then click Clear beside its title.
Each failure names its code: unreachable (the screen or agent does not answer: is the machine
up?), auth (wrong VNC password), timeout (the screen kept changing; take a screenshot to see
why), not_found (no such twin). Say plainly what failed and what you saw.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
localix-twin@localix-lab is listed by localixai/plugins — review the source before installing
npx claudepluginhub localixai/plugins --plugin localix-twin3 skills in this plugin
/record-a-demoRecord a demo video of an app or a flow in a twin and cut it into finished films - a vertical short, a 16:9 demo, a square clip - with the live camera that comes in where things are clicked and typed. Use when asked for a screen recording, a demo, a short or reel, a GIF-like clip, a product video or a walkthrough of something on a Mac./style-a-twinPrepare a twin for clean screenshots and demos with twin_style - dark or light appearance, accent colour, a solid or image wallpaper, dock, desktop icons, menu bar clock, display resolution, services the image turned off, packages, files and setup programs. Use before taking pictures for a README, a site or a launch post, or to give a twin the tools a task needs.