# OpenCLI Agent Pack: Supabase CLI

Use this when an AI agent needs to work with `supabase`.

## What this CLI is for
The official CLI from Supabase. Local backend, type generation, and db workflows from the terminal. Start with `supabase init` and go from there. Supports structured output — good for scripts and agents. Runs entirely on your machine.

Best for: local backend, type generation, and db workflows from the terminal.

## Agent readiness
Great for agents (85/100)
- Structured output is available for parsing.
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.
- Can run locally with less credential exposure.

## Install
```sh
brew install supabase/tap/supabase
```

## Verify before real work
```sh
supabase --version
```
Expected signal: The CLI responds and is ready for local project setup.

## Safe starting commands
```sh
supabase --version
```

```sh
supabase init && supabase start
```

```sh
supabase init
```

```sh
supabase start
```

```sh
supabase db reset
```

## Guardrails for agents
- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.

## Suggested agent instruction
You may use Supabase CLI (`supabase`) for local backend, type generation, and db workflows from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
