In this lesson
Three ways to let AI write code. You choose one.
Every month a new tool shows up promising "build your app in minutes". They all do the same thing: read your request, write files and show the result. What changes is where this happens, how much control you have and how you pay.
- Know what Claude Code, Cursor and an app generator are
- Understand how each one charges
- Open the tool in the right folder and ask the first question
Claude Code: an agent in the terminal
Claude Code is made by Anthropic, the company behind Claude. It runs in the terminal, that text window almost nobody opens. You write the request in plain English. It reads the files in the folder, creates new files, edits them and runs commands. Before it changes anything, it asks for your approval.
I call it an agent because it acts, it doesn't just answer. Asking "create a page with the bakery's menu" makes it create the file. Got an error? You describe it, and it fixes it.
Real example
An accountant had a folder full of email templates. He opened Claude Code in it and asked: "list the templates that talk about delivery deadlines". It read everything and summarized each one. Not a single line of code was written, and the accountant was already using an agent.
Cursor: an editor with the AI by your side
Cursor is a code editor: a list of files on the left, the file in the middle and a chat with the AI on the side. You see the change in color before you accept it. For anyone who is afraid of the terminal, it usually feels friendlier. The workflow in this course works for both.
Browser-based app generators
You describe the app in a text box and the website generates it, shows it and hosts it right away. You install nothing. It is the shortest path to a prototype. The price is control: the files stay on their service, and leaving is not always simple.
| Tool | Where the files live | Best for |
|---|---|---|
| Claude Code | On your computer | A tool you want to keep |
| Cursor | On your computer | Seeing the code while you chat |
| Generator in the browser | On their service | A throwaway prototype |
How you pay
There are two ways. With a subscription, you pay a fixed amount per month, with a usage limit. With pay per use, you pay for what you consume, and big requests cost more. Check the current price on the official page. Before you start, set a monthly limit in your account and look at your usage every week.
The risks
- It changes your files. Open it only in the project folder and read every permission question.
- It makes things up with confidence. Test with made-up data.
- You can lose the thread. After twenty requests, nobody can explain the project. Ask for small things.
Careful
Whatever is in the folder can be sent to the model, on the company's servers. Keep only project files there, never customer data.
What the pros know
The AI starts every conversation from scratch: it does not remember yesterday's session. People who use Claude Code every day solve this with a file called CLAUDE.md in the project folder. It is read at the start of every session. That is where you write the fixed rules: "answer in English", "never delete files", "the site has no JavaScript". Write them once and never repeat them again. The shorter and more specific it is, the better it gets followed.
Practice · 10 min
- Install the tool from the official page and sign in with your account.
- Open it in the project folder, with
project.txtinside. - Paste the request below. If it asks to create or change anything, deny it.
project.txt, with your answer to the AI's question.Summary
- Claude Code and Cursor work on the files on your computer. Generators keep everything on their website.
- You pay by subscription or by use. Set a monthly limit.
- Open it only in the project folder and read every permission.
- The CLAUDE.md file holds the project's fixed rules.
Sources
Read on October 30, 2026.
- Anthropic. How Claude remembers your project: each session starts with a clean context window, and CLAUDE.md is loaded in every session.
Lesson quiz
Three situations to apply what you learned.
Isaque Victor free courses