Interactive reference

AI Context Files Cheatsheet

The files that tell AI coding tools how to behave on your project. What each one does, when it loads, and what belongs in it.

CLAUDE.md AGENTS.md MEMORY.md CONTEXT.md SKILL.md

Keep these files short. Every line should answer one question: would removing this make an AI assistant more likely to make a mistake?

The five files

Click a card to see where that file fits in the stack.

Pick a file.

The details will appear here.

Session flow

Context files matter because load order changes authority and relevance.

  1. Session opens. Tool-specific instructions such as CLAUDE.md or system rules load first.
  2. Project-wide conventions from AGENTS.md explain the stack, commands, and rules every coding agent should follow.
  3. Persistent memory, when configured, carries forward previous decisions and resolved debates.
  4. Current-session context explains the active branch, known issues, and today's goal.
  5. Task-specific skills load only when the task matches their description.

What goes where

Most confusion comes from putting temporary notes into permanent files.

Project law

Use AGENTS.md for durable rules

Commands, folder conventions, test expectations, style rules, and non-negotiables that every coding assistant should know.

Tool behavior

Use CLAUDE.md for Claude-specific preferences

Response style, Claude-specific workflow expectations, or tool behavior that should not necessarily apply to every assistant.

History

Use memory for decisions

Architecture choices, completed migrations, and lessons that should carry across sessions without repeating old debates.

Today

Use context for active work

Current branch, blockers, broken local services, and notes that should be replaced or refreshed as the work changes.

Specialist workflow

Use skills for repeatable task playbooks

Migration steps, review checklists, accessibility audits, or deployment workflows that should load only when the task calls for them.