# Set up Hammock

You are a coding agent. A person asked you to set up Hammock, which makes and
edits videos. Do these steps in order. Stop and tell the person if a step fails.

## 1. Install the CLI

Check first:

```
hammock version
```

If the command is missing, install it.

On a Mac, the Hammock app ships the CLI:

```
brew install --cask vadelabs/tap/hammock
```

On Linux, or on a Mac without the app:

```
curl -fsSL https://cli.hammock.video/install | bash
```

The installer prints the install directory. If that directory is not on
`PATH`, add it as the installer says.

## 2. Sign in

```
hammock login
```

This opens the browser and shows a one-time code. The person must finish the
sign-in. You cannot do this step for them. Wait until the command returns.

## 3. Connect this agent

Run the one command that matches you:

```
hammock setup claude
hammock setup codex
```

The command installs the Hammock skill and adds the Hammock MCP server. For
any other client, run `hammock mcp`. It prints the server and how to add it.

## 4. Check

```
hammock doctor
```

It checks the connection, the login and the agent skill. Fix what it reports
before you continue.

## 5. Tell the person

Say that Hammock is ready. Then ask what story they want to tell.

A new session may be necessary before the skill and the MCP server load.
