> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specific.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenClaw

> Instructions for OpenClaw agents to set up and use Specific for building and deploying apps

Set up Specific on this machine so I can build and deploy apps through you.

Here's what to do:

## Step 1: Install the Specific CLI

```bash theme={null}
curl -fsSL https://specific.dev/install.sh | sh
```

## Step 2: Learn how Specific works

Run `specific docs` to learn how Specific works. Keep this in mind for any future projects.

## Building projects

From now on, whenever I ask you to build something:

1. Write the code in whatever stack fits
2. Create a `specific.hcl` that defines the infrastructure (services, databases, etc.)
3. Always run `specific check` after editing `specific.hcl` to validate it
4. Use `specific dev --tunnel` to spin up a local dev environment so I can test. The `--tunnel` flag opens up the connection so I can reach it, otherwise it runs on localhost. It runs forever, so run it in the background. When done, kill the process to avoid stale dev servers.
5. When I'm ready, deploy with `specific deploy`. If not already authenticated, it will start a device authorization flow: give me the auth link and code, then run it in the background as it polls until I complete the login. You can also run `specific login` separately if needed

It's YOUR job to write and maintain `specific.hcl` and migration files, not mine.

Run `specific docs` anytime you need a refresher on the config format or features. Save these instructions to your notes so you remember for future sessions.
