Skip to content
Back to the public prompt library
Start Here — Build Safely With AIStart Here — Build Safely With AI11 min lesson

Your First Agent Session

How to run your first Claude Code or AI-agent build session without letting it spiral into a mystery code dump.

AI-toolsbeginnersagent-workflowhands-on
Copy-ready prompt
"I am on my first real AI-agent coding session.
Project: [describe project]
Current goal: [describe one small feature]
Tooling available: [Claude Code / Cursor / Codex / editor agent / terminal agent / browser preview / database / deployment]
Model available: [current model if known]

Before changing code:
1. explain the safest approach in plain English
2. list the files you expect to change
3. tell me if this request is still too big
4. define the exact stopping point for this session
5. tell me whether this needs a goal, deeper planning, a stronger model, a loop, MCP, a subagent, or browser control -- and justify any yes

Then implement only that one small feature.

Afterward:
6. tell me exactly what changed
7. tell me how to test it in under two minutes
8. run only the agreed verification
9. tell me what you deliberately did not touch
10. stop so I can review before the next step

Do not add auth, deployment, payments, or unrelated cleanup."

Prompt FAQ

Questions to answer before you paste it

When should I use the Your First Agent Session prompt?

How to run your first Claude Code or AI-agent build session without letting it spiral into a mystery code dump. Use it when you need a safer starting point than a blank prompt and you want the agent to stay inside explicit constraints.

Should I paste this prompt exactly as written?

No. Treat it as a safe starter. Replace the task, files, constraints, and verification details with your actual context before you run it.

What should I do after the agent answers?

Read the diff, run the checks, and stop after one reviewable step. If you need deeper context, open the lesson that explains the reasoning behind the prompt.

Related prompts worth copying next

Start Here — Build Safely With AI

Choose a Tiny First Win

How to pick a first project that teaches the workflow without dragging you into complex product and engineering problems.

Open prompt page
Start Here — Build Safely With AI

Don't Lose Your Work — Folders, Git, and Checkpoints

The minimum safe setup for total beginners: a real project folder, a Git repo, a remote backup, and repeatable checkpoints.

Open prompt page
Start Here — Build Safely With AI

What You're Actually Doing When You Build With AI Agents

A plain-English explanation of the job: modern AI agents can plan, edit, run tools, and loop, but you still choose scope, inspect output, and own the result.

Open prompt page