# Ruview CLI API

> Ruview CLI API is an open-source agent skill for developer tools. Drives the RuView CLI, REST API and WASM builds from scripts, servers or browsers. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ruvnet/RuView/tree/main/plugins/ruview/skills/ruview-cli-api
- **Repository:** https://github.com/ruvnet/ruview
- **GitHub stars:** 106,018
- **License:** MIT
- **Skill name:** ruview-cli-api
- **Collection:** https://github.com/ruvnet/RuView
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill covers the programmatic entry points of the RuView project: the wifi-densepose command-line binary, the Axum-based REST API crate, and the WebAssembly builds for browsers and ESP32-S3 devices. It lists the mat subcommands for scanning, checking status, managing zones, listing survivors and alerts, and exporting data as JSON or CSV, along with example invocations and a `--simulate` flag for testing without hardware.

For the API, it explains that the crate supplies an Axum router and handlers that are wired into server binaries, and that embedding it means taking the router, supplying configuration through the config crate, and serving with Axum and Tokio. It also points to a Docker image that exposes the API and dashboard on port 3000 for quick testing.

The WASM section covers building the browser package with wasm-pack or plain cargo for the wasm32 target, and the edge module crate that runs on ESP32-S3 under WASM3. Work is done from a Rust workspace under the v2 directory, and the skill lists the crates, ADRs and test commands involved.

## When your agent uses it

> Use the RuView `wifi-densepose` CLI binary (incl. MAT scan/status/zones/survivors/alerts/export subcommands), the REST API (`wifi-densepose-api`, Axum), and the browser/WASM build (`wifi-densepose-wasm`, `wifi-densepose-wasm-edge`). Use when integrating RuView into another program, scripting it from the shell, exposing it over HTTP, or shipping it to the browser / ESP32-WASM3.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ruvnet/RuView/tree/HEAD/plugins/ruview/skills/ruview-cli-api)
- [Asks for: Bash, Read, Write, Edit, Glob, Grep](https://github.com/ruvnet/RuView/blob/HEAD/plugins/ruview/skills/ruview-cli-api/SKILL.md)
- [License: MIT](https://github.com/ruvnet/RuView/tree/HEAD/plugins/ruview/skills/ruview-cli-api)

## Features

- **Mass casualty scan CLI:** Covers the mat subcommands for starting scans, checking status, managing zones, listing survivors and exporting results.
- **Simulated testing mode:** Documents a simulate flag that lets scans run without connected hardware.
- **REST API embedding:** Explains how to take the Axum router from the API crate and serve it inside your own binary.
- **Docker API quickstart:** Shows running the published image to expose the API and dashboard on port 3000.
- **Browser WASM build:** Describes building the sensing stack to a WebAssembly package with wasm-pack or cargo.
- **ESP32 edge modules:** Covers the edge intelligence modules compiled to WASM and run on ESP32-S3 via WASM3.
- **Validation commands:** Lists the cargo test invocations to run after changes to the CLI, API and WASM crates.

## Good for

- Script a survivor scan and export the results to CSV
- Check the status and zones of a running scan from the shell
- Embed the RuView REST API into an existing Rust service
- Build the sensing stack for a browser demo with wasm-pack
- Compile an edge module to run on an ESP32-S3 with WASM3

## Install

### Claude Code

This skill ships in the `ruview` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ruvnet/RuView
/plugin install ruview@ruview
```

Or copy only this skill to `~/.claude/skills/ruview-cli-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ruview-cli-api &&
cp -R "$tmp/plugins/ruview/skills/ruview-cli-api" ~/.claude/skills/ruview-cli-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ruview-cli-api` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ruview-cli-api` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ruview-cli-api &&
cp -R "$tmp/plugins/ruview/skills/ruview-cli-api" ~/.agents/skills/ruview-cli-api &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ruview-cli-api` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ruview-cli-api` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ruview-cli-api &&
cp -R "$tmp/plugins/ruview/skills/ruview-cli-api" ~/.cursor/skills/ruview-cli-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ruview-cli-api` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruvnet/RuView.git --path plugins/ruview/skills/ruview-cli-api
```

Or copy the folder to `~/.gemini/skills/ruview-cli-api` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ruview-cli-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ruview-cli-api &&
cp -R "$tmp/plugins/ruview/skills/ruview-cli-api" ~/.copilot/skills/ruview-cli-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ruview-cli-api` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruvnet/RuView.git
```

Then copy `RuView/plugins/ruview/skills/ruview-cli-api` into your agent's skills folder as `ruview-cli-api`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What tools does the skill allow the agent to use?

It lists Bash, Read, Write, Edit, Glob and Grep as allowed tools.

### Does the skill include scripts?

No, the skill folder contains only the SKILL.md file and no scripts.

### Can the mat commands run without hardware?

Yes, the mat scan command accepts a simulate flag for testing without hardware.

### Is the API a standalone program?

No, the API is a library crate wired into server binaries, not a standalone cargo run target.

### How do I install Ruview CLI API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ruview-cli-api to use it in all your projects, or to .claude/skills/ruview-cli-api in one project. Or install the ruview plugin, which includes it: /plugin marketplace add ruvnet/RuView, then /plugin install ruview@ruview.

### Does Ruview CLI API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ruview CLI API?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Ruview CLI API?

The closest alternatives to Ruview CLI API are Ruview applications, Ruview quickstart, Ruview verify, Ruview configure and Onboard.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ruview applications](https://ai-powered.com/skills/ruview-applications): Ruview applications is an open-source agent skill for developer tools.
- [Ruview quickstart](https://ai-powered.com/skills/ruview-quickstart): Ruview quickstart is an open-source agent skill for developer tools.
- [Ruview verify](https://ai-powered.com/skills/ruview-verify): Ruview verify is an open-source agent skill for developer tools.
- [Ruview configure](https://ai-powered.com/skills/ruview-configure): Ruview configure is an open-source agent skill for developer tools.
- [Onboard](https://ai-powered.com/skills/onboard-ruvnet): Onboard is an open-source agent skill for developer tools.
- [Device access](https://ai-powered.com/skills/device-access): Device access is an open-source agent skill for developer tools.
- [Ruview rvagent](https://ai-powered.com/skills/ruview-rvagent): Ruview rvagent is an open-source agent skill for developer tools.
- [CLI creator](https://ai-powered.com/skills/cli-creator): CLI creator is a free agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ruview-cli-api
