Skip to main content

Toolkit

Capability 01 · reviewed 2026-08-01

On this page3 sections

Project Instructions

Project instructions give an durable context about how a repository works: architecture, commands, constraints, and the evidence required before work is considered complete. The filenames differ, but the capability is now common across Claude Code, OpenAI Codex, and GitHub Copilot.

The mechanism is advisory context. An instruction file can improve decisions; it cannot prove that a rule was followed. Put non-negotiable controls in executable policy, permissions, tests, or release gates.

The Portable Model

Separate the instruction system into three layers:

  1. Organization or user baseline — durable preferences and policies that apply across repositories.
  2. Repository contract — architecture, toolchain, commands, and completion criteria for the whole project.
  3. Scoped guidance — rules that apply only to a subtree, language, or file pattern.

Prefer the product's native filename, but keep the information architecture portable. A team supporting multiple agents can generate vendor entrypoints from one reviewed source or keep one canonical file and small product-specific adapters.

Where the Products Diverge

  • Claude Code centers CLAUDE.md, scoped rules, and auto memory.
  • Codex centers hierarchical AGENTS.md files.
  • Copilot supports several instruction formats, and the exact formats consumed vary across CLI, IDE, code review, and cloud-agent surfaces.

That surface variance is the reason this guide treats “Copilot support” as an incomplete statement unless the surface is named.

Decision Rule

Put stable facts every contributor needs in repository instructions. Put task-specific procedures in skills. Put deterministic checks in hooks or CI. Put accumulated, revisable context in memory. If violating a rule would create security, compliance, or release risk, instructions are the wrong enforcement layer.

The deeper lenses retain concrete Claude Code implementation examples. Use them as one product realization of this capability, not as a universal file-format specification.

Documented coverage · 2026-08-01

Project Instructions by product

These classifications are documentation findings, not empirical runtime tests. Surface names are explicit because product-family claims are too coarse.

Claude Code

Anthropic

NativeCLI · IDE

CLAUDE.md and scoped rules provide first-party persistent instructions. They guide model behavior; they are not an enforcement boundary.

Basis: documentedSources: 2

UnknownCloud

The reviewed project-instruction source does not define a complete cloud-surface loading contract.

Basis: documentedSources: 2, 1

OpenAI Codex

OpenAI

NativeCLI · IDE · Cloud

AGENTS.md is the documented repository instruction contract, with hierarchical scope for more specific directories.

Basis: documentedSources: 3

UnknownWeb

The reviewed AGENTS.md source does not establish one general web-surface loading contract outside the named Codex clients and cloud workflows.

Basis: documentedSources: 3

GitHub Copilot

GitHub

NativeCLI · IDE · Cloud

Copilot supports repository-wide, path-specific, and agent instruction files; exact file support varies by product surface.

Basis: documentedSources: 4, 5

PartialWeb

GitHub documents instruction support on selected web experiences, but supported file types and behavior vary by feature.

Basis: documentedSources: 5

Source register

Project Instructions sources

Primary vendor documentation reviewed on the date shown. Links may change after publication.

  1. Claude Code overview (opens in a new tab)

    Anthropic · official docs · accessed 2026-08-01

  2. How Claude remembers your project (opens in a new tab)

    Anthropic · official docs · accessed 2026-08-01

  3. Custom instructions with AGENTS.md (opens in a new tab)

    OpenAI · official docs · accessed 2026-08-01

  4. Custom instructions support for GitHub Copilot (opens in a new tab)

    GitHub · official docs · accessed 2026-08-01

Comparative implementation depth

Four implementation lenses