PLGrid PLGrid Documentation

How to use the Prompt Library

Prompt Library

The Prompt Library allows you to create, save, and reuse ready-made prompt templates for AI. Instead of typing the same command from scratch every time, you can save it once - and then run it with a single click or command.

Opening the Prompt Library

To open the Prompt Library, click the Prompts icon on the left sidebar.

prompty_gui.pl

After clicking, a side panel will open with the Prompts section:

prompty_sidebar.pl

Panel elements:

  1. Filter prompts - button allowing you to filter prompts
  2. Auto-send Prompts - automatic sending toggle (more in the Using a prompt section)
  3. + Create prompt - button to create a new prompt
  4. Prompt list - your saved prompts will appear here (empty for now)

Creating a prompt

In the side panel, click + Create prompt. The prompt creation form will open:

propty_edit_gui.pl

Form elements:

  1. Prompt name (required) - the name of the prompt, e.g. "Translate"
  2. Text (required) - the content of the command sent to the AI. Here you can use variables in double curly braces {{variable_name}}
  3. Description (optional) - a short description making it easier to find the prompt in the list (max. 120 characters)
  4. Command (optional) - a slash command for quick invocation from the chat, e.g. translate (max. 56 characters). If you don't provide a command, the prompt name will be used
  5. Category - category organizing the prompt
  6. Special variables - dropdown with available special variables
  7. Create prompt - button saving the prompt

Categories

After clicking the Category button, a list of available categories will appear:

categories.pl

Available categories are: Ideas, Travel, Learning, Writing, Shopping, Code, Miscellaneous, Role-playing, and Finance. Choose the one that best fits the purpose of your prompt.

Example of a filled form

Below is an example of a completely filled "Translate" prompt with three variables:

filled_prompt.pl

Notice the highlighted Variables section under the Text field - the application automatically detected the three variables used in the content (target_language, style, text_to_translate) and displays them as tags. You don't need to define them separately - just type {{name}} in the prompt content.

After filling out the form, click Create prompt.

View after creation

After saving the prompt, you will see its preview in read mode:

view_ready_prompt.pl

View elements:

  1. Filtering - search field and category filter icon for quickly finding prompts
  2. Prompt on the list - the prompt appeared on the left side
  3. Deletion - the red trash button allows you to delete the prompt

Variables (placeholders)

Variables allow you to create flexible templates with fields to fill in. Each time you use the prompt, a form will appear where you fill in the missing data.

Variables are written in double curly braces: {{variable_name}}.

Example:

Translate the following text into {{target_language}}.
Give the statement a {{style}} style.

Text:
{{text_to_translate}}

Special variables

By clicking the Special variables button in the form, you can insert automatically filled variables:

special_vars.pl

Dropdown list of Special variables

Variable Value
2026-07-31 (Friday) Today's date and day of the week
2026-07-31 12:02:15 +02:00 (Friday) Local date and time
{{utc_iso_datetime}} Date and time in UTC ISO format
Adam Mytnik Your account name

These variables do not need to be filled in manually - they will be substituted automatically each time the prompt is used.

You can create variables with a predefined list of options to choose from, instead of a text field. The syntax is:

{{variable_name:option1|option2|option3}}

For example, {{tone:formal|casual|technical}} will display a dropdown list with three options to choose from.

Commands (slash commands)

If you assigned a command during prompt creation (e.g., translate), you can invoke it directly from the chat window:

  1. Type / in the message field.
  2. A list of available commands will appear with a hint of the prompt's name and description.
  3. Select the command.

command_invoke.pl Message field with the '/' character typed and the list of commands expanded (2). On the side panel - the Translate prompt (1)

The prompt can also be invoked by clicking it directly in the list in the side panel.

Using a saved prompt

After invoking the prompt (with the / command or by clicking in the side panel), if the prompt contains variables, a form to fill out will appear:

prompt_usage.pl

At the top of the window, there is a preview of the prompt content with the highlighted variables. Fill in all fields and click the green Send button:

filled_prompt_usage.pl

After clicking Send, the prompt with the substituted values will be sent to the AI as a message (or pasted into the message window - depending on the automatic prompt sending setting):

sent_prompt_usage.pl

Automatically sending prompts

The automatic prompt sending toggle (visible in the side panel) controls whether the prompt is sent automatically after clicking (or after filling in the variables). When it is off, the prompt content goes to the message field, where you can still modify it before sending.

Filtering and searching

When the list of prompts grows, you can quickly find them in two ways.

Search by name - type a fragment of the name into the "Filter prompts by name" field at the top of the panel and confirm the text. The list will be filtered on the fly.

Filter by category - click the filter icon (funnel) next to the search field. A list of categories will appear:

categories_filter.pl

Prompt management

Editing

To edit an existing prompt, hover over it with your mouse, then expand the menu and click the pencil icon. An editing form will open, where you can change any field - name, content, variables, command, or category. After making changes, save the prompt.

Deleting

To delete a prompt, click the trash icon in the prompt edit menu and confirm the deletion.

Good practices

  1. Naming - give prompts clear, descriptive names. Instead of "Prompt 1", use e.g. "Translate text preserving style".
  2. Variables - name variables so that it is obvious what to type. {{target_language}} is better than {{x}}.
  3. Commands - create short, easy-to-remember commands: /translate, /review, /summarize.
  4. Categories - assign categories from the start. With dozens of prompts, browsing the full list becomes cumbersome.
  5. Prompt content - write precise instructions. The more accurate the prompt, the better the results. You can specify the response format, tone, length, or language in the content.
  6. Description - add descriptions to prompts. They appear in slash command hints and in the prompt list, facilitating quick identification.

Last update: July 31, 2026