rockdesk-skill
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
rockd connects you to the user's other machines (Windows, macOS, Linux, Android, ESP32 boards) by their 9-digit rockd ID, peer to peer and end-to-end encrypted. Find IDs with devices (machines on the user's account) or status (this machine and its live connections); ask the user if the machine you need is not there.
Prefer
shellfor anything a command can do: it returns output and exit code like ssh. Windows peers run PowerShell; macOS / Linux peers run the user's login shell. Usespawnfor servers and long jobs,copy/lsfor files.GUI work:
screenshot-> read the image ->click/type_text/key/scrollwith pixel coordinates taken from that screenshot (they are mapped back to the real screen automatically) ->screenshotagain to verify. Never click blind.Permissions come from the peer. If a call is refused or the peer wants a password, tell the user what to allow on that machine, or ask them to run
rds <ID> authin a terminal once. Never guess passwords and never type the user's secrets into remote fields.Ask the user before destructive or irreversible actions on a remote machine (deleting, overwriting, restarting services, sending messages).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| statusA | This machine's name, rockd ID and server state, LAN peers, and every live connection with its path (direct / LAN / relay) and RTT. |
| devicesA | Machines logged in to the same rockd account as this one: name, ID, platform, online or not. Use it to find a machine's ID by name. |
| pingA | Connect to a peer if needed and measure the round trip; says whether the path is direct, LAN or relayed. |
| shellA | Run one shell command on the peer and return its output and exit code. Windows peers: PowerShell. macOS / Linux / Android: the login shell. Chain steps in one command (&&, pipes) instead of many calls. Output over ~60 KB is cut in the middle. |
| spawnA | Start a detached process on the peer that outlives the call (servers, long builds). Returns its pid and log file path; read the log later with shell. |
| lsA | List a directory on the peer (default: home) as JSON entries: name, kind (file / dir), size, mtime. |
| copyA | Copy a file or folder between this machine and the peer. Exactly one side is the peer's and starts with ':' — upload: from "./a.zip" to ":/home/u/a.zip"; download: from ":C:\logs\x.log" to "./x.log". Folders are copied recursively; big interrupted copies resume. |
| infoA | The peer's displays: index, size, position, which is the main one. On Android it also says whether remote touch (accessibility) is enabled. |
| screenshotA | Take a screenshot of the peer's display and return the image (scaled so the long edge is at most 1280 px). Coordinates you read off this image can be passed straight to click / move. |
| clickA | Click at x,y on the peer's display. By default x,y are pixels of the latest screenshot of that display (mapped to the real screen); set screen_pixels to pass real screen pixels. |
| moveA | Move the pointer to x,y (same coordinates as click), e.g. to hover a menu. |
| scrollA | Scroll the wheel at the pointer: dy > 0 scrolls down, dx > 0 right, in notches. |
| type_textA | Type text into the focused field on the peer (click the field first). Any Unicode, including Chinese. |
| keyA | Press a key or chord on the peer: Return, Escape, Tab, Backspace, Up, F5, ctrl+c, cmd+s (macOS), alt+F4, win+r ... Android also takes back / home / recents. |
| clipboard_getB | Read the peer's clipboard: text, or an image (returned as an image). |
| clipboard_setB | Put text on the peer's clipboard. |
| forwardA | Forward a local TCP port to a host:port reachable from the peer (like ssh -L), e.g. "15432:db.internal:5432" or "8080:80" (the peer itself). The forward keeps running in the rockd daemon until unforward. Without spec: list running forwards. |
| unforwardB | Stop a forward started with forward. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
TDQS
Scored across 18 tools
Each tool targets a distinct resource or action: file listing/transfer, shell execution, detached processes, display inspection, input events, clipboard, device status, and port forwarding are cleanly separated. Potential overlaps like shell vs. spawn and status vs. ping are clarified by lifecycle and purpose.
Names are consistently lowercase snake_case and generally readable, with compound names like type_text and clipboard_get/set handled predictably. There is minor verb/noun mixing across tools, but no chaotic or confusing naming convention.
The 18 tools cover a broad remote-control domain with little redundancy; each capability, from screen input to forwarding, has a clear place. The count is slightly high but reasonable for a remote desktop/file/shell skill.
Core workflows are well covered: device discovery, connectivity, file listing/transfer, shell commands, detached processes, display screenshots, mouse/keyboard input, clipboard, and port forwarding. Minor gaps include direct file delete/rename/mkdir and explicit multi-display selection, though shell access can work around some file operations.