deploy-solution

deploy-solution is a skill for Claude Code from suharvest/sensecraft-solutions. It costs 60 tokens per session (2,690 once invoked), scanned C, original, Apache-2.0.

A workflow for deploying Internet-connected device solutions through a provisioning station's local API. It covers choosing a solution, entering its settings, starting deployment, and checking the result.

In plain words
What is it for?
Use it to list available solutions, deploy one to devices, monitor progress, verify the outcome, or check deployment status.
Why use it?
It provides a defined path for installing or updating software on devices and helps investigate deployments that fail or do not finish.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: positional $N argument; installed under .agents/ (shared by several agents).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/suharvest/sensecraft-solutions/deploy-solution
Any agent
npx skills add suharvest/sensecraft-solutions --skill deploy-solution
Clone the repo
git clone --depth 1 https://github.com/suharvest/sensecraft-solutions

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deploy-solution

README.md
[![agentmods](https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/deploy-solution.svg)](https://agentmods.dev/skills/suharvest/sensecraft-solutions/deploy-solution)
Your own site
<a href="https://agentmods.dev/skills/suharvest/sensecraft-solutions/deploy-solution"><img src="https://agentmods.dev/badge/skills/suharvest/sensecraft-solutions/deploy-solution.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,690 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.02690
Opus 5 $0.00030 $0.01345
Sonnet 5 $0.00012 $0.00538
Haiku 4.5 $0.00006 $0.00269

Measured 6d ago against content hash 68284c963fda, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

deploy-solution scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s $BASE/api/solutions?lang=en | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "$BASE/api/health"
.agents/skills/deploy-solution/SKILL.md · 256 lines

How it starts

The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deploy Solution Skill

Deploy IoT solutions through the provisioning station backend API. The core workflow is: discover backend → pick solution → get deploy-info → fill parameters → start → monitor → verify.

1. Discover Backend

The installed desktop App uses a dynamic port (picked at launch to avoid conflicts) — it is NOT 3260. Only the ./dev.sh development server uses the fixed port 3260. So discover the port first:

# Option A — ask the user: open the App → Settings → API Access, read the port shown there

# Option B — find it automatically (sidecar is launched with --port <PORT>):
PORT=$(ps aux | grep "[p]rovisioning-station --port" | grep -oE -- "--port [0-9]+" | head -1 | awk '{print $2}')
echo "Backend port: $PORT"

# Dev mode only (./dev.sh): PORT=3260

Then set the base URL and verify it's running:

BASE="http://127.0.0.1:${PORT:-3260}"
curl -s "$BASE/api/health"

Use $BASE for all subsequent commands. If the health check fails, the user needs to start the App (or ./dev.sh in dev mode).

2. Deployment Flow

Step 1: List solutions

curl -s $BASE/api/solutions?lang=en | python3 -m json.tool

Step 2: Get deploy-info (the key endpoint)

This is the AI-friendly endpoint — it returns structured parameters and a ready-to-fill request template. Always use this instead of /deployment.

# Without preset — returns all presets and all steps
curl -s "$BASE/api/solutions/{solution_id}/deploy-info?lang=en"

# With preset — returns only steps for that preset (recommended)
curl -s "$BASE/api/solutions/{solution_id}/deploy-info?lang=en&preset_id=<preset_id>"

Don't hardcode a preset_id — call without it first, read the available presets from the presets array, then re-call with the one the user picks.

Response structure:

  • presets — available presets with IDs and names
  • steps[] — each step with device_id, type, required, parameters, and optional targets
  • request_template — a JSON body you can fill in and POST directly to /deployments/start

Read the full file on GitHub · 256 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 256 lines · 60 tokens per session scan C 68284c963fda

Subscribe to this mod's changes

deploy-solution is a skill published in the GitHub repository suharvest/sensecraft-solutions (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 60 tokens to every session and 2,690 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens