Get your API key

Lesson 6 of 6

Your rules file and prompt library

AGENTS.md / CLAUDE.md so the AI remembers your rules, plus a library of prompts that worked.

6 min Log in to open
One step at a time, like flipping pages.

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

  1. 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:

  1. What goes in, and what stays out
  2. Create it with your agent
  3. Using Claude Code too? Add one line
  4. The "twice" rule: when to add a rule
  5. Start your prompt library
  6. Recap