Lock In Lab Intern, rank 1 of 9

JR-2choreSecond of 3 Junior Dev tickets

Write house rules the agent actually follows

Takes
25 min in 3 steps
Checked
19 Nov 2026
min

Your estimate is optional. Your review compares it with how long it took; nothing is scored.

Every session starts from zero unless you write things down. A rules file at the root of the project is read at the start of every session. Long files get skimmed by the agent the way they'd be skimmed by you, so short and checkable beats long and inspiring.

You'll need Any project with git. Claude Code reads CLAUDE.md; Codex, Cursor and others read AGENTS.md. Write one, link the other. Prices checked this month are on Tools.

List what you keep repeating

Step 1 of 3, about 5 min

Write down the three things you've had to tell the agent more than once. Typical ones: how to run the project, where things live, what never to touch.

The part of a video worth watching for this step

YouTube, Sean Kochel. Published May 2026.Checked 19 Nov 2026

Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.

Write the file

Step 2 of 3, about 10 min

Create AGENTS.md (and if you use Claude Code, a CLAUDE.md that just says @AGENTS.md, or the other way round). Example of the right size:

# Tip splitter
Run: open index.html. No build step.
Rules:
- Never add dependencies without asking.
- Money is rounded up to the cent; see SPEC.md examples.
- Before saying done: test the 3 examples in SPEC.md and say the results.

The part of a video worth watching for this step

YouTube, leerob. Published Apr 2026.Checked 19 Nov 2026

Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.

the usual mistake

Rules the agent can't check, like 'be careful'. If you can't tell whether a rule was followed, it isn't a rule. It happened to us in INC-01, "The bot that graded its own homework".

Test it in a fresh session

Step 3 of 3, about 10 min

Start a new session so nothing is left over from before. If it answers from the file, you're done. If it guesses, make the file clearer, not longer.

Paste this to your agent
Without reading any code: how do I run this project, and what must you do before saying a task is done?

The part of a video worth watching for this step

YouTube, Claude. Published Feb 2026.Checked 19 Nov 2026

Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.

Check and ship

The whole ticket
Count lines and test:
wc -l AGENTS.md

It passes when 30 or fewer lines, and the fresh-session answer matches the file.

  • A rules file of 30 lines or fewer at the root of the project.
  • Every rule can be checked: a command, a path or a yes/no fact. No 'write clean code'.
  • Tested: in a fresh session the agent answers two questions using only the file.

No server checks your work in this version: you mark it, and your review says "Checked by you". Graded checks are planned for Plus.

Next: JR-3 Read the error before you paste it

What do you see?

Pick the closest one. Each goes to what to try first and the incident it looks like.