Skip to content

Instructions for Agent Chat and Quick Chat

Instructions are rules Copilot should keep following, such as your writing style, folder conventions, preferred formats, and safety boundaries.

Agent Chat and Quick Chat both use the vault-root AGENTS.md for your custom instructions.

  • Agent Chat reads it when starting a session with opencode, Claude, or Codex.
  • Quick Chat reads the latest saved file for each request on desktop and mobile, unless you explicitly select a saved system prompt.

Agent Chat’s built-in guidance covers vault context, Obsidian links and tool routing. The selected agent decides how much searching and planning the task needs, and can report unavailable tools or access honestly.

UseBest for
Vault AGENTS.mdDefault rules for Agent Chat and Quick Chat
Project AGENTS.mdMore specific rules for one Project
SkillA reusable workflow with instructions and supporting files
Copilot commandA short saved prompt or template you want to run again
Quick Chat system promptA role, tone, or response style for a Quick Chat conversation
One-off promptA request that matters only for the current turn

Keep stable conventions in AGENTS.md. Use a Skill when an agent needs a repeatable process. Use a Copilot command for a short reusable prompt.

Vault-wide instructions live in AGENTS.md at the root of your vault. They apply to new Agent Chats with opencode, Claude, and Codex, and to Quick Chat by default.

Open Settings → Copilot → Basic → Custom instructions and edit Custom vault instructions. Copilot saves the text to the vault-root file as you type. Select Open AGENTS.md to edit the same file as a normal note.

Good instructions are short and concrete:

- Keep meeting notes under Meetings/.
- Use YYYY-MM-DD dates.
- Preserve existing frontmatter unless I ask you to change it.
- Ask before deleting a note.

Quick Chat picks up saved edits on the next request in the same conversation, including retries and edited messages. Clearing or deleting the file removes those custom instructions from subsequent requests. Copilot does not fall back to an old saved default prompt.

Start a new Agent Chat after changing AGENTS.md so the selected backend reads the latest version.

Each Project can add its own AGENTS.md inside the Project folder. Open the Project info menu and select AGENTS.md, or use Edit project → Project instructions.

A Project chat follows both files:

  1. The vault-root AGENTS.md provides general rules.
  2. The Project AGENTS.md provides more specific rules and takes precedence when the two conflict.

Use Project instructions for details that should not affect the rest of the vault, such as a client’s tone, deliverable format, source folders, or output location.

Claude Code normally reads CLAUDE.md. To keep AGENTS.md as the shared source of truth, Copilot adds this import to the related CLAUDE.md:

@AGENTS.md

If CLAUDE.md already contains Claude-specific instructions, Copilot preserves them and adds the import. You do not need to copy shared rules into both files.

Use Custom vault instructions for your default instructions. No separate prompt file or selection is needed.

If you already use saved Quick Chat system prompts, you can still select one for a conversation. These are Markdown files under:

<Copilot folder>/system-prompts/

Create a .md file in that folder. The filename becomes the prompt name, and the file body contains the instructions. Copilot refreshes the prompt list when you create, edit, rename, or delete a file.

In Quick Chat, open Chat Settings and choose a System Prompt. Select Default (AGENTS.md) to return to the vault instructions.

An explicitly selected system prompt replaces the vault instructions for that Quick Chat session. It does not change AGENTS.md or Agent Chat.

Start with the AGENTS.md examples, then keep only rules that reflect how you actually work. Long procedures are easier to maintain as Skills.