Custom Prompts
Named custom prompt templates defined in the main configuration file live in a top-level prompts: section — the profile-folder form (where each prompt lives in its own file or file group) with full details and more examples is on the Custom Prompts pages.
prompts:Define named custom parametrized prompt templates (auto-loaded when Enkaidu starts).<prompt_name>:description:A description of the promptarguments:(optional) A named map of arguments, each<arg_name>:having adescription:for the argumenttemplate:A string template based on the Liquid templating language as implemented by theliquid.crCrystal shard. Arguments are available with thearg.prefix; profile variables with thevar.prefix; and system properties via thesys.prefix
prompts:
define:
description: Define a word or phrase
arguments:
word:
description: |
What do you want to define?
template: |
Define the meaning of "{{ word }}".
If there are multiple definitions,
present them as a list.When you invoke this example prompt at the prompt input as /prompt use define, Enkaidu will prompt you to enter the word or phrase.