Chapter C52 · Interactive Course

Which instruction file does what?

READMEs, agent guidance, scope, saved notes and what enforces nothing.

Start chapter in web app

Core Learning Concept

Sort workspace configuration files by purpose, discovery rules, and authority. Distinguish project introductions, active agent guidance, saved historical notes, and access boundaries using the host's clearly documented discovery order and precedence rules.

What You’ll Learn in This Chapter

  1. README.md introduces a project

    Activity 1 of 8 · 4 min

    Identify human-oriented project information.

    A README commonly introduces a project, its setup, and how to work with it. Humans and agents may both read it. Its existence does not guarantee automatic loading or special instruction priority. Use it for orientation, then identify any additional guidance and configuration the current host actually recognizes.

    Start activity →

  2. AGENTS.md gives project guidance

    Activity 2 of 8 · 4 min

    Explain a convention for instructions to compatible agents.

    AGENTS.md is a convention some coding-agent hosts use for project guidance. It can describe commands, architecture, and local constraints. Discovery, scope, and precedence depend on the host. Write specific, current instructions and verify that the relevant file is loaded for the workspace being used.

    Start activity →

  3. CLAUDE.md is a product convention

    Activity 3 of 8 · 4 min

    Recognize Claude Code guidance separately from generic Markdown.

    CLAUDE.md is a project-guidance convention associated with Claude Code. Other hosts may use different names and discovery rules. Similar Markdown syntax does not make those conventions interchangeable. When sharing guidance across products, verify supported imports or references and maintain consistency rather than assuming a filename works everywhere.

    Start activity →

  4. Scope determines where guidance applies

    Activity 4 of 8 · 4 min

    Resolve a supplied root-versus-folder instruction chain.

    Scope determines which files or tasks a guidance rule applies to. A repository-wide instruction may coexist with a more specific directory instruction. Hosts differ in how they discover and combine them. Follow the documented order for the current product and inspect the actual applicable files when behavior is surprising.

    Start activity →

  5. Memory notes can become stale

    Activity 5 of 8 · 5 min

    Separate a saved observation from current evidence.

    A memory note records information for possible reuse, often from earlier work. It may become outdated as code, services, or decisions change. Treat it as a lead to relevant evidence rather than automatic proof of current state. Verify drift-prone facts before acting and update notes only through the permitted process.

    Start activity →

  6. Persona files shape behavior cues

    Activity 6 of 8 · 4 min

    Explain SOUL.md-like conventions without personifying software.

    A persona or behavior file supplies cues such as tone and working preferences if the host loads it. It can influence responses without changing model parameters. Its presence on disk does not prove it is used, and its tone does not establish human experience or awareness inside the system.

    Start activity →

  7. Instructions are not access enforcement

    Activity 7 of 8 · 4 min

    Separate written rules from operating permissions.

    Instructions describe how an agent should behave; access controls constrain what operations are permitted. Both are useful and serve different purposes. A sentence saying “do not edit outside this folder” is not equivalent to an enforced filesystem boundary. Inspect the actual configuration when the distinction matters.

    Start activity →

  8. Sort the workspace notes

    Activity 8 of 8 · 5 min

    Place an overview, agent convention, skill entrypoint, saved fact and access setting into their roles, and explain which host consumes each.

    Start activity →