Knaph

Instruction file

A text file of notes about a project - like Claude Code's CLAUDE.md or the open AGENTS.md - that an agent's program reads at the start of every session and puts into the context, so the agent is told the commands, conventions and don'ts afresh each time.

Depth 1 · Foundation

You can say how an instruction file reaches the model, what belongs in one and what doesn't, and why every line has a cost.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1
  2. 2

    Deeper

    You can build it: read the project's AGENTS.md (or CLAUDE.md) once at the start of a session and put it into the system prompt after the agent's own instructions, and explain why reading it once keeps the prompt cached and the session's rules steady.

    Master depth 1 first

Your path here

What's still between you and Instruction file, depth 1, in the order you can learn it.

  1. 1Language modelDepth 1 · Foundation · Language Models
  2. 2TokenDepth 1 · Foundation · Language Models
  3. 3CountingDepth 1 · Foundation · Number Systems
  4. 4Comparing numbersDepth 1 · Foundation · Number Systems
  5. 5ProbabilityDepth 1 · Foundation · Probability
  6. 6Flat shapesDepth 1 · Foundation · Geometry
  7. 7Equal partsDepth 1 · Foundation · Fractions
  8. 8LengthDepth 1 · Foundation · Measurement
  9. 9LengthDepth 2 · Deeper · Measurement
  10. 10Equal partsDepth 2 · Deeper · Fractions
  11. 11FractionsDepth 1 · Foundation · Fractions
  12. 12ProbabilityDepth 2 · Deeper · Probability
  13. 13ProbabilityDepth 3 · Connected · Probability
  14. 14ProbabilityDepth 4 · Deeper still · Probability
  15. 15ProbabilityDepth 5 · Deeper still · Probability
  16. 16Next-token predictionDepth 1 · Foundation · Language Models
  17. 17Stateless modelDepth 1 · Foundation · Language Models
  18. 18Context windowDepth 1 · Foundation · Language Models
  19. 19System promptDepth 1 · Foundation · Language Models
  20. 20AI agentDepth 1 · Foundation · AI Agents
  21. 21Tool useDepth 1 · Foundation · AI Agents
  22. 22Agent loopDepth 1 · Foundation · AI Agents
  23. 23Agent harnessDepth 1 · Foundation · AI Agents
  24. 24Instruction fileDepth 1 · Foundation · AI Agents

Where it fits