CLAUDE.md, .cursorrules, AGENTS.md — How to Give Context to AI Coding Agents
The complete guide to Claude Code CLAUDE.md, Cursor .cursorrules, and the universal AGENTS.md standard. All the ways to give your AI agent project context.

CLAUDE.md, .cursorrules, AGENTS.md — How to Give Context to AI Coding Agents
Are you repeating yourself every session? "Use TypeScript", "This is App Router", "Always run tests" — there's a file for that. A markdown file in your project root that your AI reads automatically, every time.
This post covers everything: Claude Code's CLAUDE.md, Cursor's .cursorrules, and the 2026 universal standard AGENTS.md — all the ways to give your AI coding agent project context.
Why You Need Rules Files
AI coding tools are smart, but they don't know your project.
Related Posts

Build Your Own autoresearch — Applying Autonomous Experimentation to Any Domain
Apply the autoresearch pattern to text classification, image classification, and RAG pipelines. Includes a universal experiment runner and program.md template.

Running autoresearch Hands-On — Overnight Experiments on a Single GPU
From environment setup to agent execution and overnight results analysis. Tuning guide for smaller GPUs and practical tips.

Inside Karpathy's autoresearch — Building an AI Research Lab in 630 Lines
A code-level deep dive into Karpathy's autoresearch. Dissecting train.py, BPE tokenizer, MuonAdamW optimizer, and the agent protocol design.