sima-vertical-solutions/edgematic-playbooks/edgematic-build-deploy-run
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 wants to build an Edgematic project, deploy it to a device, run it on the board, pull results back, or DISPLAY/SHOW a pipeline's output image in chat. Covers starting/polling an async build, deploying over SCP or NFS, starting/polling/stopping a run on a paired SiMa DevKit, copying device files into the project, and rendering an output image inline via an `edgematic-image` block. For a VIDEO/streaming pipeline this skill also owns what "deploy it" actually means — make sure the input streams it reads are playing, then deploy AND run AND verify the streams are live and STABLE AND show them in chat via edgematic-view-streams, none of which the user has to ask for separately. A deployed-but-not-running pipeline produces no video, and a run reporting `running` is not evidence that video works. For device pairing/listing/removal use edgematic-device-ops. 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-build-deploy-runSKILL.md
The same SKILL.md was published earlier as sima-vertical-solutions/edgematic-playbooks/edgematic-build-deploy-run.
Edgematic Build, Deploy & Run
Overview
Take a project all the way to running on a device, from chat: build it, wait for the build to go green, deploy it to a paired DevKit, run it on the board, watch its status, and fetch the results back into the project so they show up in the workspace. You do this through the agent's build/deploy/run/fetch tools, which call the Edgematic Studio backend in-process.
Builds and runs are asynchronous: the start tool returns immediately with a pending/building (or running) record; you then poll the matching status tool until it reaches a terminal state. Deploy is gated on a green build, and run is gated on a prior deploy — so respect the order.
The Studio UI renders the run's output for you. When a run starts, a publish result card appears in the chat; once the run lands its output the card shows the labeled result image (for a single-image/Model-View pipeline) or the live video stream (for an RTSP pipeline). For a Model-View run you do not fetch, decode, or draw the output yourself — the card fetches output/raw.bin and renders it; your job ends at "the run succeeded — the output is in the result card". Manually re-running the parser in a shell for those duplicates the card's work.
A video pipeline is not delivered until you have SEEN the video. For any pipeline that produces live output channels (RTSP, a camera, a multi-stream or otherwise continuous pipeline), four steps are MANDATORY, in this order, every time — the user does not have to ask for any of them:
- Provision its inputs — before the build. Every Insight slot the config's
streams: list reads must be playing, and its address written into common/config.yaml. See Provisioning input streams.
- Run it. A deployed-but-not-running video pipeline produces no video. See
"Deploy" means deploy AND run below — this is not an extra the user must request separately.
- Verify stream stability — confirm the device is actually pushing frames
and is still pushing them a moment later. See Verifying video stability.
- Show the streams — invoke
edgematic-view-streamsand emit the
edgematic-streams block as the LAST element of your reply, so the user sees the live grid of what they just deployed.
Never substitute a quick-action pill for these steps. Offering "click here to run it" instead of running it hands the work back to the user and ends the turn with a dark device. A Run pill is a fine addition to a completed video deploy; it is never a replacement for one.
"The run is `running`" is not evidence that video works. A pipeline that opens no output channel, opens one and stalls after two frames, or demuxes four cameras into a single output reports exactly the same run status as a healthy one. Never close a video deploy on run status alone, and never make the user ask "can I see it?" — a deploy report with no stream evidence and no grid is an incomplete answer.
Don't hand-craft stream addresses here — edgematic-view-streams counts the active streams and emits the block the UI renders. Starting/stopping input streams and managing the video library is edgematic-media-streams.
Showing an output image the card won't auto-render. Some pipelines (notably from_application examples) don't write the Model-View output/raw.bin — they draw their own annotated image into their configured output dir (e.g. sandbox/<app-name>/<name>.png, io.output_dir, output.save_dir). The card won't find those. To display such an image in chat, return its project-relative path in a fenced edgematic-image block:
``edgematic-image sandbox/yolo26-object-detector/cat.png ``
The UI renders that image inline (with a load-error fallback — it never breaks the chat). Rules: the path is relative to the project workspace and the file must exist there — if it's only on the device, fetch_from_device it into the workspace first and return the path it landed at (relative_path). One path per block; add a short prose summary around it. Don't use this for Model-View output/raw.bin runs — the card already renders those.
Device management (list / add / remove / status) lives in the `edgematic-device-ops` skill — read it when you need to pick or pair a device.
Offering clickable next-step actions. When a reply ends by offering the user discrete next steps to click (not free-form input), append a single fenced quick-actions block holding a JSON array of self-describing action objects. Each object carries a type and the UI dispatches on it — there is no id-to-handler registry. Pick the most specific type:
{ "type": "http", "label": "...", "method": "POST", "endpoint": "/projects/3f2a91c7-5d84-4c19-9c11-6b0e1f7a2c30/build", "body": {} }
— fires the HTTP call directly (a dedicated handler exists).
The `endpoint` must be a fully-substituted concrete path — no `{`, `}`, `<` or `>`. A pill whose endpoint still carries a placeholder is rejected by the UI before the call is made, so the click silently does nothing. Path templates (/projects/{id}/build) are for looking an endpoint up with describe_endpoint; never emit one as a pill endpoint.
Required body fields are not optional. Read the endpoint inventory's {body: field*, other?} hint — * means REQUIRED. If the hint lists any field*, the pill's body must carry every one of them with a real value; "body": {} is correct only when the endpoint has no hint or no * fields. Never guess a field name, and never copy an agent-tool parameter name (the tools take device; the REST body wants device_id). If you cannot fill a required field, offer a navigate or prompt pill instead.
Verified recipes (path templates shown for lookup — substitute real ids):
| Action | Method + path | Required body | |
|---|---|---|---|
| Build | POST /projects/{id}/build | none | |
| Run | POST /projects/{id}/run | device_id (opt. entry_point) | |
| Stop | DELETE /projects/{id}/runs/{run_id} | none | |
| Deploy | POST /projects/{id}/deploy | device_id | |
| Fetch | POST /projects/{id}/fetch | device_id, remote_path (opt. destination) | |
| Compatibility | GET /devices/{id}/neat | none | |
| Neat update / install | POST /devices/{id}/neat/update or /install | none (opt. sudo_password) |
{ "type": "navigate", "label": "...", "route": "/devices" }— SPA navigation.{ "type": "file-upload", "label": "...", "endpoint": "/user-models", "field": "file", "accept": ".onnx" }
— native file picker → multipart POST.
{ "type": "prompt", "label": "...", "prompt": "..." }— sends the prompt back
to the agent. This is the FALLBACK when no dedicated endpoint exists for the action (e.g. "run inference end-to-end", "show accuracy report"): the agent then carries out the flow with its tools.
Check compatibility with device. When a device is paired (`paired_device_count
0), offer{ "type": "http", "method": "GET", "label": "Check compatibility
with device", "endpoint": "/devices/8b41d0e5-7a62-4f30-b58d-2c9e4a1b7f56/neat" } — GET on the /devices/{id}/neat template with the real device UUID pasted in. Take that UUID from the **per-turn** [context: device_id=…] prompt prefix — not session_context.device_id (always None) — and never leave a placeholder in the path. With no device paired, do not offer this pill; offer { "type": "navigate", "route": "/devices" } instead. After the call, call the get_compatibility_doc tool (no arguments) to fetch the official compatibility matrix, then apply it to both sides' **platform** versions (device_platform vs bundle_platform) and, advisory, their **library/pyneat** versions (version/bundle_version, device_pyneat/bundle_pyneat). Explain the outcome with nuance — compatible / different-but-works / incompatible — rather than just echoing verdict (e.g. matching platforms but differing library versions is still compatible, and should be said explicitly). Cite the doc using the doc_url field from the response (or the tool result) — never a hardcoded URL. If get_compatibility_doc fails (offline/unreachable), degrade gracefully: explain using the raw probed versions and note the matrix could not be reached. If verdict is update_recommended, you may then also offer the existing Update pill — POST on the /devices/{id}/neat/update` template with the same device UUID pasted in.
Example (note the endpoint carries the REAL project UUID, not a template):
``quick-actions [ { "type": "http", "label": "Build", "method": "POST", "endpoint": "/projects/3f2a91c7-5d84-4c19-9c11-6b0e1f7a2c30/build", "body": {} }, { "type": "navigate", "label": "Pair a device", "route": "/devices" } ] ``
The UI renders each entry as a pill under the message. Rules: emit at most one such block, only as the final element of a reply, and only when genuinely offering discrete next-step actions — never on an ordinary answer. Keep the array small (up to ~4 actions) and give each a short, imperative label. Do NOT use the legacy { label, id, prompt } shape — it is no longer supported.
Tools
| Tool | Purpose | Notes | |
|---|---|---|---|
build_project | Start a build (async) | project_id. Returns the initial build record. | |
get_build_status | Poll the latest build | project_id. {status, last_error, log_tail, …} or null. | |
deploy_to_device | Deploy the built project to a device | project_id + device (name or id). Transport auto-selected (SCP/NFS). | |
run_pipeline | Start a run on the board (async) | project_id + device (name or id); optional entry_point. Returns the run record. | |
get_pipeline_status | Poll the latest run | project_id. {status, exit_code, log_tail, …} or null. | |
stop_pipeline | Stop the running pipeline | project_id. Requires confirmation (kills the on-device process). | |
fetch_from_device | Copy device files back into the project | project_id + device + remote_path; optional destination. Shows results in the workspace. |
Full request/response and error-code detail: references/build-deploy-run-api.md.
Workflow
This is the start of the file. Read the full SKILL.md on GitHub.
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-build-deploy-run/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-build-deploy-run)