AGENTS.md, skills and memory

Where your agent's knowledge lives, and why Bumper Lanes keeps it in files instead of the agent's memory.

Your agent gets better at your project over time — but only if what it learns is written down somewhere it will find it again. There are three places that knowledge can live.

In short

AGENTS.md is the rulebook your agent reads at the start of every session; skills are step-by-step playbooks it opens only when a task needs them. Both are files in your project — saved, reviewable in a pull request, undoable, and used by any agent you open it with — while an agent's memory is hidden, can't be reviewed, and doesn't travel with your project.

The three places

What it is When the agent uses it Good for
AGENTS.md One file of rules for your project Every session, from the start Rules that apply to everything: "explain in plain English", "never commit keys"
Skills (.agents/skills/) One folder per job, with step-by-step instructions Only when a task matches the skill's description Procedures you repeat: "add a table", "ship it", "write the weekly newsletter"
Memory Notes some AI products keep about you, outside your project Sometimes — it's up to the product Personal preferences. Not for how your project works

Why files beat memory

  • You can see and change them. A skill or a rule is a file — you can read it, edit it, and ask "why does it do that?"
  • They're reviewed. Changes arrive as a pull request, so you approve what your agent learns.
  • They're saved and undoable. Like the rest of your project, every version is kept.
  • They work with any agent. Open your project in Claude Code or Codex and both use the same AGENTS.md and skills. Memory stays behind in one product.
  • They work for anyone. A teammate (or future you) gets the same agent behaviour.

Why, not just what: DECISIONS.md

CHANGELOG.md is a diary of what changed. DECISIONS.md records why: each significant choice (a tool, how your data is organised, a privacy choice, a rule you chose to skip), the other options and the trade-offs. Your agent adds entries as decisions are made. Ask it "why did we…?" and it answers from there — a good habit after each week of building.

Turning lessons into files

  • At the end of a session, ask your agent to capture-learning: it looks at what took several tries and proposes a rule for AGENTS.md or a change to a skill — as a pull request.
  • When you keep asking for the same kind of job, ask your agent for a new-skill.