Command Palette

Search for a command to run...

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

rez-suites-bundles

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

Rez suites and context bundles — rez-suite to expose tools from several contexts behind one PATH entry, suite tool aliasing, prefixing, hiding, bumping and…

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

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

Rez suites and context bundles

One-sentence summary: a suite is a directory of contexts plus wrapper scripts that makes tools from different resolves look like one PATH entry; a context bundle is a directory that carries the context and its packages, so the whole thing can be moved somewhere else.

Skill scope: delivering a resolve to somewhere other than your own shell. For the resolve itself see rez-resolve; for the objects these commands are built on see rez-python-api; for the command reference see rez-cli.

Which one do I want?

Suite Context bundle
Holds contexts + wrapper scripts one context + its packages
Packages stay where they are yes — absolute refs to shared repos no — copied into the bundle, refs become relative
Relocatable no yes
Typical use artist workstations, PATH entry farm, container, server, air-gapped copy
Built by rez-suite rez-bundle

Suites

A suite is a directory containing a set of contexts and wrapper scripts that run tools within those contexts. Put its bin directory on PATH and foo resolves to the wrapper, which resolves to the right context — the artist never has to know.

Building one

rez-env foo -o foo.rxt
rez-suite --create mysuite
rez-suite --add foo.rxt --context fooCtx mysuite
export PATH=$PWD/mysuite/bin:$PATH

--add copies the context into mysuite/contexts/<name>.rxt, and --context is the label it gets inside the suite. The label is what every other context-scoped option refers to, so name it after what the context is for, not after the file you happened to save it as.

rez-suite flags

Flag Effect
--create create an empty suite at DIR
-a, --add RXT add a context to the suite (needs --context)
-c, --context NAME which context a context-scoped option applies to
-r, --remove NAME remove a context
-d, --description DESC set a context's description
-p, --prefix PREFIX / -s, --suffix SUFFIX prefix/suffix every tool in the context
--hide TOOL / --unhide TOOL hide or expose one tool
--alias TOOL ALIAS / --unalias TOOL give one tool a different name
-b, --bump NAME raise a context's priority so its tools win
-P, --prefix-char CHAR change the control-argument prefix (default +; "" disables)
-t, --tools list the tools the suite exposes
--which TOOL print the path of a suite wrapper
-l, --list list visible suites
--validate check the suite is internally consistent
--find-request PKG / --find-resolve PKG which contexts contain PKG in the request / the resolve
-i, --interactive open a shell in a suite context (needs --context)

Which tools get exposed

A suite exposes the tools attribute of the packages in a context's requests. Three rules follow from that, and they explain most "my tool is missing" reports:

  • Packages pulled in as dependencies do not expose their tools.
  • Weak references (~foo-1) and conflict requests (!foo) do not expose their tools.
  • If two contexts expose the same tool name, one is a conflict; --bump, aliasing or prefixing resolves it.

Prefixing and suffixing are the cheap way to offer the same tool from two contexts at once:

rez-suite --add foo2017.rxt --context foo2017 mysuite
rez-suite --suffix _beta --context foo2017 mysuite
rez-suite --tools mysuite

That gives you foo from the stable context and foo_beta from the new one.

Control arguments

Suite wrappers pass their arguments through to the real tool, except for rez's own control arguments, which use + instead of -:

foo ++help
foo ++about
foo ++versions
foo +i
foo +p bar-2
foo ++peek
foo ++command 'printenv FOO_VERSION'
foo ++no-rez-args --not-a-rez-flag
Control arg Meaning
+h, ++help wrapper usage
+a, ++about which suite, context and package the wrapper comes from
++versions versions of the package providing the tool
+i, ++interactive interactive shell in the tool's environment
+p, ++patch PKG... run the tool in a patched environment
++strict strict patching (ignored without ++patch)
++nl, ++no-local do not load local packages when patching
++command, ++stdin run commands instead of the tool
++peek diff the tool's context against a re-resolve — how stale it is
++verbose, ++quiet output control
++no-rez-args pass everything through, even + args

If a target tool uses + for its own arguments, change rez's prefix with --prefix-char.

The Suite object

from rez.suite import Suite
from rez.resolved_context import ResolvedContext

suite = Suite()
suite.add_context(name="fooCtx", context=ResolvedContext.load("foo.rxt"))
suite.save("mysuite")

reloaded = Suite.load("mysuite")
reloaded.context_names                 # ['
Полный SKILL.md на ClawHub

Установить rez-suites-bundles в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл rez-suites-bundles?

Rez suites and context bundles — rez-suite to expose tools from several contexts behind one PATH entry, suite tool aliasing, prefixing, hiding, bumping and control arguments (++help, ++about, ++patch, ++peek), and rez-bundle / bundle_context() to package a resolve with its packages into a relocatable directory. Use when the user wants to ship a resolved environment to artists, a render farm, a container or another machine. Covers Rez 3.4.0.

Как установить скилл rez-suites-bundles?

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

Скилл rez-suites-bundles запускает скрипты?

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

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

Сравнить rez-suites-bundles с