# CLI commands

Use `codeclip help` for the command list and `codeclip help <command>` for options.

## agents

Show agent setup instructions, or install the bundled skills for a local coding agent.

```sh
codeclip agents
codeclip agents --agent codex
codeclip agents --agent claude
codeclip agents --agent cursor
```

Add `--json` for structured output. `setup` remains a compatibility alias. See [agent setup](/docs/agent-setup).

## generate

```sh
codeclip generate [REPOSITORY] [--prompt TEXT | --brief FILE] [--output DIRECTORY] [--wait] [--json]
```

The repository defaults to the current directory. `--output` chooses a new run directory. Video duration is controlled by the service.

## resume

```sh
codeclip resume DIRECTORY [--wait] [--json]
```

Continue an existing saved run without reserving another free clip.

## login and logout

```sh
codeclip login
codeclip logout
```

Sign in through the browser, or remove local credentials and sign out.

## account and jobs

```sh
codeclip account --json
codeclip jobs --json
```

Inspect your allowance and runs. Omit `--json` for human-readable output.

## Terminal output

Interactive terminals show stage timing. Redirected output uses plain milestones. Set `NO_COLOR` to disable colors, or `TERM=dumb` to disable terminal animation.
