ruview-train

ruview-train is a command for Claude Code from ruvnet/RuView. It costs 45 tokens per session (528 once invoked), scanned A, original, MIT.

A command for training, fine-tuning, evaluating, and publishing RuView models from WiFi and optional camera-aligned data. Model training means teaching software to recognize patterns from example data.

In plain words
What is it for?
Use it to prepare training data, train pose or sensing models, build searchable embeddings, evaluate results, and run selected jobs on Google Cloud GPUs.
Why use it?
It organizes several training paths, from camera-free pose estimation to camera-supervised training, embeddings, domain adaptation, and optional cloud GPU runs.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the ruview plugin — 10 skills, 7 commands, 3 agents shipped together

Good fit Use it to prepare training data, train pose or sensing models, build searchable embeddings, evaluate results, and run selected jobs on Google Cloud GPUs.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ruvnet/ruview/ruview-train
About the project

RuView is a WiFi sensing platform that uses disturbances in radio signals, captured by low-cost ESP32 sensors, to detect presence, movement, breathing, and heart rate without cameras or wearables. It is intended for spatial monitoring and smart-home integrations. The catalogue add-ons support workflows for operating and integrating RuView.

ruvnet/RuView · 100,355 stars · on GitHub · cognitum.one

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.

Clone the repo
git clone --depth 1 https://github.com/ruvnet/RuView

Made for: Claude Code.

Or install ruview, the plugin that ships this one along with the rest of its 10 skills, 7 commands, 3 agents.

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 ruview-train

README.md
[![agentmods](https://agentmods.dev/badge/commands/ruvnet/ruview/ruview-train/github.svg)](https://agentmods.dev/commands/ruvnet/ruview/ruview-train)
Your own site
<a href="https://agentmods.dev/commands/ruvnet/ruview/ruview-train"><img src="https://agentmods.dev/badge/commands/ruvnet/ruview/ruview-train/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ruview-train

Your own site · 80×15
<a href="https://agentmods.dev/commands/ruvnet/ruview/ruview-train"><img src="https://agentmods.dev/badge/commands/ruvnet/ruview/ruview-train.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 528 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00045 $0.00528
Opus 5.5 $0.00018 $0.00211
Sonnet 5.5 $0.00009 $0.00106
Haiku 4.5 $0.00005 $0.00053

Measured 1mo ago against content hash c8022ff4d393, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ruview-train 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 1mo 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/ruview/commands/ruview-train.md · 19 lines

What it actually says

/ruview-train

Train, fine-tune, evaluate, or publish a RuView model.

  1. Invoke the ruview-model-training skill.
  2. Pick the track from $ARGUMENTS; if empty, ask which:
    • camera-free (Track A) — cargo run -p wifi-densepose-sensing-server -- --pretrain --dataset data/csi/ --pretrain-epochs 50 then -- --train --dataset data/mmfi/ --epochs 100 --save-rvf model.rvf. ~84 s on M4 Pro, modest accuracy.
    • camera-supervised (Track B, ADR-079) — python scripts/collect-ground-truth.py, python scripts/collect-training-data.py, node scripts/align-ground-truth.js, then train on data/paired/, eval with node scripts/eval-wiflow.js. ~19 min, 92.9% PCK@20. Needs data/pose_landmarker_lite.task.
    • embeddings (Track C, AETHER ADR-024) — wifi-densepose-train + wifi-densepose-ruvector; -- --model model.rvf --embed, -- --build-index env.
    • domain-gen (Track D, MERIDIAN ADR-027) / snn (Track E) — node scripts/snn-csi-processor.js --port 5006; cognitum-seed-pretraining tutorial.
    • gpu — gcloud config set project cognitum-20260110; bash scripts/gcloud-train.sh --gpu l4 --hours 2 (or --gpu a100 --sweep, --dry-run to smoke-test). VM auto-deletes unless --keep-vm.
  3. After training: cd v2 && cargo test --workspace --no-default-features, python archive/v1/data/proof/verify.py. To publish: python scripts/publish-huggingface.py.
  4. Hand off to /ruview-verify for the witness bundle.
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. 1mo ago First seen · 19 lines · 45 tokens per session scan A c8022ff4d393

Subscribe to this mod's changes

ruview-train is a command published in the GitHub repository ruvnet/RuView (100,355 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 528 once invoked, about $0.0002 per session on Opus 5.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.