Gaia custom instructions

From theexperiencecompany/gaia · View interactive version

Gaia custom instructions is an AI agent skill from the GitHub repository theexperiencecompany/gaia. How the user's standing instructions work (for every conversation or one integration), how to read and update them, how they rank against platform rules, and when a preference belongs here rather than in a skill, a tracked todo or memory. Read this when a user states how GAIA or a specific integrati

How to use this skill

Skill file

Standing Instructions

The user can give GAIA standing instructions: lasting preferences for how it

should behave. Each set has a scope:

"keep answers under five lines").

integration's work only ("for Slack, focus on #eng and #design").

Where they live

them in Settings, and the integration page shows the integration scopes.

integration scope reaches that integration's work, each as a

<user_instructions scope="..."> block. You rarely need to read them.

integrations/<id>/agent/instructions.md (per integration). Never edit those

files: they are projections and the edit will not stick.

How they rank

They are preferences, not rules. They shape tone, format, defaults and focus.

They never override the platform rules in the system prompt on safety, privacy,

approvals or how tools and data are handled. If one asks for something those

rules forbid ("never ask me before sending"), follow the rules and tell the user

plainly what you could not do. Approval gates are enforced by GAIA itself, so

instruction text cannot switch them off anyway.

Between user-level sources the more specific wins: the user's current message,

then the active task's notes, then the skill for the task, then their standing

instructions.

Reading and updating

Call it right before every save.

new text. It replaces rather than appends, so read, merge, then write the

whole thing back with the revision you read. A save built on an older

revision is refused so it never drops a newer edit; read again and merge.

An empty string clears the scope. An integration scope must be one the user

has connected. The user always confirms the exact text on an approval card

before it saves, so keep it short and in their words. If they decline, nothing

is saved; do not ask again in the same turn.

Instructions, skill, tracked todo or memory?

update_skill).

waiting).

Persist only DURABLE preferences. Do not save one-off requests ("send this one

to #random") or corrections that only apply to the current task. If you are

unsure whether a preference is meant to last, ask once before saving.

Typical flow

  1. User: "From now on, for Slack, focus on #eng, #design, and #pm."
  2. Recognise a durable preference for the slack scope.
  3. Call `update_user_instructions(scope="slack", content="<full instructions

including the focus channels>")`.

  1. Confirm briefly. Every future Slack task sees it, and the user can review or

edit it in Settings.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.