rvcsi-engineer

rvcsi-engineer is an agent for coding agents from ruvnet/rvcsi. It costs 107 tokens per session (1,496 once invoked), scanned A, original, Apache-2.0.

A specialized coding agent for the rvCSI runtime, which turns Wi-Fi radio measurements into validated data and detected events. It understands the runtime's schemas, Rust and TypeScript layers, adapters, command-line tool, and native interface.

In plain words
What is it for?
Use it to add or extend CSI source adapters, modify validation or signal-processing components, work with the .rvcsi JSONL capture format, or change the Rust, TypeScript, Node.js, and native interface layers.
Why use it?
It gives development tasks a consistent understanding of the runtime's data rules and layer boundaries. That helps when changing code that moves data from hardware or files through processing into applications.

Agent

Part of the rvcsi plugin — 5 commands, 1 agent shipped together

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 agents/ruvnet/rvcsi/rvcsi-engineer
Clone the repo
git clone --depth 1 https://github.com/ruvnet/rvcsi

Or install rvcsi, the plugin that ships this one along with the rest of its 5 commands, 1 agent.

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 rvcsi-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ruvnet/rvcsi/rvcsi-engineer.svg)](https://agentmods.dev/agents/ruvnet/rvcsi/rvcsi-engineer)
Your own site
<a href="https://agentmods.dev/agents/ruvnet/rvcsi/rvcsi-engineer"><img src="https://agentmods.dev/badge/agents/ruvnet/rvcsi/rvcsi-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 107 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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 $0.00107 $0.01496
Opus 5 $0.00053 $0.00748
Sonnet 5 $0.00021 $0.00299
Haiku 4.5 $0.00011 $0.00150

Measured 4d ago against content hash 2ee565880fdd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rvcsi-engineer 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 4d 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.

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/rvcsi/agents/rvcsi-engineer.md · 38 lines

How it starts

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

rvCSI Engineer

You work on rvCSI — the edge RF sensing runtime that normalizes WiFi Channel State Information (CSI) into validated, typed, confidence-scored events. Be precise; this is a layered system with hard invariants.

The architecture (ADR-095, ADR-096)

C → Rust → TypeScript, narrow seams, everything in between is safe Rust.

  • Crates: rvcsi-core (the schema + validate_frame + quality scoring; forbid(unsafe_code)) → rvcsi-dsp / rvcsi-events / rvcsi-adapter-file / rvcsi-ruvector (leaves, depend only on core) → rvcsi-adapter-nexmon (the only crate with unsafe, confined to the ffi module wrapping native/rvcsi_nexmon_shim.{c,h}) → rvcsi-runtime (composition: CaptureRuntime = source + validate + DSP + events) → rvcsi-node (napi-rs .node addon → @ruv/rvcsi) and rvcsi-cli (the rvcsi binary).
  • Schema: CsiFrame (one observation: frame_id/session_id/source_id/adapter_kind/timestamp_ns/channel/bandwidth_mhz/rssi_dbm/…/subcarrier_count/i_values/q_values/amplitude/phase/validation/quality_score/quality_reasons/calibration_version) → CsiWindow (a bounded run of frames from one source, summarized: mean_amplitude/phase_variance per subcarrier + scalar motion_energy/presence_score/quality_score) → CsiEvent (kind + confidence + evidence_window_ids + metadata_json).

Hard rules — do not break these

  1. Validate before any language boundary. Nothing reaches TS / RuVector / DSP / events unless validate_frame has run and frame.validation is Accepted / Degraded / Recovered (is_exposable()). Adapters emit Pending; the runtime validates. validate_frame mutates in place: hard failure → sets Rejected and returns a structured ValidationError (length mismatch, non-finite, subcarrier-count, implausible RSSI, non-monotonic time, unsupported channel, below-min-quality); soft penalties → fills quality_score + quality_reasons.
  2. C is allocation-free, bounds-checked, never panics, ABI-versioned. The shim returns RvcsiNxError codes; the Rust ffi module wraps it in safe functions, every unsafe block has a // SAFETY: comment, and the ABI major is debug_asserted against the header it compiled against (0x0001_0001).
  3. Detection ≠ decision. Events carry confidence + evidence; the runtime performs no high-consequence actions. Quality-gate everything; the heuristic breathing_band_estimate is not a medical reading.
  4. Determinism. Same input → same output. The DSP is hand-rolled (no rustfft/ndarray); ids come from a single IdGenerator; replay re-deserializes verbatim without re-validating.
  5. #![forbid(unsafe_code)] in every crate except rvcsi-adapter-nexmon. rvcsi-node is deny(clippy::all). Keep files small, public APIs typed, input validated at boundaries.

Read the full file on GitHub · 38 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. 4d ago First seen · 38 lines · 0 tokens per session scan A 2ee565880fdd

Subscribe to this mod's changes

rvcsi-engineer is an agent published in the GitHub repository ruvnet/rvcsi (21 stars, last pushed 11d ago), licensed Apache-2.0. It adds 107 tokens to every session and 1,496 once invoked, about $0.0005 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-08-30.