Inspect

Custom instructions

Custom instructions are standing preferences that apply to every session you start, in any repository. Use them for corrections you would otherwise repeat in each prompt: how you want handoffs summarized, how terse PR descriptions should be, which checks you always expect.

Saving custom instructions

Set them

  1. Open Settings → Agent.
  2. Select Custom instructions and write your instructions. The editor supports rich text, which Inspect converts to Markdown for the agent.
  3. Save. Closing with unsaved edits asks you to discard or keep editing. Clearing the text removes your instructions.

Custom instructions are personal. No one else in your organization sees them or gets them in their sessions.

How they apply

  • Inspect adds your instructions to the first prompt of every new session you start, whether from the web app, Slack, Linear, email, or the API. Sessions created with the API on your behalf use your instructions, not the API key owner's.
  • The agent is told to reread them before sending anything external: Slack and Linear messages, DMs, pull request and issue comments, and pull request titles and descriptions.
  • Changes apply to sessions started after you save. Running sessions keep the instructions they started with.

Phrase each rule so one reply shows whether it was followed, for example "End every handoff with what you validated and what is still blocked."

How they combine with other instructions

A session can carry several layers of guidance:

  • Inspect system prompt: from Inspect; applies to every session.
  • Custom agent prompt: from the agent's settings, appended to the default agent prompt or replacing it; applies to sessions running that agent.
  • Repository instructions: from AGENTS.md and related files in the repository (details); applies to that repository's checkout.
  • Custom instructions: from Settings → Agent; applies to sessions you start.
  • Memories: directives you or the agent saved; applies to sessions you start.

Custom instructions still apply when a session runs a custom agent. Repository instructions are treated as guidance subordinate to Inspect's system instructions and apply only inside their checkout.

Put conventions that belong to a codebase (build commands, architecture rules) in AGENTS.md so every teammate's sessions follow them. Put preferences that follow you across repositories in custom instructions.