Rez 命令行速查参考

SKILL开发

原名 rez-cli

开发 未标注权限 许可证不明确
安装这个技能

汇总 rez-env、rez-build、rez-release、rez-context 等 Rez 命令及常用参数,需要查具体命令或跑构建发布测试流程时可对照使用。

一句话选型结论

按资料字段整理

Rez 命令行速查参考是开发类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类开发 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_07c3fda9/rez-cli
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

开发
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_07c3fda9仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量9.0 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

0 项能力
上游给出的能力概览与适用场景
查 rez 命令参数跑构建与发布流程排查 rez 使用问题

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
写代码与改 bug

按需求补代码、定位并修掉报错。

读仓库与生成改动

让模型读懂项目结构,再给出可落地的改动。

跑测试与排查故障

按现象排查问题,补测试用例并复跑。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在开发场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
Rez 命令行速查参考当前 未标注权限 未标注 未标注 未标注 有
技能审查员 浏览器控制 ClawHub 市场 877.9 万 OpenClaw 有
Vercel React 最佳实践 浏览器控制 GitHub 仓库 849.1 万 Codex、Claude、Cursor 有
GitHub 代码协作 联网访问 ClawHub 市场 763.3 万 OpenClaw 有
网页设计指南 联网访问 GitHub 仓库 668.6 万 Codex、Claude、Cursor 有
本体论 只读 ClawHub 市场 663.7 万 OpenClaw 有

SKILL.md 全文

9.0 KB
模型实际读到的说明书原文,来自技能仓库

Rez CLI reference

> One-sentence summary: every subcommand is available both as rez <cmd> and rez-<cmd>;
> resolve with rez-env, build with rez-build, ship with rez-release, inspect with rez-context.

Skill scope: commands and flags. For concepts see rez-core-concepts; for resolve failures see
rez-resolve-troubleshooting.

Full command list

Command Purpose
rez-env Open a configured shell, possibly interactive
rez-build Build a package from source
rez-release Build a package from source and deploy it
rez-context Print info about the current context or a .rxt file
rez-search Search for packages
rez-depends Reverse package dependency lookup
rez-diff Compare the source of two packages
rez-view View the contents of a package
rez-config Print current rez settings
rez-status Report status of the environment, a tool or a package
rez-test Run tests listed in a package definition file
rez-selftest Run rez's own unit tests (pytest if available)
rez-bind Create a rez package for existing software
rez-pip Install a pip package and its deps as rez packages
rez-cp / rez-mv / rez-rm Copy / move / remove packages between repositories
rez-pkg-cache Manipulate a package cache
rez-pkg-ignore Disable a package so it is hidden from resolves
rez-suite Manage suites
rez-bundle Bundle a context and its packages into a relocatable dir
rez-python Start python or run a script within rez's own context
rez-interpret Execute some Rex code and print the result
rez-help Display help for a given package
rez-plugins List a package's plugins
rez-memcache Manage and query memcache server(s)
rez-benchmark Benchmark runtime resolves
rez-yaml2py Print a package.yaml in package.py format
rez-gui Run the Rez GUI application
rez-complete Print package completion strings (hidden)
rez-forward See util.create_forwarding_script() (hidden)

Common flags on every subcommand: -v/--verbose (repeatable), --debug, --profile FILE.

rez-env — resolve and enter

rez-env foo bah                      # interactive subshell
rez-env foo bah -- echo '$REZ_FOO_ROOT'   # one-shot, no subshell
rez-env 'python-2.6+' 'utils-1.1+<2'      # quote requests
rez-env foo -o context.rxt            # write context, don't enter
rez-env foo -i context.rxt            # load a saved context

Key flags:

Flag Effect
-c, --command CMD run a command instead of opening a shell
-s, --stdin read commands from stdin
-o, --output FILE write the context (.rxt) and exit
-i, --input FILE load a saved context
--shell SHELL target shell (bash, zsh, sh, csh, tcsh, pwsh)
--ni, --no-implicit drop implicit packages
--nl, --no-local exclude locally installed packages
-b, --build build environment instead of runtime
--paths PATH override the package search path
-p, --patch patch the resolve
--patch-rank N apply additional patches
--max-fails N report more failures (default first only)
--fail-graph render the failure graph
--no-cache bypass resolve caching
--strict treat patch conflicts as errors
--exclude/--include RULE filter packages in/out
--no-filters ignore configured filters
-q, --quiet suppress the banner
-t, --time / --time-limit timestamp / limit for the resolve
--rcfile / --norc shell rc handling

