# 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

Source: https://allyhub.com/docs/reference/cli/add · AllyHub 0.10.0
Index of all docs: https://allyhub.com/llms.txt

## Usage

```bash
allyhub add [name…] [options]
```

## Arguments

| Argument | Type | What it is |
| --- | --- | --- |
| `<name>` | list of string | What to add, each &lt;type&gt;/&lt;name&gt;: 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/&lt;name&gt;, lib/&lt;name&gt;, or @polyhaven/&lt;id&gt; (as allyhub add search prints it) |

## 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

`--dir <value>`: the project's folder; default the one around where it is run. `--json`: print the result as JSON.

## Examples

```bash
allyhub add
allyhub add component/caption-line
allyhub add 3d-model/monitor scenery/home-desk-demo-day
allyhub add @polyhaven/metal_office_desk --res 2k
```

## Exit codes

`0` when it succeeds; the others are listed in [Exit codes](https://allyhub.com/docs/reference/cli/exit-codes.md).

## In the work

**video**: Making a video (one piece, or a batch of ads in combos)

[`check`](https://allyhub.com/docs/reference/cli/check.md) → [`frames`](https://allyhub.com/docs/reference/cli/frames.md) → [`inspect`](https://allyhub.com/docs/reference/cli/inspect.md) → [`inspect layout`](https://allyhub.com/docs/reference/cli/inspect-layout.md) → [`inspect timeline`](https://allyhub.com/docs/reference/cli/inspect-timeline.md) → [`inspect motion`](https://allyhub.com/docs/reference/cli/inspect-motion.md) → [`inspect still`](https://allyhub.com/docs/reference/cli/inspect-still.md) → [`inspect contrast`](https://allyhub.com/docs/reference/cli/inspect-contrast.md) → [`inspect seams`](https://allyhub.com/docs/reference/cli/inspect-seams.md) → [`inspect flash`](https://allyhub.com/docs/reference/cli/inspect-flash.md) → [`inspect loop`](https://allyhub.com/docs/reference/cli/inspect-loop.md) → [`inspect combos`](https://allyhub.com/docs/reference/cli/inspect-combos.md) → [`audio`](https://allyhub.com/docs/reference/cli/audio.md) → [`add search`](https://allyhub.com/docs/reference/cli/add-search.md) → `add` → [`dev`](https://allyhub.com/docs/reference/cli/dev.md) → [`render`](https://allyhub.com/docs/reference/cli/render.md)

**3d**: Building a 3D scenery and its cameras

[`add search`](https://allyhub.com/docs/reference/cli/add-search.md) → `add` → [`scenery`](https://allyhub.com/docs/reference/cli/scenery.md) → [`scenery view`](https://allyhub.com/docs/reference/cli/scenery-view.md) → [`scenery map`](https://allyhub.com/docs/reference/cli/scenery-map.md) → [`scenery see`](https://allyhub.com/docs/reference/cli/scenery-see.md) → [`scenery measure`](https://allyhub.com/docs/reference/cli/scenery-measure.md) → [`scenery motion`](https://allyhub.com/docs/reference/cli/scenery-motion.md) → [`scenery solve`](https://allyhub.com/docs/reference/cli/scenery-solve.md) → [`scenery bake`](https://allyhub.com/docs/reference/cli/scenery-bake.md) → [`inspect fidelity`](https://allyhub.com/docs/reference/cli/inspect-fidelity.md) → [`dev`](https://allyhub.com/docs/reference/cli/dev.md)

**modeling**: Modelling a prop in code, or adding one from a library

[`add search`](https://allyhub.com/docs/reference/cli/add-search.md) → `add` → [`3d-model`](https://allyhub.com/docs/reference/cli/3d-model.md) → [`3d-model capabilities`](https://allyhub.com/docs/reference/cli/3d-model-capabilities.md)
