Skip to main content
Adds an example prompt to the Alpic playground for an environment. A maximum of 3 example prompts can be added per environment.

Usage

alpic playground example-prompt add
Prompts for a title and prompt text interactively.

Extended Usage

Add an example prompt non-interactively:
alpic playground example-prompt add --title "Hello" --prompt "Say hello to the user"
Add a prompt to a specific environment:
alpic playground example-prompt add --environment-id <environmentId> --title "Hello" --prompt "Say hello to the user"

Options

FlagDescription
--environment-idThe ID of the environment (optional — read from local config if omitted)
--titleThe example prompt title (max 100 characters)
--promptThe example prompt text (max 500 characters)
--non-interactiveDisable interactive prompts. Requires --title and --prompt.
Each environment supports a maximum of 3 example prompts.
When running from a directory linked to an Alpic project, --environment-id is optional — the CLI reads it from the local .alpic config file.