ruview-provision

ruview-provision is a command for coding agents from ruvnet/RuView. It costs 23 tokens per session (684 once invoked), scanned A, original, MIT.

Provision WiFi credentials, sink IP, and optional channel / MAC-filter overrides onto a RuView ESP32 node.

Command

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 commands/ruvnet/ruview/ruview-provision
Clone the repo
git clone --depth 1 https://github.com/ruvnet/RuView
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 684 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00023 $0.00684
Opus 5 $0.00012 $0.00342
Sonnet 5 $0.00005 $0.00137
Haiku 4.5 $0.00002 $0.00068

Measured today against content hash 15d7c2da666e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ruview-provision scanned grade A with 0 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ruview/commands/ruview-provision.md · 25 lines

What it actually says

/ruview-provision

Write NVS config to an ESP32 sensing node.

  1. Invoke the ruview-configure skill (§"Runtime device config" — has the full provision.py flag table).
  2. Run python firmware/esp32-csi-node/provision.py --help for the authoritative options (on Windows: PYTHONUTF8=1 PYTHONIOENCODING=utf-8 python … — the help text has non-ASCII). Collect any missing params (port — default COM8, SSID, password, target sink IP, --target-port default 5005, --node-id).
  3. Run:
    python firmware/esp32-csi-node/provision.py --port <PORT> \
      --ssid "<SSID>" --password "<PW>" --target-ip <IP> --target-port 5005 --node-id <0-255> \
      [--channel <N>] [--filter-mac <MAC>] [--hop-channels 1,6,11 --hop-dwell 200] \
      [--tdm-slot <i> --tdm-total <n>] [--edge-tier {0|1|2}] [--pres-thresh 50] [--fall-thresh 15000] \
      [--vital-win 300] [--vital-int 1000] [--subk-count 32] \
      [--seed-url http://… --seed-token … --zone lobby] [--swarm-hb 30] [--swarm-ingest 5] [--dry-run]
    
  4. Explain trade-offs: --channel pins the node (AP's channel) vs. --hop-channels for ADR-061 multi-freq hopping; --filter-mac restricts to one transmitter vs. omit for all (more data, more noise); --edge-tier 0/1/2 = off/stats/vitals; --tdm-slot/--tdm-total slot a multi-node mesh.
  5. ⚠️ Issue #391: flashing rewrites the entire csi_cfg NVS namespace — every key not on the CLI is erased. Pass the full set you want; warn the user before re-provisioning a working node. --force-partial bypasses the WiFi-creds requirement (knowingly). --dry-run builds the NVS binary without flashing.
  6. Fleet provisioning: scripts/generate_nvs_matrix.py (subprocess-first).
  7. Verify: serial monitor (pyserial on the port, 115200) should show adaptive_ctrl ticks + csi_collector: CSI cb #… len=128 … lines; the sink (cd v2 && cargo run -p wifi-densepose-sensing-server) should report incoming UDP frames if --target-ip points at this host.
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. today First seen · 25 lines · 23 tokens per session scan A 15d7c2da666e

Subscribe to this mod's changes

ruview-provision is a command published in the GitHub repository ruvnet/RuView (92,406 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 684 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.