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
L2Lesson 2Free

Write a task brief Codex can finish

Scope, files, proof, and stop rule

After this, you'll be able to give Codex a coding task with scope, file boundaries, proof commands, and a clear stop rule.

Before you start

Complete Choose the right Codex surface first.

The idea

Codex does better work when the brief defines the finish line. A vague request like "fix the dashboard" forces Codex to infer scope, risk, and proof. A useful brief tells it what to change, what to leave alone, what to run, and where to stop.

A task brief asks Codex to fix everything while file boundary and proof are missing.
A task brief asks Codex to fix everything while file boundary and proof are missing.
Brief ShapeMove through Write a task brief Codex can finish, check proof, then fix only the weak part.
yesnorun it again
StartBegin with the real task
Write a task brief Codex canAfter this, you'll be able to give Codex a coding task with scope, file boundaries,
1Proof visible?The rewritten brief names one outcome
Ready to useRewrite one rough coding request into a Codex brief with scope, boundary, proof, and
Fix the weak partBreaks when Codex chooses the wrong owner file because the brief never named the

Here is the before and after: before, Codex is guessing from a loose request. After, you can give Codex a coding task with scope, file boundaries, proof commands, and a clear stop rule.

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 (9 min)

Watch out for

  • Giving Codex a business goal with no code boundary.
  • Leaving proof as 'make sure it works.' That is not a command or observation.
  • Forgetting to name areas that are out of scope.
  • Asking for refactors in the same task as a behavior fix.

Paste this into Claude

Rewrite this rough request into a Codex task brief:

Rough request: [paste your vague coding ask]
Known files or route: [paste any known path, or write unknown]
Do not touch: [paths, APIs, auth, secrets, data, or none]
Proof I can run: [test, build, page, screenshot, or unknown]
Stop if: [condition that should trigger a question]

Return:
1. A one-paragraph Codex brief.
2. A file boundary.
3. A proof list.
4. One stop rule.

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

Brief: Fix the profile save button so changed display names persist after refresh. Start in src/app/profile and src/lib/profile. Do not touch billing, auth middleware, or database schema. Run npm test -- profile, npm run build, and manually check /profile. Stop if the fix requires a schema change or new environment variable.

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

  • The rewritten brief names one outcome
  • The boundary includes files, folders, routes, or unknowns to inspect first
  • The proof list contains at least one concrete check
  • The stop rule prevents risky guessing

When this breaks

  • Breaks when Codex chooses the wrong owner file because the brief never named the route or module.
  • Breaks when the proof step is missing because review becomes a vibes check instead of evidence.

AI can help with this

Use Codex to help you you can give Codex a coding task with scope, file boundaries, proof commands, and a clear stop rule. Start with the exercise prompt and your real input. Ask for one draft, then check it against this proof: The rewritten brief names one outcome. Accept only the version you can verify yourself.

The brief narrows to goal, files, constraints, proof command, and stop rule.

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

✓

You can name a finish line

  • ✓You can bound the files or discovery area
  • ✓You can name proof commands or page checks
  • ✓You can decide when Codex should pause

Key takeaways

A Codex brief is a contract. It tells Codex where to work, how to prove it, and when to stop.

  1. 1Scope names the outcome.
  2. 2Bounds protect unrelated code.
  3. 3Proof turns review into evidence.
  4. 4A stop rule prevents risky invention.

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

  • Codex app features

Was this helpful?

Up nextOpen the right repo before you ask→

Related lessons

Plan Before You CodeDefine the Blast Radius
← Back to Codex Fundamentals