Thuta Learning
IntermediateAIbeginner

Write a Clear Goal

Relax. We'll talk through this in plain words — no textbook voice.

What you'll walk away with

  • Understand how to write a clear goal without the intimidation
  • Get hands-on and try it yourself
  • Learn to sidestep permission issues, leaked secrets, and guesswork, no sweat

A good Agent doesn't start with flowery words. It nails down, up front, how it'll know it's done and what it must not do.

Let's think about it this way for a moment

When a goal is as broad as "help out," the Agent starts filling in the blanks with guesses. Sometimes those guesses are impressive. But they can also end up doing exactly what you didn't want. A clear goal spells out who the user is, what the input is, what shape the output takes, what it must not do, and what counts as success. This is a lot like a vibe coding spec. The difference is that an Agent re-reads this text itself, over and over, inside its loop.

Let's connect this to everyday life

Bad — "Build an Agent that helps students." Good — "A high schooler asks a question. Input is a paragraph of lesson notes. Output is 3 easy-to-understand points. No web searches. No deleting files. Show the 3 points, then stop." Save this text as your system instruction. Even if you don't want to rewrite it in every prompt, make sure it's visible in your very first version.

Let's try it out together

markdown
Goal: Extract 3 study tasks for today
User: Myanmar high-school student
Input: notes.txt
Output: numbered list, 3 items, Burmese
Do not: search the web, delete files, invent tasks
Done when: exactly 3 items are shown and each comes from the file
You should see
You'll be able to write a short, checkable goal statement for an Agent.

5-minute try-it

Write a goal card for your Agent. It must include these 5 lines: User, Input, Output, Do not, Done when.

A quick word of caution

Never write "do whatever's needed" into a goal. That opens a door with no permission check on it.

Easy traps

  • Using vague instructions like "help out well"
  • The Agent keeps going indefinitely because there's no "done when"

Now try it yourself

Write a goal card for your Agent. It must include these 5 lines: User, Input, Output, Do not, Done when.

You'll know it worked when: You'll be able to write a short, checkable goal statement for an Agent.

Write a Clear Goal | Thuta Learning