ruview-cli-api
하는 일
이 스킬은 RuView의 명령줄 도구, 웹 API, 브라우저 버전을 사용하는 방법을 보여 줍니다. 스크립트로 제어하거나 다른 소프트웨어와 연결하려는 개발자를 위한 것입니다.
사용하는 경우
- ✓스크립트나 터미널에서 RuView 명령을 실행하고 싶을 때.
- ✓다른 프로그램이 HTTP로 RuView 데이터를 읽어야 할 때.
- ✓웹 브라우저 안에서 RuView를 실행하고 싶을 때.
스킬 링크
https://github.com/ruvnet/RuView/blob/main/plugins/ruview/skills/ruview-cli-api/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 앱에서 RuView API를 호출해 최신 감지 결과를 읽는 방법을 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 명령줄 하위 명령과 옵션을 나열한 뒤, API 서비스를 시작하는 방법과 브라우저 빌드의 위치를 보여 줍니다. 각 옵션에는 짧은 설명과 예제 명령이 붙어 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
RuView CLI, API & WASM
The programmatic surfaces of RuView — the wifi-densepose binary, the HTTP API, and the WebAssembly builds.
1. The wifi-densepose CLI binary (wifi-densepose-cli)
cd v2
cargo run -p wifi-densepose-cli -- --help # or: cargo build -p wifi-densepose-cli --release → target/release/wifi-densepose
cargo run -p wifi-densepose-cli -- version
Top-level subcommands: version, and mat (Mass Casualty Assessment Tool).
wifi-densepose mat … — disaster survivor detection
| Subcommand | Purpose | Key flags |
|---|---|---|
mat scan [zone] |
Start scanning for survivors | --disaster-type <…>, --sensitivity 0.0–1.0, --max-depth <m>, --continuous, --interval <ms>, --simulate |
mat status |
Current scan status | --detailed, --format <…>, --watch |
mat zones … |
Manage scan zones | zones list [--active-only], plus add/remove/update |
mat survivors |
List detected survivors with triage status | |
mat alerts |
View / manage alerts | |
mat export |
Export scan data | JSON or CSV |
Example:
cargo run -p wifi-densepose-cli -- mat scan rubble-A --disaster-type earthquake --sensitivity 0.7 --max-depth 5 --continuous --interval 2000
cargo run -p wifi-densepose-cli -- mat survivors --format json
cargo run -p wifi-densepose-cli -- mat export --format csv > survivors.csv
Use --simulate for testing without hardware. Background and user guide: docs/wifi-mat-user-guide.md, wifi-densepose-mat crate.
2. REST API (wifi-densepose-api, Axum)
Library crate (v2/crates/wifi-densepose-api/src/lib.rs) — the Axum router/handlers; configured via the wifi-densepose-config crate. It's wired into the server binaries (e.g. the sensing server / Docker image), not a standalone cargo run target by itself.
# Easiest way to exercise it: the Docker image exposes the API + dashboard on :3000
docker run -p 3000:3000 ruvnet/wifi-densepose:latest
# Then hit the HTTP endpoints (see the API module / docs for routes) and open http://localhost:3000
# v1 Python service config reference: example.env, pyproject.toml (archive/v1/)
When embedding the API crate in your own binary, take the router from wifi_densepose_api, supply config via wifi-densepose-config, and serve with Axum/Tokio. Keep input validation at the boundary (project rule).
3. WASM / browser & ESP32-WASM3
wifi-densepose-wasm— compiles the stack towasm32-unknown-unknownwith a JS-friendly API:
Seecd v2/crates/wifi-densepose-wasm wasm-pack build --target web --features mat # recommended (produces pkg/) cargo build --target wasm32-unknown-unknown --features mat # plain cargo buildv2/crates/wifi-densepose-wasm/README.mdfor the exported surface.wifi-densepose-wasm-edge— 60 edge modules (609 tests) that compile towasm32-unknown-unknownand run on ESP32-S3 via WASM3; shared utils insrc/vendor_common.rs. These are the ADR-041 edge-intelligence modules in WASM form.- Browser demos: pose-fusion (ADR-059), point-cloud (ADR-094) — deployed via GitHub Pages from the WASM build.
4. Where it fits
| You want to… | Use |
|---|---|
| Script a survivor scan / export results | wifi-densepose mat … |
| Expose sensing over HTTP | wifi-densepose-api (via a server binary / Docker) |
| Run sensing in a browser | wifi-densepose-wasm → wasm-pack build --target web |
| Run an edge module on an ESP32 in WASM | wifi-densepose-wasm-edge + WASM3 |
| A long-running CSI sink + training | wifi-densepose-sensing-server (see ruview-applications / ruview-model-training) |
Reference
- Crates:
wifi-densepose-cli,wifi-densepose-api,wifi-densepose-config,wifi-densepose-wasm,wifi-densepose-wasm-edge,wifi-densepose-mat - ADRs: 041 (edge modules), 059 (live ESP32 pipeline), 094 (point-cloud GitHub Pages)
docs/wifi-mat-user-guide.md,docs/edge-modules/,docs/security-audit-wasm-edge-vendor.md- Validate after changes:
cd v2 && cargo test -p wifi-densepose-cli -p wifi-densepose-api -p wifi-densepose-wasm --no-default-features
자주 묻는 질문
mat 명령은 무엇인가요?
대량 사상자 평가 부분의 명령줄로, 스캔을 시작하고, 구역을 나열하고, 데이터를 내보냅니다.
Rust가 설치되어 있어야 하나요?
예제는 cargo로 명령줄을 실행하므로, 그 예제에는 Rust 도구가 필요합니다.
스캔 데이터를 내보낼 수 있나요?
네. 스킬은 JSON 또는 CSV로 출력하는 내보내기 하위 명령을 보여 줍니다.
상세 정보
작성자의 원본 설명
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.
repo: ruvnet/RuView
인기도
- GitHub 스타
- 102k
- 순위
- #855
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
AgentDB Advanced Features
102k여러 컴퓨터 간 데이터베이스 동기화, 벡터 검색과 메타데이터 필터 결합 같은 AgentDB 고급 기능을 에이전트에게 보여 줍니다.
AgentDB Learning Plugins
102k과거 경험을 바탕으로 개선되는 강화 학습 방법을 사용해, AgentDB용 학습 플러그인을 만들고 훈련하도록 에이전트를 돕습니다.
AgentDB Memory Patterns
102kAgentDB를 영구 메모리 저장소로 사용해, 세션이 끝나도 대화와 맥락을 기억하도록 에이전트를 돕습니다.
AgentDB Performance Optimization
102k압축, 빠른 검색 인덱스, 캐싱을 사용해 AgentDB 검색 속도를 높이고 메모리 사용을 줄이는 방법을 에이전트에게 보여 줍니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.