Most people write a ChatGPT agent prompt the same way they write a chat prompt: one sentence, a vague goal, and a hope. Then they watch the browser agent click into the wrong tab for four minutes. Agent mode is not a smarter search box. It opens pages, fills forms, compares options, and sometimes asks for your login. The prompt needs to read like a work order, not a question.
What makes an agent prompt different from a chat prompt
With ordinary ChatGPT, a loose prompt is fine. You ask for a summary, get a paragraph, and edit it. An agent prompt triggers a sequence of actions in a browser or desktop environment. One missing detail can send the whole run sideways. If you say ‘book me a table for Friday,’ the agent has to guess the city, cuisine, party size, time window, and whether a waitlist is acceptable. That is five guesses before it clicks anything.
Good ChatGPT agent prompts remove those guesses. They name the starting point, the finish line, and the boundaries. A useful test: if a freelancer could not complete the task from your prompt alone, the agent probably cannot either.
The four-part prompt that works
Most reliable agent prompts share the same skeleton. It is not fancy. It closes the gaps that cause silent failures.
- Goal: one sentence with a measurable outcome. ‘Find three lunch spots’ is weak. ‘Find three lunch spots within a 10-minute walk of 1 Market Street, open at 12:30 on Tuesday, rated 4.2 or higher, and include the reservation link for each’ is workable.
- Starting point: the exact site, page, file, or account. Tell it where to begin and whether it can open new tabs.
- Rules: budget, deadline, login limits, approval gates, and what not to touch. Be blunt. ‘Do not enter payment details’ beats ‘be careful with checkout.’
- Report format: a table with named columns, a short list, or a stop message. The agent should know what done looks like.
Put the goal first. Put hard stops in all caps if the task involves money, bookings, or personal data. Agents tend to follow the last strong instruction, so do not bury a critical rule in paragraph four.
Examples of ChatGPT agent prompts that hold up
A research prompt
Use a fixed table when you need comparison, not a pile of links.
Prompt: ‘Open the public pricing pages for Notion, Coda, and Airtable. Build a table with plan name, monthly price per user, free-tier limits, and whether SSO is included. Use only those pricing pages. If a price is hidden behind a contact-sales form, write quote required and move on. Return the table plus the URL for each source.’
That prompt works because it names the sources, limits the scope, and defines a fallback. It also tells the agent not to chase a sales form, which is a common time sink.
A scheduling prompt
‘Check my calendar for three open 30-minute slots this Thursday between 10 a.m. and 4 p.m. ET. Book the earliest slot with Dr. Patel on the clinic booking page. Do not book if the page shows a cancellation fee. Read back the appointment details before you finish.’
The narrow time window helps. So does the stop rule. If you want to know which scheduling tasks actually work, this breakdown of the ChatGPT agent for scheduling is a useful reality check.
A shopping prompt
‘Compare the top three results on the REI page for men’s trail running shoes, size 10, medium width, under $140. Exclude models rated below 4.0. Do not buy. Return a table with price, weight, and return window.’
Shopping prompts need a ceiling and a substitute rule. ‘Buy running shoes’ invites a $180 mistake in the wrong size. Agent mode can compare specs, but size charts and checkout flows still trip it up. This field guide to ChatGPT agent shopping covers the messy parts.
Business prompts need approval gates
Business workflows raise the stakes. The agent might draft a vendor email, update a CRM, or pull numbers into a slide. A prompt that says ‘update the pipeline’ hides three decisions: which records, what stage, and what counts as a valid update.
Better: ‘Open the Q3 pipeline sheet. Find deals with no activity in 21 days and a value over $10,000. Do not edit any row. Return a list grouped by owner with the last activity date. Wait for my approval before changing the stage.’ This turns the agent into an analyst first and an actor second. The same pattern shows up in the ChatGPT agent business jobs that work reliably: narrow scope, explicit checkpoints, and a human sign-off before anything irreversible.
Where agent prompts break
Most failures come from four places.
- The task has too many open decisions. ‘Plan my trip’ includes flights, hotel, budget, dates, and preferences. Split it into three prompts.
- The site fights back. Logins, CAPTCHAs, cookie banners, and date pickers break runs. Tell the agent how to handle them or tell it to stop.
- The success criteria are invisible. ‘Find a good vendor’ gives the agent no way to know when to stop. Use numbers, columns, and a maximum number of results.
- The prompt assumes memory. Agent mode may start fresh. Paste the relevant details into the prompt instead of saying ‘use the info from earlier.’
If you want to see where these runs stall in practice, this look at ChatGPT agent automation covers the common breakpoints.
A simple debugging routine
When an agent prompt fails, do not rewrite the whole thing. Add one checkpoint. Ask it to return a plan before acting: ‘First, list the steps you will take and the sites you will open. Wait for my OK.’ That line catches wrong assumptions before the agent burns ten minutes.
Next, narrow the scope by half. If it failed on a five-vendor comparison, try two vendors. If it failed booking a flight, ask it to find three options and stop. Then inspect the output format. Agents often do the work and summarize it badly. A table with fixed columns is easier to verify than a paragraph.
For high-stakes tasks, require evidence. ‘Include the URL and the exact text you relied on for each price’ forces the agent to show its work. It also makes hallucinations easier to spot. If you are comparing browser workers, the difference between ChatGPT Agent and Operator matters because their prompting styles and failure modes are not identical.
The 10-minute test before you hit run
Before launching a long task, run a tiny version. Ask the agent to open the first page and report what it sees. Then give it the next step. This feels slow, but it is faster than restarting a 20-minute run that went to the wrong city.
Check three things: the starting URL is exact, the stop condition is measurable, and the prompt says what not to do. If the task involves money, bookings, or personal data, add an approval gate. If it involves a login, decide whether the agent may use your saved session or must stop and ask.
One more habit helps: keep a prompt library. Save the versions that worked, with the date and the site. Agent behavior changes as sites update. A prompt that booked dental appointments in March may need a new note in June. Treat ChatGPT agent prompts like recipes, not spells. Adjust the ingredients when the kitchen changes.

