How to Work With an AI Coding Agent in a Codebase Too Big to Explain
Repo maps, layered CLAUDE.md and AGENTS.md files, scoped file sets and handover notes that keep a coding agent oriented in a large repo and across sessions.
Contents
What is the short answer?
Why do coding agents get worse on large existing repos?
What actually belongs in CLAUDE.md or AGENTS.md?
How do you give the agent an architecture map it reads first?
How do you scope a task to an explicit file set?
How do you carry context across separate sessions?
Why is restarting the conversation a technique, not a failure?
Frequently asked questions
Learn to drive an agent through a real codebase
buildAcademy teaches the repo setup, scoping and handover habits that keep AI coding agents useful past the first hundred files, the same workflow we run in every buildDay session.
See buildAcademyRelated Guides
Context Windows and Token Limits: Why a Bigger Window Does Not Fix It
A 1M-token window does not fix context problems. What the research says about context rot, what it costs, and the techniques that actually work.
Multi-Agent Orchestration: What Works and What Just Multiplies Your Problems
Anthropic measured a 90.2% gain from multi-agent research. Stanford measured coding success halving with two agents. Both are right, and here is why.
How to Run Multiple AI Coding Agents in Parallel Without Git Chaos
Claude Code's --worktree flag, tmux panes, and five overnight guardrails that stop parallel agents overwriting each other's work while you sleep.