Start small
A coding-agent setup should start lean and grow only when something fails. This guide is that starting point. Each step is small, and each links to the wiki pages that explain why. Nothing here asks you to copy anyone’s dotfiles: the How I Work pages show one owner’s setup as an example, not a template. The rule behind every step: add a piece of setup in response to a failure you have seen, not one you expect. Setup you add up front is context the agent reads on every turn, and most of it never earns its place (context engineering).1. Know what you are configuring
A coding agent is a model, a loop and a set of tools. The harness is everything around the model: instructions, tools, permissions, checks. You will mostly be tuning the harness. Read: minimal coding agent, agent harness, AI coding agents.2. Write one short context file
OneAGENTS.md (or CLAUDE.md) at the repo root. Put in only what the agent cannot work out from
the code: how to build and test, conventions that are not obvious, and the project’s vocabulary.
Keep it short; long context files make agents worse, not better. Treat it as a map, not a manual.
Read: agent context instructions,
AGENTS.md format, domain glossary.