By the end of this lesson you will have a short rules file the AI reads in every chat, and a personal library of prompts that worked.
You need: a coding agent and any project folder (the Daily Routine app is perfect) · Time: 6 minutes
Remember lesson 1: every new chat starts with an empty desk. The AI has forgotten that you are a beginner, that you want simple words, and that it must never touch your saved data.
A rules file fixes this. It is a plain text file in your project folder that the agent reads automatically at the start of every chat.
- AGENTS.md is an open standard read by many tools, including Codex, Cursor, OpenCode, Gemini CLI and GitHub Copilot.
- CLAUDE.md is Claude Code's own rules file.
You write your rules once, in
AGENTS.md, and every tool can use them.Why?Without a rules file you repeat the same instructions in every prompt, and the day you forget, the AI forgets too.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- What goes in, and what stays out
- Create it with your agent
- Using Claude Code too? Add one line
- The "twice" rule: when to add a rule
- Start your prompt library
- Recap