rez-build — build from source

rez-build                            # build only
rez-build --install                  # build + install to ~/packages
rez-build --clean                    # clean the build dir
rez-build -- -DMYVAR=YES             # pass args to the build system

Key flags:

Flag Effect
-i, --install install to the local packages path
-c, --clean clean before building
-p, --prefix PATH install prefix
--process local\|remote where the build runs
-b, --build-system NAME force a build system
--variants INDEX [INDEX…] build only specific variants
--ba, --build-args ARGS args for the build system
--cba, --child-build-args ARGS args for child builds
-s, --scripts show shell scripts instead of running
--view-pre view the pre-build resolved environment
--fail-graph render the resolution failure graph

Build system is auto-detected (CMakeLists.txt → cmake, etc.). A package can override it with the
build_command attribute. Build systems add their own flags to rez-build -h (e.g.
--build-target for cmake), and a parse_build_args.py in the package root lets you add custom
flags — they arrive as __PARSE_ARG_<NAME> env vars.

The build environment is assembled from requires → build_requires (transitive) →
private_build_requires → the current variant's requirements. CWD during the build is the build
path
, not the package root — use {root} to reach scripts in the package root.

Local install loop:

# edit code
rez-build --install
rez-env mypackage        # in a separate shell; picks up the local install

You do not need a fresh rez-env after every install if requirements did not change.

rez-release — build and deploy

rez-release -m "release message"
Flag Effect
-m, --message MSG release message
--vcs VCS version control system (git, hg, svn, stub)
--no-latest do not set the package as latest
--ignore-existing-tag proceed even if the VCS tag exists
--skip-repo-errors continue past repository errors
--no-message release without a message

Releases to release_packages_path (default ~/.rez/packages/int). Release hooks
(amqp, command, emailer) run around it; a ReleaseHookCancellingError from a hook cancels
the release.

rez-context — inspect a resolve

rez-context                          # info about the current environment
rez-context context.rxt              # info about a saved context
Flag Effect
--req, --print-request print the request
--res, --print-resolve print the resolve
--so, --source-order command execution order
--su, --show-uris show package URIs
-t, --tools list tools exposed by the resolve
--which CMD which package provides a command
-g, --graph / -d, --dependency-graph dot graphs
--pg, --print-graph / --wg, --write-graph FILE compact / written graph
--pp, --prune-package PKG prune the displayed graph down to PKG (graph output only, no re-resolve)
-i, --interpret show the interpreted shell code
-f, --format FMT output in a given shell format
--diff RXT diff against another context
--no-env interpret the context in an empty environment
--fetch fetch missing packages

rez-context --so and rez-context --which are the two cheapest answers to "what did I actually
get" and "where did this binary come from".

rez-search / rez-depends / rez-test

rez-search maya                      # find packages
rez-search --validate mypackage      # validate a package definition
rez-depends python                   # who depends on python?
rez-test mypackage                   # run the package's tests

rez-search flags: -t, --type, --nl, --no-local, --validate, --paths, -f, --format.
rez-depends is the reverse-dependency lookup — reach for it before grepping package.py files.

rez-config / rez-status / rez-bind / rez-pip

rez-config                           # all settings
rez-config packages_path             # one setting
rez-status                           # environment sanity
rez-bind python                      # wrap existing software as a rez package
rez-pip install requests             # pip package as rez packages

Other useful ones

rez-pkg-ignore foo-1.0.0             # hide a bad package from resolves
rez-cp / rez-mv                      # move packages between repositories
rez-bundle context.rxt out_dir       # relocatable bundle
rez-interpret '"{root}"'             # test a rex expression

Agent workflow

  1. Prefer non-interactive forms — -c, --output, rez-context — over opening a subshell.
  2. Scope output: rez-context --so, rez-config <setting>, rez-search <pkg> -f <template>.
  3. rez-status first when something looks broken about the environment itself.
  4. Use rez-depends for reverse lookups instead of broad greps.
  5. Build → install → test in that order: rez-build --install, rez-env <pkg>, rez-test <pkg>.

常见问题

5 问
答案由本站依据条目字段整理
Rez 命令行速查参考怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_07c3fda9/rez-cli。安装方式为未标注。装完刷新技能列表或重开客户端。

Rez 命令行速查参考支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

Rez 命令行速查参考权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

Rez 命令行速查参考收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

Rez 命令行速查参考用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。