allyhub add
Adds to the project what AllyHub and Poly Haven have, each named <type>/<name>: a starter component, a 3D model, a 3D scenery, a skill or a template from AllyHub's registry, or a CC0 model, HDRI or texture from Poly Haven; alone it lists everything AllyHub has, by type
allyhub add [name…] [options]Arguments
Section titled “Arguments”| Argument | Type | What it is |
|---|---|---|
<name> |
list of string | What to add, each <type>/<name>: component/caption-line, 3d-model/monitor, scenery/home-desk-demo-day, skill/web-product-demos (a skill goes in .agents/skills, linked from .claude/skills), template/<name>, lib/<name>, or @polyhaven/<id> (as allyhub add search prints it) |
Options
Section titled “Options”| Option | Type | Default | What it does |
|---|---|---|---|
--to |
string | The folder the files go in, from the project (default components for a component; for an asset, its kind’s folder under assets/media/ and its id) | |
--force |
boolean | false |
Replace a component’s copy the project changed (its changes are lost) |
--res |
string | An asset’s resolution, of its textures or of the HDRI (default 1k) |
Global options
Section titled “Global options”--dir <value>: the project’s folder; default the one around where it is run. --json: print the result as JSON.
Examples
Section titled “Examples”allyhub addallyhub add component/caption-lineallyhub add 3d-model/monitor scenery/home-desk-demo-dayallyhub add @polyhaven/metal_office_desk --res 2kExit codes
Section titled “Exit codes”0 when it succeeds; the others are listed in Exit codes.
In the work
Section titled “In the work”video: Making a video (one piece, or a batch of ads in combos)
check → frames → inspect → inspect layout → inspect timeline → inspect motion → inspect still → inspect contrast → inspect seams → inspect flash → inspect loop → inspect combos → audio → add search → add → dev → render
3d: Building a 3D scenery and its cameras
add search → add → scenery → scenery view → scenery map → scenery see → scenery measure → scenery motion → scenery solve → scenery bake → inspect fidelity → dev
modeling: Modelling a prop in code, or adding one from a library
add search → add → 3d-model → 3d-model capabilities