Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

viam-cliviam CLI 命令行

Agent Skill

viam-cli 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,936

周安装

550

GitHub Stars

公开资料未说明

下载量

4,532
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:viam-cli(viam CLI 命令行)
来源仓库:https://github.com/hexbabe/viam-cli
安装命令:
openclaw skills install viam-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install viam-cli

简介

管理 Viam 机器人平台的模块、数据集与机器学习工作组。

  • 适合自动化运维、设备队列管理与数据流水线搭建。viam-cli 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 提供命令行工具链用于安装、验证与监控机器人状态。
  • 安装命令:openclaw skills install viam-cli。
  • 操作前请确认云平台访问权限与 API 密钥有效性。

SKILL.md

name
viam-cli-manager
description
Exhaustive Viam CLI interface for managing fleets, modules, machine data, and handling initial CLI installation.
requires
anyBins
["viam", "brew"]
disable-model-invocation
false

Comprehensive Viam CLI Management Skill

This skill allows the agent to interact with the Viam robotics platform across all available CLI surfaces, including initial setup, deployment, data management, and the local developer loop.

Security & Scoping Guardrails

  • No hardcoded credentials: Never ask the user to paste an API key or Token into the chat. Rely on OpenClaw's environment variable injection. If unauthenticated, instruct the user to run viam login in their secure terminal.
  • Read-first approach: Always prefer listing resources (e.g., list, describe) before attempting mutations or deletions.
  • Destructive operations: Always confirm with the user before running any delete command across datasets, data pipelines, or machine data.

Initialization & Installation (First-Time Setup)

Before attempting to run any viam commands, verify if the CLI is installed by running viam version or checking the system path.

If the viam CLI is NOT installed:

  1. STOP and ask for permission: You must explicitly ask the user: *"The Viam CLI is not installed on your system. Would you like me to install it via Homebrew?"*
  2. Execute Installation (Upon Approval Only): If the user grants permission, run the following commands sequentially:

* brew tap viamrobotics/brews * brew install viam

  1. Verify: Once installed, run viam version to confirm success, then instruct the user to run viam login to authenticate.

Complete Viam CLI Command Reference

Authentication & Profiles

  • viam login - Authenticates the session (opens a browser or returns a URL).
  • viam login api-key --key-id <id> --key <secret> - Authenticates non-interactively via API key.
  • viam logout - Logs out of the current Viam session.
  • viam whoami - Displays the current authenticated profile/user.
  • viam profiles - Manages local CLI profiles.

Organizations & Locations

  • viam organizations list - Lists all organizations the user has access to.
  • viam locations list - Lists locations belonging to an organization.

Fleet & Machine Management (Aliases: machine, robots)

  • viam machines list - Lists all machines in an organization/location.
  • viam machines logs - Retrieves logs from a specific machine for debugging.
  • viam machines api-key create - Generates a new machine part API key for programmatic access.
  • viam machines part shell --organization=<org> --location=<loc> --machine=<id> - Opens a remote shell to a specific machine part (Requires the ViamShellDanger fragment on the machine).
  • viam machines part cp - Copies files to/from a remote machine over Viam's WebRTC tunnel.

Modules, Hot-Reloading, & Registry

  • viam module generate - Interactively scaffolds a new module. Can bypass prompts using flags.
  • viam module reload --part-id <machine-part-id> - (Hot Reloading) Bundles local module code, deploys it to the target machine via WebRTC, registers it as a local module, and restarts it.
  • viam module local-app-testing --app-url <url> - Tests a custom Viam web application locally against machine data.
  • viam module create - Creates the module entity in the Viam cloud registry.
  • viam module upload --version <version> --platform <platform> <module-path> - Bundles and uploads a finished module to the Viam Registry.
  • viam packages - Manages individual software packages.

Machine Data (Uploads, Syncs, & Databases)

  • viam data export tabular - Exports sensor/tabular data to a specified destination.
  • viam data export binary - Exports image/binary data to a specified destination.
  • viam data delete tabular - Deletes tabular data from the Viam Cloud.
  • viam data delete binary - Deletes binary data from the Viam Cloud.
  • viam data tag - Adds or removes tags from data matching specific IDs.
  • viam data database configure - Creates/modifies a database user for MongoDB Atlas Data Federation.
  • viam data database hostname - Retrieves the MongoDB Atlas Data Federation hostname.

Datasets (For Machine Learning)

  • viam dataset create - Creates a new dataset.
  • viam dataset rename - Renames an existing dataset.
  • viam dataset list - Lists datasets for an organization or by specific IDs.
  • viam dataset delete - Deletes a specified dataset.
  • viam dataset data add - Adds images/binary data to a dataset.
  • viam dataset data remove - Removes images/binary data from a dataset.
  • viam dataset export - Downloads all data contained within a dataset.

Data Pipelines (Precompute & Transformations)

  • viam datapipelines create - Creates a new data pipeline.
  • viam datapipelines describe - Gets detailed information about a specific data pipeline.
  • viam datapipelines delete - Deletes a data pipeline.
  • viam datapipelines enable - Resumes executing a disabled data pipeline.
  • viam datapipelines disable - Stops executing a data pipeline without deleting it.
  • viam datapipelines list - Lists all data pipelines in an organization.

Machine Learning (Training & Inference)

  • viam train - Initiates an ML model training job in the Viam cloud.
  • viam training-script - Manages scripts utilized during custom ML training runs.
  • viam infer - Runs quick inferences against a model directly from the CLI.

Metadata & Diagnostics

  • viam metadata - Retrieves metadata related to the Viam configuration or platform state.
  • viam parse-ftdc - Parses Full-Time Data Capture (FTDC) diagnostic data files generated by viam-server.
  • viam version - Prints the currently installed version of the Viam CLI.

⚠️ Fallback & Troubleshooting Protocol (CRITICAL)

The Viam platform evolves rapidly. If any viam command fails, returns a syntax error, or complains about an unrecognized flag, you MUST adhere to the following fallback protocol:

  1. Read the local help text: Immediately run --help on the failing command or subcommand (e.g., viam module reload --help or viam datapipelines --help) to read the exact syntax required by the user's installed binary.
  2. Suggest an Upgrade: If a requested root command or feature does not exist locally, the user is likely running an outdated version. Advise them to upgrade by explicitly asking for permission to run brew upgrade viam.
  3. Do not hallucinate flags: Never guess a flag or command structure. Always defer to the local CLI's help output if execution fails.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.75%
按下载量换算4,339

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills