L Loach Docs
Ctrl K

Custom instructions

Custom instructions are the system prompt Loach attaches to your messages. You can write them at three scopes and the narrower scope always wins, so you can set defaults once and tighten them where it matters.

Where to set them

Precedence

Custom instructions cascade from broadest to narrowest:

global → per-Space → per-chat

The narrower scope always wins. A per-chat instruction overrides the Space it belongs to, and a Space’s instructions override the global ones — so you can set sensible defaults once at the global level, then tighten them for individual Spaces or chats as needed.

Template variables

Any prompt authored by you — global instructions, Space instructions, Snippet bodies, per-chat system prompts — can use these placeholders. They are substituted at send time.

See also Temporal awareness, which automatically prepends a short date/time preamble when your prompt does not already use the {{CURRENT_*}} placeholders.

Examples