rez-package-commandsWriting the Rez commands() section and rex environment API — env object, setenv/appendenv/prependenv/unsetenv/alias/source/error, string expansion, literal/expandable/expandvars, execution order and build-time branching. Use when a package must set, append or prepend environment variables, expose tools, source scripts, or behave differently during a build. Covers Rez 3.4.0.
Install via ClawdBot CLI:
clawdbot install loonghao/rez-package-commandsGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://clawhub.ai/user/loonghaoAudited Oct 9, 2026 · audit v1.0
Generated Oct 9, 2026
A VFX studio uses Rez to package internal Python tools and resolve environments for artists. They rely on the commands() section to set PYTHONPATH, PATH, and tool aliases so that artists can launch tools like Nuke or Maya with the correct plugin paths. The rex API's append/prepend behavior ensures studio tool versions override system-installed ones.
A game studio needs to manage building its engine and tools with Rez packages. Using the 'building' flag, packages expose headers, CMake modules, and build-only environment variables during compilation, while runtime environments only include runtime dependencies. This separation prevents build-time pollution and ensures consistent builds across CI agents.
A research lab packages scientific software with Rez to ensure reproducibility. Commands() sets environment variables for libraries like CUDA and Python packages, and handles OS-specific path separators via Rez's POSIX normalization. Researchers can switch between different versions of tools by simply changing the rez-env request.
An animation studio uses Rez to manage render farm environments where tools must run on Linux, Windows, and macOS. The commands() section sets platform-specific variables and uses source() to load studio configuration scripts, while Rez handles shell differences for bash, csh, and PowerShell automatically.
A cloud platform provides remote workstations for DCC applications. Each session is launched with a Rez-resolved environment that sets licensing paths, plugin directories, and aliases through commands(). The rex API's error() and info() functions are used to display warnings about known issues or license server status to users.
Rez itself is open-source, but companies monetize by offering enterprise support, training, and custom package development. Revenue comes from support contracts and consulting hours, often bundled with pipeline integration services.
Studios adopt Rez to reduce environment setup time and resolve version conflicts, leading to faster artist onboarding and fewer production delays. The cost savings are indirect but substantial, as technical directors spend less time debugging environment issues.
Render farms and cloud studios offer pre-configured Rez environments as part of their service, allowing clients to submit jobs with precise software versions. This reduces support requests and enables tiered pricing based on environment complexity.
💬 Integration Tip
Master the first-append-overwrites rule and use expandvars for any string that needs immediate expansion; always use POSIX paths and pathed_env_vars to ensure cross-platform compatibility. Leverage the resolve object for conditional setup and building for build-time branching to keep runtime environments clean.
Scored Oct 9, 2026
You are a professional writer, skilled in writing all kinds of materials. Markdown is the exclusive format for your writing outputs.rrent user query.The othe...
AI长篇网文创作技能包。用于解决长篇网络小说创作中的核心痛点:上下文丢失、文风不一致、设定冲突、节奏失控、多线混乱、质量不稳、读者反馈无法内化。触发场景包括:开始新书、规划大纲、撰写章节、管理伏笔、检测冲突、读者反馈分析、批量创作质量控制。
Deprecated redirect skill that routes legacy 'content creator' requests to the correct specialist. Use when a user invokes 'content creator', asks to write a...
Refine academic writing for computer science research papers targeting top-tier venues (NeurIPS, ICLR, ICML, AAAI, IJCAI, ACL, EMNLP, NAACL, CVPR, WWW, KDD, SIGIR, CIKM, and similar). Use this skill whenever a user asks to improve, polish, refine, edit, or proofread academic or research writing — including paper drafts, abstracts, introductions, related work sections, methodology descriptions, experiment write-ups, or conclusion sections. Also trigger when users paste LaTeX content and ask for writing help, mention "camera-ready", "rebuttal", "paper revision", or reference any academic venue or conference. This skill handles both full paper refinement and section-by-section editing.
AI写作助手 Premium | 智能写作、改写、润色。支持10种写作风格,AI查重,SEO优化。
AI写作助手 v2.1 | AI Writing Assistant. 支持10种写作风格、语法检查、润色建议、素材库、Markdown导出、协作编辑、版本管理。触发词:写作、写、文章、文案。