Skip to content
Agentic Levels

Everything starts here.

GuestLocal progress only
PreferencesSign in
01Start with one taskBest first move for beginners.02Check your LevelMeasure where you are.03Score an AI resultFind the habit to practice first.04Return to Your WorkScores, links, and checkpoints.
Start here

Begin

HomeThe main entry point.New to AIStart with one useful task.
Know where you are

Measure

Check your LevelUse this after you have tried AI.Fluency ScoreScore an AI result you can review.
Build the habit

Learn

LevelsLessonsTracks
Find the reference

Library

PromptsReferenceResourcesCompare Tools
Turn it into work

Apply

Your Next MoveChoose what AI should change next.Tool SetupGet the tools ready.
Come back later

Return

Your WorkScores, links, and checkpoints.My PathContinue from your level.Updates
Site

Site

PricingAboutFAQ & FeedbackPreferences

© 2026 Fuentes Studio

Privacy·Terms
yourCouncil
Ready to help
✦

What do you want to understand?

Ask anything about what you're learning.

Tracks›Codex Fundamentals
L7Lesson 4Free

Set a goal Codex can finish

Persistent objective, measurable proof, stop rule

After this, you'll be able to use Goal mode for long-running Codex work without letting the task drift.

Before you start

Complete Split work with subagents first.

The idea

Goal mode gives Codex a durable objective and a definition of done. The goal text acts as both the starting prompt and the completion criteria, so Codex can keep checking whether it has finished.

A long Codex goal keeps running without a measurable finish line.
A long Codex goal keeps running without a measurable finish line.
Goal LoopMove through Set a goal Codex can finish, check proof, then fix only the weak part.
yesnorun it again
StartBegin with the real task
Set a goal Codex can finishAfter this, you'll be able to use Goal mode for long-running Codex work without
1Proof visible?The goal text includes outcome and proof
Ready to useWrite one /goal command with outcome, proof, checkpoints, and stop rule
Fix the weak partBreaks when the goal lacks completion criteria because Codex keeps making changes

Here is the before and after: before, Codex is guessing from a loose request. After, you can use Goal mode for long-running Codex work without letting the task drift.

Now try it use the exercise prompt on one real repo task. Keep the output small enough to check before you accept the change.

You are ready when the Codex action, boundary, and proof all match the task.

Try it (12 min)

Watch out for

  • Using Goal mode for a small task that one normal prompt can finish.
  • Writing a goal with no measurable proof.
  • Telling Codex to keep improving without a stop rule.
  • Letting a goal continue after the task needs product or policy judgment.

Paste this into Claude

Turn this long Codex task into a goal:

Task: [describe the work]
Target outcome: [what should be true when done]
Proof commands or checks: [tests, build, screenshot, eval, route check]
Stop if: [approval, design decision, policy, data, schema, unknown]
Checkpoint cadence: [after each module, after each failing test, every 30 minutes, etc.]

Return:
1. The exact /goal text.
2. The checkpoints Codex should report.
3. The proof required before completion.
4. The stop rule.

Created by potrace 1.16, written by Peter Selinger 2001-2019 What a good response looks like

/goal Implement PLAN.md for the profile save fix. Keep edits limited to src/app/profile, src/lib/profile, and related tests. After each edit, run npm test -- profile. Finish only when npm test -- profile and npm run build pass. Stop if the fix requires a schema change, auth middleware change, or new secret.

Created by potrace 1.16, written by Peter Selinger 2001-2019 What good looks like

  • The goal text includes outcome and proof
  • The stop rule names when Codex should pause
  • Checkpoints produce status, not vague reassurance
  • The goal does not hide decisions that need a human

When this breaks

  • Breaks when the goal lacks completion criteria because Codex keeps making changes after the useful work is done.
  • Breaks when stop conditions are missing and Codex crosses into schema, billing, auth, or design decisions without approval.

AI can help with this

Use Codex to help you you can use Goal mode for long-running Codex work without letting the task drift. Start with the exercise prompt and your real input. Ask for one draft, then check it against this proof: The goal text includes outcome and proof. Accept only the version you can verify yourself.

The goal states objective, required proof, budget, blockers, and complete condition.

Created by potrace 1.16, written by Peter Selinger 2001-2019 You can now

✓

You can choose when Goal mode is appropriate

  • ✓You can write measurable completion criteria
  • ✓You can define checkpoint reports
  • ✓You can pause work at human-decision boundaries

Key takeaways

Goal mode works when the goal contains the finish line. Give Codex outcome, proof, checkpoints, and a stop rule.

  1. 1Use /goal for long-running work with a durable objective.
  2. 2Use /plan first when the goal needs shaping.
  3. 3Goal text doubles as completion criteria.
  4. 4Pause or edit the goal when the work changes.

Created by potrace 1.16, written by Peter Selinger 2001-2019 Go deeper

  • Codex Goal mode
  • Codex app commands
  • Follow a goal

Was this helpful?

Up nextHand off between local, IDE, and cloud→

Related lessons

Write a task brief Codex can finishRun the proof loopClose the self-improvement loop
← Back to Codex Fundamentals