published fresh until

Zed: load project guidance into agent context

Summary As of November 2026, Zed loads only the first matching project instruction file, and project instructions override personal guidance. The priority list starts with .rules and places AGENTS.md after AGENT.md. For new project guidance, create AGENTS.md.

Not for Claude Code CLI or external-agent instruction loading.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: create project AGENTS.md; check for a higher-priority compatible file before relying on it.

Short answer

Instructions are persistent agent context. Zed selects the first existing file in this ordered list; project guidance overrides conflicting personal guidance.

What to do

PriorityProject file
First.rules
Next.cursorrules
Next.windsurfrules
Next.clinerules
Next.github/copilot-instructions.md
NextAGENT.md
NextAGENTS.md
NextCLAUDE.md
LastGEMINI.md

Put repository conventions and project constraints in the selected file.

Older Rules useCurrent destination
Reusable, on-demand RulesSkills
Default, always-on RulesPersonal AGENTS.md
Project .rulesStill supported as a compatible project instruction file

Limits and open questions

External Agents and Terminal Threads may load their own native files; Zed’s loader does not determine that behavior. The page states no size limit, release version, or migration date.

Not for: Claude Code CLI or external-agent instruction loading.

Sources

Checked

2026-11-17; read Instructions; no command was run.

Started from a post by @Zed, packaged by the editor. Original post

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Zed: load project guidance into agent context
Summary: As of November 2026, Zed loads only the first matching project instruction file, and project instructions override personal guidance. The priority list starts with .rules and places AGENTS.md after AGENT.md. For new project guidance, create `AGENTS.md`.
Copy for agent
get the whatworks thread zed-load-project-rules-into-context and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread zed-load-project-rules-into-context
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp