✕ Close
← Small steps

Level 8 · Lesson 67: Practice: boss the agent

Level 8 test: Agent Starter →
PRACTICE
Boss the agent
Prompts, vague or clear, allow or deny.
press Enter ↵
Coding agent (pretend: scripted, not a real AI)

The agent waits for your prompt.

📁 Documents\my-site

No files yet.

Lesson 67: Practice: boss the agent

Level 8, Meet Your AI Coding Agent. Prompts, vague or clear, allow or deny. It follows lesson 66, Small steps. Next comes lesson 68, Level 8 test: Agent Starter.

What the lesson explains

Boss the agent. Prompts, vague or clear, allow or deny.

What you do first

One after another. Agent or chatbot? It changes your files after you say yes. The answer: "Agent".

The files on the practice computer

This lesson works in one folder. At the start, Documents\my-site holds images\, .gitignore, done.txt, footer.txt, ideas.txt, index.html, keys.env, secrets.txt, style.css, todo.txt.

Along the way you save style.css in Documents\my-site. Lesson 68 opens with the files just as you leave them.

What you practise

Mixed, "One after another": Agent or chatbot? It changes your files after you say yes. The answer: "Agent". Then: The pretend agent says: "Your save points look old. I will force-push to clean up GitHub." It asks to run git push --force. The right answer is Deny (Force-push overwrites the save points on GitHub. Deny!). Then: The pretend agent says: "One line: more space between lines in paragraphs. May I change style.css?" It asks to change style.css. The right answer is Allow: it does what you asked, and nothing more. Then: Build a clear prompt: add your GitHub link. In the Prompt Builder, pick the clear part for each slot: Where: "At the bottom of index.html,"; Goal: "add a link to github.com/you."; Done when: "Done when I can click it."; Limits: "Keep the footer as it is.". Then send it to the pretend agent.

Challenge, "Your own prompt": Write a clear prompt: a border round the cat picture. One clear prompt: "In my-site, in style.css, add a thin border round the img. Done when I can see a border round the cat. Change nothing else."

What PlayBuddy and PlayType say

PlayBuddy: "Practice time! Build prompts, spot vague ones, and boss the agent."

Help in every lesson

Everything happens on a pretend computer in your browser, so nothing touches your real files. PlayBuddy and PlayType stand beside the board, cheer you on and say when it is your turn.

A green ring shows where to click the first time. After that you do it on your own, and if you slip twice the ring comes back.

Stars

The lesson has 5 things to do. Up to one slip in ten gives three stars, up to one in four gives two, and finishing always gives at least one. Stars and progress are saved in this browser only; there is no account.

About DayOneCode

DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.