Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

vx-commands

БесплатноБез исполняемых скриптовНе проверен

Complete vx CLI command reference. Use when looking up specific vx command syntax, flags, output formats, or token-efficient forwarding. vx-native commands…

loonghaoот loonghao1 514 установок в других каталогах

Об этом скилле

VX Command Reference

Quick rule: Prefer semantic reduction first: --json with selected fields, then --jq/vx rg filtering, then --compact for broad logs. Set VX_OUTPUT=json, VX_OUTPUT=toon, or VX_OUTPUT=compact only when you want that default for the whole invocation.

Structured Output Commands (AI-Optimized)

vx-native commands support --json, --toon, --compact, and --output-format <text|json|toon|compact>. Forwarded tools such as vx git, vx gh, vx cargo, or vx npm keep their native stdout by default; use the tool's own structured flags first, or add vx --compact ... when broad subprocess output must be filtered.

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 - Runtime 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

Managed Command Shims

Check vx --version and vx --help first. If shim is listed, inspect vx shim --help and vx shim add --help for this interface; v0.9.34 does not include it. Do not probe an unknown subcommand as a runtime on older builds.

vx shim path                         # Default targets and their PATH status
vx shim list --json                   # Recorded names, targets, launcher, directories, files
# After checking name conflicts and every destination file:
vx shim add jq --as jq-vx --dir "/absolute/path/to/shim-bin"
vx shim remove jq-vx                  # Remove by exposed name, not runtime spec

--dir is repeatable and replaces the defaults; use absolute paths so later sync/remove do not depend on the working directory. Without it, add writes to both the vx bin directory and the directory containing the current vx executable (deduplicated). Adding a shim does not install its target or edit PATH.

After upgrading or moving vx, use vx shim sync only after checking ownership of every registered destination: it rewrites all entries, including existing files. --force is an explicit overwrite decision, never the default repair. For Codex targets, shell-specific resolution, conflicts, and safe removal, read the managed command shim guide. There is no vx shim rebuild or vx shim codex form in this interface.

Output Formats

JSON Format

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

TOON Format (Token-Optimized)

vx list --output-format toon
vx list --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.

Полный SKILL.md на ClawHub

Установить vx-commands в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл vx-commands?

Complete vx CLI command reference. Use when looking up specific vx command syntax, flags, output formats, or token-efficient forwarding. vx-native commands support --json, --toon, --compact, and --output-format; forwarded tools keep native output unless compact mode is explicitly requested.

Как установить скилл vx-commands?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл vx-commands запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить vx-commands с