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›Claude Code Fundamentals
Created by potrace 1.16, written by Peter Selinger 2001-2019
L3Lesson 3Free Created by potrace 1.16, written by Peter Selinger 2001-2019

Run a first safe session

Brief, inspect, change, prove

You ask Claude Code to fix one broken toggle. Halfway through, the fix also quietly touches your sign-in code. A safe session is the difference between a small fix and a scary surprise.

20 min · You'll run Claude Code without letting scope drift

You'll write a short brief that makes Claude Code look before it leaps, stay inside a boundary, and stop before it wanders into risky code.

0ACTS
  1. Watch the exampleWatchSee it done first
  2. Created by potrace 1.16, written by Peter Selinger 2001-2019 Try it yourselfTry itFill in one blank
  3. Created by potrace 1.16, written by Peter Selinger 2001-2019 Do it on your ownSoloSolo, then check

Before you start

Complete Pick the right surface first.

Remember from Know when to use Claude Code?

Two lessons back, a good Claude Code task started with three things. Without scrolling, what were they?

Show one good answer

Target, boundary, and proof. What to change, what to leave alone, and how you will check it. This whole safe-session brief is just those three written out in order.

The idea

A safe Claude Code session has four moves. Brief, inspect, change, prove.

A repo task starts with arrows pointing straight to edits before inspection.
A repo task starts with arrows pointing straight to edits before inspection.
Session LoopFollow the four moves in order. Brief the task, inspect the files, make the change, then prove it works.
  1. 1
    BriefName the task, the source of truth, the boundary, and the proof.
  2. 2
    InspectClaude reads the current files first, before it edits anything.
  3. 3
    ChangeMake one small change you can actually review.
  4. 4
    ProveRun the test, build, or page check that shows it worked.

Session loop: the brief names the task, the source of truth, the boundary, and the proof. The inspect step makes Claude Code read the current files before it edits, so the session starts from fact instead of a guess.

Claude Code has a built-in plan mode for exactly this. Press Shift+Tab to cycle into plan mode, and Claude reads your files and proposes a plan first, before it changes anything. Here is what that looks like on the settings-toggle task below:

claude

Claude Code v0.0.0

Sonnet (200K context) · Claude Pro

~/project

plan mode, read-only·effort: high
›Fix the broken settings toggle.
Read SettingsToggle.tsx and its test. Found it: onChange never calls setState. Plan: (1) fix the handler, (2) run the component's test, (3) show you it passing. Won't touch sign-in or account files. Approve, or refine?
Claude Code reads the files and proposes a plan first. Nothing changes until you approve.

You read the plan, then approve it or ask for changes. Only after you approve does Claude Code start editing.

Tip: ask it what it can do. New session, not sure what is possible? Just ask, in plain words: "what can you help me with here?" You do not need the right vocabulary first. Asking is the on-ramp, not a sign you are behind.

The change step should stay small enough to review. If Claude finds a bigger problem, it should report that and stop before widening scope.

The proof step is where you accept or reject the work. The strongest proof is one Claude Code can run and show you itself, like a passing test, not just your own eyeballing (its own lesson later; for now, just notice the difference). A useful session ends with changed files, commands run, and any proof the task called for.

For risky work, ask Claude Code to work in a separate, throwaway workspace first, so your main project stays untouched. It calls this a worktree, a separate copy on its own branch. You never set one up by hand, you ask Claude Code for it.

Worked example. A settings toggle is broken and you ask Claude Code to fix it. It reads the toggle component and its test (a small automatic check that the code still works), makes one change, then runs that test and shows you it passing. It stops if the fix starts to touch sign-in or account data, outside the brief.

If that test comes back red, that is not a crisis, it is the safety net doing its job. Read what it says, fix that one thing, run it again.

It is also normal to throw a session away and start over. Many practitioners restart a good share of their sessions, and that is routine, not proof you did something wrong.

This pattern matters even for tiny tasks, because it turns Claude Code from an editor that does whatever it wants into a controlled worker you can check.

1

Watch

You type this

Fix the broken settings toggle. Read the toggle component and its test first, change only what the fix needs, run that one test, and stop if the fix starts to touch sign-in or account data.

Claude does this

It first reads the toggle component and its test, then makes one change, then runs that one test and shows you it passing. It stops if the fix starts to touch sign-in or account data, because those were outside the brief.

Why this works

  • Read the toggle component and its test first

    inspecting first makes it start from fact instead of a guess.

  • change only what the fix needs

    a small change stays small enough to review.

  • stop if the fix touches sign-in or account data

    a stop rule keeps a small fix from quietly becoming a risky one.

2

Your turn

The stop rule

Now a different task. Update the wording on the checkout button. Inspect the button and its test first, change only that text, and .

This task sits next to payment, not sign-in. What danger should make Claude Code pause and check with you here?

Show one good answer

stop and tell me if the change starts to touch payment, pricing, or order data.

3

On your own

Pick one small real task. Write a five-line brief for Claude Code: the task, what to inspect first, what not to touch, the proof to run, and a stop rule if the scope grows.

  • I told it to inspect before editing
  • I named what not to touch
  • I named the proof and a stop rule

Write your own

Loading your workbook…

When this breaks

  • Breaks when inspection is skipped, because the agent can edit from stale assumptions.
  • Breaks when the proof is weaker than the risk, because a dangerous change can look complete.

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

✓

You can start with a short repo brief

  • ✓You can require inspection before editing
  • ✓You can isolate risky work in a branch or worktree
  • ✓You can keep the change reviewable

Try it from memory

Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading just feels like it does.

Without scrolling up, name the four moves of a safe first session in your own words. Then say which one you are most likely to skip when you are in a hurry.

Tap to see one good answer

The four moves are brief, inspect, change, prove. Most people skip inspect. They let the agent start editing before it has read the current files, which is exactly when stale guesses sneak in. Naming the move you would skip is how you catch yourself doing it next time.

Key takeaways

A safe first session is brief, inspect, change, prove. Anything bigger needs a new decision before it continues.

  1. 1Inspection prevents stale or guessed edits.
  2. 2Small changes are easier to review and reject.
  3. 3Stop rules protect nearby systems like auth, billing, data, and publishing.
  4. 4Proof must match the task risk.

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

  • Claude Code best practices
  • Claude Code common workflows

Was this helpful?

Up nextbecause you can run one safe session by briefing Claude well. Next, the safety net for when a session goes sideways anyway, so a wrong turn never feels like a crisis.Undo without panic→

Related lessons

Write a task brief Codex can finishMove context without driftWhat Claude Code actually is: one tool, several surfaces
← Back to Claude Code Fundamentals