Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

vx-commandsvx 命令

Agent Skill

vx-commands 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,946

周安装

124

GitHub Stars

公开资料未说明

下载量

1,032
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install vx-commands

简介

vx-commands 提供完整的 vx CLI 命令语法和标志参考。

  • 适用于查找特定命令格式、输出结构或 JSON 解析支持的场景。
  • 所有命令均支持 --json 输出,便于脚本化处理和数据提取。
  • 使用前需确认是否涉及敏感操作或外部服务调用权限。vx-commands 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议查阅项目文档以掌握命令组合技巧和版本兼容性说明。

SKILL.md

name
vx-commands
description
Complete vx CLI command reference. Use when looking up specific vx command syntax, flags, or output formats. All commands support --json for structured output and --format toon for token-optimized output.

VX Command Reference

Quick rule: All vx commands support --json for structured output and --format toon for token-optimized output (saves 40-60% tokens). Set VX_OUTPUT=json to default all commands to JSON.

Structured Output Commands (AI-Optimized)

All commands support --json for structured output and --format toon for token-optimized output (saves 40-60% tokens).

Project Analysis

vx analyze --json           # Analyze project structure
vx check --json             # Verify tool constraints
vx ai context --json        # Generate AI-friendly project context

Output fields (analyze):

  • ecosystems[] - Detected ecosystems (nodejs, python, rust, go)
  • dependencies[] - Project dependencies
  • scripts[] - Available scripts
  • required_tools[] - Tools needed

Output fields (check):

  • requirements[] - Tool requirement status
  • all_satisfied - Whether all constraints are met
  • missing_tools[] - Tools that need installation

Output fields (ai context):

  • project - Project info (name, languages, frameworks)
  • tools[] - Installed tools with versions
  • scripts[] - Available scripts
  • constraints[] - Tool constraints

Tool Management

vx list --json              # List installed tools
vx versions node --json     # List available versions
vx which node --json        # Find tool location
vx search <query> --json    # Search for tools

Output fields (list):

  • runtimes[] - Available runtimes
  • total - Total count
  • installed_count - Installed count

Output fields (versions):

  • versions[] - Available versions with metadata
  • latest - Latest version
  • lts - LTS version (if applicable)

Output fields (which):

  • path - Executable path
  • version - Resolved version
  • source - Source (vx, system, global_package)

Installation

vx install node@22 --json   # Install tool
vx sync --json              # Sync from vx.toml

Output fields (install):

  • runtime - Tool name
  • version - Installed version
  • path - Installation path
  • duration_ms - Installation duration
  • dependencies_installed[] - Dependencies also installed

Output fields (sync):

  • installed[] - Successfully installed
  • skipped[] - Skipped (already installed)
  • failed[] - Failed installations
  • duration_ms - Total duration

AI Integration

vx ai context               # Generate AI-friendly context (Markdown)
vx ai context --json        # JSON format
vx ai context --minimal     # Minimal output
vx ai session init          # Initialize session state
vx ai session status        # Show session status
vx ai session cleanup       # Clean up session

Environment

vx env --json               # Show environment variables
vx dev --export             # Export shell environment

Output Formats

JSON Format

vx list --json
# Output: {"runtimes": [...], "total": 50, "installed_count": 5}

TOON Format (Token-Optimized)

vx list --format toon
# Output:
# runtimes[50]{name,installed,description}:
#   node,true,Node.js runtime
#   python,false,Python runtime
#   ...

TOON format is recommended for AI agents - it saves 40-60% tokens compared to JSON.

Environment Variable

export VX_OUTPUT=json       # Default to JSON output
export VX_OUTPUT=toon       # Default to TOON output

Command Groups

Tool Execution

vx <tool> [args...]         # Run any tool
vx npm install              # Run npm
vx cargo build              # Run cargo

Advanced Execution Syntax

# Runtime with version
vx node@22 app.js                     # Use specific Node.js version

# Runtime executable override
vx msvc@14.42::cl main.cpp            # Run cl from MSVC runtime

# Package execution (ecosystem:package pattern)
vx npm:vite                            # Run vite via npm
vx uv:ruff check .                    # Run ruff via uv
vx npm:typescript@5.0::tsc            # Run tsc from specific typescript version

# Package aliases (shortcuts)
vx vite                                # Same as: vx npm:vite
vx meson                              # Same as: vx uv:meson

# Multi-runtime composition
vx --with bun@1.1 --with deno node app.js   # Multiple runtimes in PATH

Tool Management

vx install <tool>@<version> # Install tool
vx uninstall <tool>         # Uninstall tool
vx list                     # List tools
vx versions <tool>          # Show versions
vx which <tool>             # Find tool path
vx switch <tool>@<version>  # Switch version

Project Management

vx init                     # Initialize vx.toml
vx add <tool>               # Add tool to project
vx remove <tool>            # Remove tool from project
vx sync                     # Sync tools from vx.toml
vx lock                     # Generate vx.lock
vx check                    # Check constraints

Script Execution

vx run <script>             # Run script from vx.toml
vx run --list               # List available scripts

Cache Management

vx cache dir                # Show cache directory
vx cache clean              # Clean cache

Global Flags

--json                      # JSON output
--format <text|json|toon>   # Output format
--verbose                   # Verbose output
--debug                     # Debug output
--use-system-path           # Use system PATH
--cache-mode <mode>         # Cache mode (normal, refresh, offline, no-cache)

Exit Codes

  • 0 - Success
  • 1 - General error
  • 2 - Tool not found
  • 3 - Installation failed
  • 4 - Version not found
  • 5 - Network error
  • 6 - Permission error
  • 7 - Configuration error

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

97.6%
按下载量换算1,007

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills