Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
When and how to start a fresh session
card 6 of 6
Clear often, carry little
builds on: Why long sessions degrade, Cost and usage limits, Project instruction files: purpose and contents
Start a fresh session for a new task, or when the current one is polluted, stuck, nearly full or getting expensive. Carry over a short, checked handoff note for the task. Put rules that should outlast it in the instruction file.
Terms on this card
- session
- One continuous conversation with the agent. Everything said and done in it stays in its context until you clear it or start a new one.
- instruction file
- A project file such as CLAUDE.md or AGENTS.md that the agent reads automatically at the start of every session.
- handoff note
- A short summary of the goal, what's done, what failed and why, and the next step. You paste it into a fresh session.
Lesson goal: Decide when to clear or restart: a new task, a polluted or stuck conversation, nearly full context, or rising cost. Carry over what matters in a short handoff note or the instruction file instead of the whole history. ·
the whole lesson