AI coding tools
Cursor
Edit code and ask questions in the same window. In Cursor, you can point to a file or a few lines and see the edits the AI suggests.
Say you want to change the headline on your homepage. Open the folder containing your website in Cursor and search for the words you see on the page. Now you can see the headline in its file, along with the code that controls how it looks.
Select that section and ask Cursor to keep the headline on two lines on a phone. Look through the proposed edits, open the page at a narrow width, and decide which changes to keep. Working beside the code makes it easier to connect an edit with its effect.
- When to use it
- If you want to see your files as you go, or you’ve used VS Code. It also runs on Linux.
- When to skip it
- If a code editor shows more than you want at once. The Claude and ChatGPT desktop apps give you a simpler chat window.
- What it costs
- Free plan with limited agent requests. Plus, at $8 a month, adds more, using Grok models only. Claude, GPT and Gemini models need Premium at $30 a month plus credit. Limits reset weekly.
How to use Cursor
Work with Cursor one small change at a time. Give it a short AGENTS.md, choose what it may do without asking, plan each change, then review and keep or undo it.
You’ll need
- Cursor set up on your computer. If it isn’t yet, follow Set up Cursor on the Set up your AI tool page.
- A folder for your product, like the my-first-build folder you made in Set up Cursor.
- Cursor account.
Your part
- Choose what Cursor may do without asking you.
- Read each plan before you approve it.
- Review every change it made, and try it in the browser.
Copy the prompt for these steps
I’m following “How to use Cursor” on BuildLadder. What the guide says I’ll end up with: Cursor knows how you like to work. Each change starts as a plan you approved, and you’ve reviewed every line it changed. This comes from https://buildladder.com/tools/cursor#working-with-an-ai-agent. If you can open web pages, read https://buildladder.com/tools/cursor.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address. How to work with me: - Go through the steps below in order, one at a time. - Do what you can yourself in this folder: write code, run commands, check settings. If a service has an official command-line tool, like the Vercel CLI, you can offer to use it. Ask me before you install anything, sign in to anything or spend money. - When a step needs me, like making an account or clicking in a dashboard, tell me exactly what to do in small steps. Then wait until I say it’s done. - The actions, checks and fixes in each step were written for me, the reader. Where one says “your AI tool”, that means you, and “Say:” means something I would say to you. - Never ask me to paste passwords or secret keys into this chat. I type those into the service’s own settings. - After each step, tell me how to check it worked. Once Git is set up, save a version each time a step works. Then ask if I’m ready for the next one. - Use plain words. I may never have coded before. ## Step 1 of 6: Open your product in Cursor This step is mine to do. Walk me through it, one action at a time: - Open Cursor and sign in. - Open your product’s folder when Cursor asks you to pick one. - Press Cmd+I on a Mac, or Ctrl+I on Windows, to open the Agent panel. That’s where you chat. It worked when: Your product’s files show on one side, and the Agent panel is open on the other. Before we move on, check with me: - Is the folder shown your product’s folder, not another one? If something goes wrong: - Cursor opened a different folder. Open your product’s folder again, the way Set up Cursor on the Set up your AI tool page shows. ## Step 2 of 6: Write a short AGENTS.md Read the files in this folder, and PLAN.md if it’s here. Then draft a short AGENTS.md file for future chats. Only include what you couldn’t work out by reading the code: - the command that starts the product, and the one that checks it - that I’m new to this, so explain things in plain words - that you ask me before you install anything, delete anything, or change files outside this folder Keep it short, in plain words. Show me the draft and wait for my yes before you save it. It worked when: Your folder has an AGENTS.md file that you can read in under a minute. Before we move on, check with me: - Do you agree with every line? - Does it leave out things that are already obvious from your files? If something goes wrong: - The draft is long. Say: “Cut anything you could find by reading the code. Keep only what you’d otherwise have to ask me.” ## Step 3 of 6: Choose what it may do without asking This step is mine to do. Walk me through it, one action at a time: - Open Cursor’s settings, then go to Agents, then Approvals & Execution. - Check Run Mode. Auto-review runs safe commands in a sandbox when it can, and checks the rest first. - Choose Allowlist if you’d rather it only ran commands on a list you approve, and asked about the rest. - Leave Run Everything off. It runs every step with no sandbox and no checks. It worked when: Run Mode shows Auto-review or Allowlist. Before we move on, check with me: - Can you say in one sentence what Cursor may do without asking you? If something goes wrong: - You can’t find Approvals & Execution. Update Cursor, then look again. Settings move between versions, so search the settings for “Run Mode”. ## Step 4 of 6: Plan before it builds This step is mine to do. Walk me through it, one action at a time: - Click in the chat box and press Shift+Tab until it shows Plan. You can also choose Plan in the mode picker. - Describe the result you want, like “Add a contact form to the home page.” Say what done looks like. - Read the plan. If a step is wrong or missing, say what to change. You can also edit the plan yourself. - Click Save to workspace if you want to keep the plan in your product’s folder. - When the plan looks right, use the action beside the plan that starts building it. It worked when: You approved a short plan you understand before any file changed. Before we move on, check with me: - Does the plan only touch what you asked for? - Can you say each step in your own words? If something goes wrong: - The plan is much bigger than you expected. Say: “Make the smallest version first. We’ll add the rest later.” ## Step 5 of 6: Review what it changed This step is mine to do. Walk me through it, one action at a time: - Watch the diff view while it works. - When it finishes, read each changed file. - Click Review, then Find Issues, for a second look. If those controls are missing, ask Cursor in the chat to review its changes. - Open your product in the browser and try the change, the way a visitor would. It worked when: You’ve seen every changed line, and the change works when you try it. Before we move on, check with me: - Does every changed file have to do with what you asked for? If something goes wrong: - It changed files you didn’t ask about. Say: “Why did you change this file? Undo anything I didn’t ask for.” ## Step 6 of 6: Stop or undo a change This step is mine to do. Walk me through it, one action at a time: - To stop it mid-task, click Stop, or press Cmd+Shift+Backspace on a Mac. - To undo a change, find the message you sent before the change went wrong. Click Restore Checkpoint on that message. - Check your files. Restoring changes your files only. The chat messages stay. - For anything bigger, go back to the last version you saved with Git. Checkpoints live on your computer, apart from Git. It worked when: Your files are back the way they were before the change. Before we move on, check with me: - Does your product work in the browser the way it did before? If something goes wrong: - You don’t see Restore Checkpoint. Hover over the message and click the + button that appears. Or go back to the last version you saved with Git.
The steps
- Steps marked AI tool are done by your AI tool when you paste the prompt. The rest are yours.
- Save a version after every step that works.
- If a screen looks different from a step, ask your AI tool where the setting moved.
- Never paste a password or secret key into the chat.
Set up for your product
Open your product in Cursor
Cursor shows your product’s files on the left and its chat on the side. Open the folder that holds your product.
- Open Cursor and sign in.
- Open your product’s folder when Cursor asks you to pick one.
- Press Cmd+I on a Mac, or Ctrl+I on Windows, to open the Agent panel. That’s where you chat.
It worked when: Your product’s files show on one side, and the Agent panel is open on the other.
Check this step
- Is the folder shown your product’s folder, not another one?
Cursor opened a different folder.
Open your product’s folder again, the way Set up Cursor on the Set up your AI tool page shows.
Write a short AGENTS.md
AGENTS.md is a note in your folder that Cursor reads as its instructions. Keep it short. For a rule about one part of your product only, type /create-rule in the Agent panel instead.
It worked when: Your folder has an AGENTS.md file that you can read in under a minute.
Check this step
- Do you agree with every line?
- Does it leave out things that are already obvious from your files?
The draft is long.
Say: “Cut anything you could find by reading the code. Keep only what you’d otherwise have to ask me.”
Choose what it may do without asking
Cursor’s Run Mode decides which commands Cursor runs without asking you. The default, Auto-review, is the one Cursor suggests for most people.
- Open Cursor’s settings, then go to Agents, then Approvals & Execution.
- Check Run Mode. Auto-review runs safe commands in a sandbox when it can, and checks the rest first.
- Choose Allowlist if you’d rather it only ran commands on a list you approve, and asked about the rest.
- Leave Run Everything off. It runs every step with no sandbox and no checks.
It worked when: Run Mode shows Auto-review or Allowlist.
Check this step
- Can you say in one sentence what Cursor may do without asking you?
You can’t find Approvals & Execution.
Update Cursor, then look again. Settings move between versions, so search the settings for “Run Mode”.
A change you planned and checked
Plan before it builds
In Plan Mode, Cursor writes a detailed plan before any code changes. You fix the plan in words, which is much faster than fixing code.
- Click in the chat box and press Shift+Tab until it shows Plan. You can also choose Plan in the mode picker.
- Describe the result you want, like “Add a contact form to the home page.” Say what done looks like.
- Read the plan. If a step is wrong or missing, say what to change. You can also edit the plan yourself.
- Click Save to workspace if you want to keep the plan in your product’s folder.
- When the plan looks right, use the action beside the plan that starts building it.
It worked when: You approved a short plan you understand before any file changed.
Check this step
- Does the plan only touch what you asked for?
- Can you say each step in your own words?
The plan is much bigger than you expected.
Say: “Make the smallest version first. We’ll add the rest later.”
Review what it changed
“Done” means Cursor thinks it’s done. Look at each changed line, ask for a second look, then try the change yourself.
- Watch the diff view while it works.
- When it finishes, read each changed file.
- Click Review, then Find Issues, for a second look. If those controls are missing, ask Cursor in the chat to review its changes.
- Open your product in the browser and try the change, the way a visitor would.
It worked when: You’ve seen every changed line, and the change works when you try it.
Check this step
- Does every changed file have to do with what you asked for?
It changed files you didn’t ask about.
Say: “Why did you change this file? Undo anything I didn’t ask for.”
Stop or undo a change
If Cursor heads the wrong way, stop it early. If a change is wrong, restore a checkpoint. Cursor saves one before big changes.
- To stop it mid-task, click Stop, or press Cmd+Shift+Backspace on a Mac.
- To undo a change, find the message you sent before the change went wrong. Click Restore Checkpoint on that message.
- Check your files. Restoring changes your files only. The chat messages stay.
- For anything bigger, go back to the last version you saved with Git. Checkpoints live on your computer, apart from Git.
It worked when: Your files are back the way they were before the change.
Check this step
- Does your product work in the browser the way it did before?
You don’t see Restore Checkpoint.
Hover over the message and click the + button that appears. Or go back to the last version you saved with Git.
Stuck? Try these, in order
- Stop asking it to “fix it”. Say exactly what’s wrong.
Paste this into the same chat. It asks your AI tool to find the problem with you.
Troubleshooting promptI’m following “Cursor” on BuildLadder and something isn’t working. This comes from https://buildladder.com/tools/cursor. If you can open web pages, read https://buildladder.com/tools/cursor.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address. Ask me which step I’m on, what I tried and what happened, one question at a time. Look at the files in this folder if you can. Then explain the problem in plain words and suggest the smallest fix. Don’t change anything that already works.
- Check the service isn’t down.
If you use one of these, open its status page before changing any code: Supabase, Vercel, Netlify, Cloudflare, Stripe, Clerk, Firebase, Resend, GitHub, Expo, Claude, OpenAI.
- Go back to your last saved version.Troubleshooting prompt
Take my product back to the last saved version that worked. First show me which version that is and what will change. Don’t delete anything else.
- Make the change smaller.Troubleshooting prompt
Let’s make a smaller change. Undo what you just tried. Then do only the first part of it, and tell me how to check that part works before we go on.
- Ask a person.
Copy this, fill in each line, and post it in a community like r/vibecoding. Take out any keys or passwords first.
Problem reportWhat I'm building: (one sentence) What I asked my AI tool to do: (the last request) What I expected: (what should happen) What happened instead: (what you see) The exact error, if any: (copy it here) What I've tried: (each attempt, in order) My tools: (AI tool, website or app, hosting)
Look things up
Questions people ask
- Should I let my AI tool run commands and install things?
- When should I start a new chat with my AI tool?
- What do I do, and what does my AI tool do?
- My AI tool says it’s done. How do I check it worked?
- My AI tool broke something. How do I get back to a working version?
- All answers
Words used on this page
- Folder
- A folder is a container on your computer that holds files and other folders. A product's code lives in one main folder, with everything for your site or app inside it.
- Code editor
- A code editor is an app for opening and changing the files in your product's folder. Visual Studio Code and Cursor are popular ones, and many editors now include an AI tool.
- Instructions file
- An instructions file is a note in your product’s folder that your AI tool reads when a chat starts. Claude Code reads CLAUDE.md, and Codex and Cursor read AGENTS.md.
- File
- A file is one saved piece of work on your computer, like a photo or a page of code. Its name usually ends with a short tag that shows its type, such as .html or .jpg.
- Permission mode
- A permission mode decides what your AI tool may do without asking you first, like editing files or running commands. A careful mode asks before almost everything.
- Sandbox
- A sandbox is a fenced-off space where your AI tool runs commands. Inside it, a command can’t reach files outside your product’s folder or the internet unless you allow it. Payment services use the word for their test mode.
- Prompt injection
- Prompt injection is when a file, web page or message your AI tool reads holds hidden instructions, hoping it will follow them instead of you.
- Plan mode
- Plan mode is a setting where your AI tool reads your files and writes a plan, but changes nothing. It starts building only after you approve the plan.
- Diff
- A diff shows exactly what changed in a file. Lines that were added are usually green, and lines that were removed are usually red.
- Checkpoint
- A checkpoint is a copy of your files saved by your AI tool while it works. Restoring it undoes recent edits, but it does not replace Git.
- Git
- Git is a free tool on your computer that keeps a history of your product's files. It lets you save versions, compare them, and go back if something breaks.
Official pages
- Review and test changes
- Look up Cursor’s keyboard shortcuts
- Download Cursor
- Compare Cursor plans
- See which AI models each plan can use
- Use Cursor from a terminal
- Connect MCP servers to Cursor
- Plan with Cursor’s Plan Mode
- Cursor
What’s new
- 6 Nov 2026: You can now talk to Cursor out loud. Source
- 5 Nov 2026: Cursor can now build an app and put it online for you. Source
Updated · Cursor