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

# playground example-prompt add

> Add an example prompt to the playground

Adds an example prompt to the Alpic playground for an environment. A maximum of 5 example prompts can be added per environment.

## Usage

```bash theme={null}
alpic playground example-prompt add
```

Prompts for a title and prompt text interactively.

## Extended Usage

**Add an example prompt non-interactively:**

```bash theme={null}
alpic playground example-prompt add --title "Hello" --prompt "Say hello to the user"
```

**Add a prompt to a specific environment:**

```bash theme={null}
alpic playground example-prompt add --environment-id <environmentId> --title "Hello" --prompt "Say hello to the user"
```

## Options

| Flag | Description |
| - | - |
| `--environment-id` | The ID of the environment (optional — read from local config if omitted) |
| `--title` | The example prompt title (max 100 characters) |
| `--prompt` | The example prompt text (max 500 characters) |
| `--non-interactive` | Disable interactive prompts. Requires `--title` and `--prompt`. |

> [!NOTE]
>
> Each environment supports a maximum of 5 example prompts.

> [!TIP]
>
> When running from a directory linked to an Alpic project, `--environment-id` is optional — the CLI reads it from the
> local `.alpic` config file.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.