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

# bt prompts

> List, view, and delete Braintrust prompts from the CLI.

`bt prompts` manages prompts in the active Braintrust project.

## Subcommands

| Subcommand                 | Description                                                     |
| -------------------------- | --------------------------------------------------------------- |
| `bt prompts`               | List prompts in the active project                              |
| `bt prompts list`          | List prompts in the active project                              |
| `bt prompts view [slug]`   | View a prompt. Omit the slug to choose a prompt interactively   |
| `bt prompts delete [slug]` | Delete a prompt. Omit the slug to choose a prompt interactively |

## Examples

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
bt prompts list
bt prompts view my-prompt
bt prompts delete my-prompt
```

## Command-specific flags

| Command             | Flag                  | Description                                                           |
| ------------------- | --------------------- | --------------------------------------------------------------------- |
| `bt prompts view`   | `--slug`, `-s <SLUG>` | Prompt slug (alternative to the positional argument)                  |
| `bt prompts view`   | `--web`               | Open the prompt in your browser instead of showing it in the terminal |
| `bt prompts delete` | `--slug`, `-s <SLUG>` | Prompt slug (alternative to the positional argument)                  |
| `bt prompts delete` | `--force`, `-f`       | Skip the confirmation prompt. Requires a prompt slug                  |

`bt prompts` accepts shared [global flags](/docs/reference/cli/overview#global-flags), including `--org`, `--project`, and `--profile`. Use `--json` with `bt prompts`, `bt prompts list`, or `bt prompts view` for machine-readable output. Use `--verbose` with `bt prompts view` to include the prompt's options.
