sima-vertical-solutions/edgematic-playbooks/edgematic-device-ops
Claude Code and agent skill by sima-vertical-solutions/edgematic-playbooks
- community
Checking that the SKILL.md file is still in the repository.
Use when the user asks to manage SiMa DevKits or deploy from the Edgematic Studio chat — listing devices, adding/pairing a device, removing a device, checking device status, or deploying a project to a device over SCP or NFS. Covers collecting missing fields inline, reporting device/pairing/deploy errors clearly, and guiding NFS host setup. Do not use for Neat Library C++/Python application development, model compilation, canvas/graph editing, or web-ui React work.
Install
npx vskill@latest install sima-vertical-solutions/edgematic-playbooks/edgematic-device-opsSKILL.md
The same SKILL.md was published earlier as sima-vertical-solutions/edgematic-playbooks/edgematic-device-ops.
Edgematic Device Ops
Overview
Manage paired SiMa DevKits and trigger deployments from chat. You do this through the agent's device tools, which call the Edgematic Studio backend in-process. The user speaks in natural language ("show my devices", "add Edge-01 at 192.168.1.10", "deploy to Edge-01"); you translate that into the right tool call, collecting any missing information first and reporting the outcome clearly.
Tools
| Tool | Purpose | Notes | |
|---|---|---|---|
list_devices | List every paired device (newest first) | Read-only; ssh.argv contains the managed key and known-hosts paths. | |
connect_device | Connect a new board or repair an existing pairing | device = paired name/id/IP or new host; optional name. Tries managed key, then root:root, then sima:edgeai. | |
add_device | Pair a DevKit (installs the backend SSH key) | Use supplied non-default credentials, or after connect_device exhausts both defaults. Needs name, host, user, password. Requires confirmation. | |
remove_device | Unpair a device | device = name or id; optional force to also drop deploy/run history. Requires confirmation. | |
get_device_status | Live status (build / cpu / memory …) for one device | device = name or id. | |
deploy_to_device | Deploy a built project to a device | project_id + device (name or id). Transport is auto-selected. |
Full request/response and error-code detail: references/device-api.md.
Workflow
- Understand the intent — list, add, remove, status, or deploy.
- Adding or reconnecting a device (see *Adding a device*). Resolve its
explicit host/IP and try connect_device before asking for credentials. Never invent a host.
- Resolve the current target, never a remembered one. When the turn has a
[context: device_id=…] prefix, that UUID is the active Studio selection and is authoritative unless the user explicitly names a different target in the same request. Otherwise call list_devices: use the sole paired device, or ask the user to select/name one when several exist. The tools accept a device name or id in the device field, but names, UUIDs, and addresses copied from examples, earlier turns, logs, or another workspace are never defaults.
- Confirm the destructive action.
remove_deviceprompts for confirmation
before running — make sure the device is the one the user means.
- Report the result as a short, formatted summary (device list as a table;
remove/deploy/status as a one-line confirmation with the device name).
Adding a device (pairing)
For a known paired target, use the ssh.argv returned by list_devices for shell access. These are the backend's actual key and known-hosts paths inside its runtime; do not substitute the host's ~/.ssh directory or print key bytes.
For a new board, or if the managed key is rejected:
- Call
connect_devicewith the selected device name/id/IP, or the new board's
explicit host/IP and optional display name.
- The backend probes the managed key, then
root/root, thensima/
edgeai. On successful password login it installs Studio's public key, verifies key-only login, and persists the working SSH user without deleting existing deployment history. Use its returned device and ssh.argv.
- Only after both default logins fail, ask for the user's SSH credentials and
use add_device for a new board. A network timeout cannot establish whether a password works: report connectivity separately. A changed host key or a foreign ownership marker needs an explicit pairing decision; do not bypass it.
If the installed backend does not advertise connect_device, use its managed key path from configuration and the same default-login order via the available shell/pairing tools. Keep passwords out of command arguments and logs (use child-scoped SSHPASS); never guess a private key path. Preserve host-key and ownership checks. Do not repeatedly retry defaults after both are rejected.
Key rules
- **Deploy transport (SCP vs NFS) is a property of the device, not a deploy
option.** There is ONE deploy_to_device tool; it automatically uses NFS for an NFS-paired device and SCP otherwise. "Deploy via NFS" means "the target device is NFS-paired". To change transport, switch it in place with PATCH /devices/{id} and body {"transport_kind": "ssh"|"nfs"} (a no-op when it is already on that transport) — do NOT unpair and re-pair, and do not look for a transport argument on deploy.
- A device must be built and paired before deploy. Deploy fails with a clear
precondition error if the latest build isn't green or the device isn't paired.
- Device aliases are data, not configuration. Never embed a board name,
UUID, host, or address in a reusable prompt, command template, or skill. Read the current selection/list result at execution time and carry its returned identity through status, deploy, run, and viewer calls.
- Don't ask for permission — but `force: true` is a CHOICE, not a permission.
Every gated tool here is already governed by the runtime approval policy, which prompts (or doesn't) according to the user's posture, so never stack your own "shall I?" on top. A force: true retry is different: it is a second, more destructive call the user did not ask for (it takes a DevKit away from another Edgematic instance, or drops deploy/run history). Report the error, offer the forced retry as an option, and let the user decide — that is choosing between real alternatives, which stays your job under every posture.
Error handling
Every tool surfaces a typed error {code, message}. Relay it clearly and, where useful, suggest the next step. Do not paraphrase away the actionable detail.
| Error code | Meaning | What to tell the user | |
|---|---|---|---|
device_unreachable | Device offline / TCP handshake failed | Device is offline — check it's powered on and on the network, then retry. | |
device_pairing_failed | SSH bootstrap failed (usually wrong password) | Use connect_device first for authentication failures; ask for credentials only after both default logins fail. | |
device_already_exists | Host already paired | That host is already paired — no action needed (or remove it first). | |
device_in_use_by_other | DevKit claimed by another Edgematic instance | In use by another instance. Report it and OFFER the force: true retry — never take it over on your own initiative. | |
nfs_host_setup_required | NFS chosen but no workspace mounted | Surface the message verbatim — it contains the exact sima-cli sdk setup --devkit <ip> command to run on the host. See references/nfs-setup.md. | |
nfs_workspace_mismatch | Mounted, but wrong workspace | User/config issue — the mounted workspace isn't the one Studio writes to. | |
nfs_unavailable | NFS device left the LAN at deploy | Device is off the shared network; offer to switch it to SCP and retry. | |
device_in_use | Removing a device with deploy/run history | Removing it also drops that history — offer the force: true retry and let the user pick. | |
project_not_built / device_not_paired | Deploy precondition unmet | Build the project first / pair the device first, then deploy. |
Boundaries
connect_devicerepairs the managed public key and verified login in place.
Do not remove a device merely to repair SSH access.
- No bulk operations (e.g. "remove all devices") — act on one device at a time.
- Do not discover devices via chat — pairing is by explicit host/IP.
- This skill is about operating devices, not building applications or editing
the pipeline graph.
References
references/device-api.md— tools + underlying endpoints, request/response
shapes, and the full error-code table.
references/nfs-setup.md— the NFS host-setup contract and the exact
instructions to surface when NFS isn't configured.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/edgematic-device-ops/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sima-vertical-solutions/edgematic-playbooks/edgematic-device-ops)