rez-next: Skill for Claude Code

.agents/skills/vx-best-practices/SKILL.md

vx-best-practices is a skill for Claude Code, Codex from loonghao/rez-next. It costs 31 tokens per session (2,841 once invoked), scanned D, original, Apache-2.0.

A usage guide for vx, a tool that keeps project tools and their versions consistent. It covers project setup, lock files, and team workflows.

In plain words
What is it for?
It is for setting up vx-managed projects, adding tools, onboarding teammates, and preparing consistent builds in CI.
Why use it?
It helps avoid using the wrong system tool or having different developers install different versions. Lock files make project setup repeatable.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; built for cline.

This is loonghao/rez-next's own configuration. It tells Claude Code and Codex how to work on rez-next itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rez-next configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/alice/.vx/tools/node.

Reuse

Borrowing it

Nothing to install: this file belongs to loonghao/rez-next. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/loonghao/rez-next/main/.agents/skills/vx-best-practices/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/loonghao/rez-next

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vx-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/loonghao/rez-next/vx-best-practices/github.svg)](https://agentmods.dev/skills/loonghao/rez-next/vx-best-practices)
Your own site
<a href="https://agentmods.dev/skills/loonghao/rez-next/vx-best-practices"><img src="https://agentmods.dev/badge/skills/loonghao/rez-next/vx-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vx-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/loonghao/rez-next/vx-best-practices"><img src="https://agentmods.dev/badge/skills/loonghao/rez-next/vx-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,841 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.02841
Opus 5 $0.00015 $0.01421
Sonnet 5 $0.00006 $0.00568
Haiku 4.5 $0.00003 $0.00284

Measured 7d ago against content hash b4ddd6217c7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade D, and why

vx-best-practices scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# ❌ sudo vx install node

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/.nvm
.agents/skills/vx-best-practices/SKILL.md · 530 lines

How it starts

The opening of the file, as written. The whole thing — 530 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VX Best Practices

Golden rule: Always prefix tool commands with vx in vx-managed projects. Use vx.toml for project-level tool versions, commit vx.lock for reproducibility, and prefer templates over custom code when creating providers.

General Principles

1. Always Use vx Prefix

In vx-managed projects, always prefix tool commands with vx:

# ✅ Correct
vx npm install
vx cargo build
vx just test

# ❌ Wrong (might use system tools)
npm install
cargo build
just test

2. Prefer Project-Level Configuration

Use vx.toml to ensure consistency across team members:

# ✅ Correct - defined in vx.toml
vx sync

# ❌ Wrong - manual installation
vx install node@22

3. Commit Lock Files

Always commit vx.lock to ensure reproducible builds:

git add vx.lock
git commit -m "chore: update dependencies"

Project Setup

Initial Setup

# 1. Initialize project
vx init

# 2. Add required tools
vx add node@22
vx add go
vx add just

# 3. Generate lock file
vx lock

# 4. Commit configuration
git add vx.toml vx.lock

Team Onboarding

New team members only need to run:

# Clone repository
git clone <repo>
cd <repo>

# One command setup
vx setup

CI/CD Configuration

Use the vx GitHub Action:

# .github/workflows/ci.yml
- uses: loonghao/vx@main
  with:
    setup: 'true'
    cache: 'true'

Version Management

Version Selection Strategy

Scenario Constraint Example
Development Major version node = "22"
CI/CD Exact version node = "22.0.0"
Library Range node = ">=18 <23"
Latest features "latest" uv = "latest"

Avoid Over-Specification

# ✅ Good - flexible for patch updates
[tools]
node = "22"
go = "1.22"

# ❌ Bad - too rigid for development
[tools]
node = "22.0.0"    # Blocks security patches
go = "1.22.0"      # Requires update for each patch

LTS for Production

# Use LTS versions for stability
[tools]
node = "lts"        # Auto-updates to latest LTS

Read the full file on GitHub · 530 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 530 lines · 31 tokens per session scan D b4ddd6217c7d

Subscribe to this mod's changes

vx-best-practices is a skill published in the GitHub repository loonghao/rez-next (25 stars, last pushed 3d ago), licensed Apache-2.0. It adds 31 tokens to every session and 2,841 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-02.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

nvca-chart-release

Release NVCA Operator chart changes from the native monorepo source to the vendored Helm chart. Use when updating the vendored NVCA Operator chart, changing NVCA image refs, publishing helm-nvca-operator, or validating the chart against a self-managed control plane.

NVIDIA/nvcf · 61 tokens