~ $ cd code/corner-shop
corner-shop $ cat TODO.md
- [x] launch the shop
- [ ] find out why people leave the checkout
- [ ] add analytics (before launch)
corner-shop $ claude
✻ Claude Code~/code/corner-shop
> Set up Sequential in this app. Read https://www.usesequential.com/docs/agent-trial.md, create a trial for maya@cornershop.example, install the SDK for this app's platform, check that events arrive (ask me to open the app if you cannot), propose questions that fit this app, and tell me to open the claim email.
●Fetch(https://www.usesequential.com/docs/agent-trial.md)
⎿The steps. No account is needed to start.
●Read(package.json)
⎿vite · a website, so the platform is "web"
●Bash(curl -X POST https://api.usesequential.com/api/agent/provision -d '{"owner_email":"maya@cornershop.example","platform":"web","project_name":"corner-shop"}')
⎿201 Created
ingest_key sq_sequential_••••••••
install.snippet 11 lines
mcp.token •••••••• for this project, for 3 days
claim_url good for 72 hours
limits 100 sessions · localhost only
●You have a Sequential project. I filled in no form and made no password. Sequential sent an email to maya@cornershop.example. Leave it for now.
●Update(index.html)
⎿+ <!-- Sequential · analytics and session replay -->
+ <script>(function(w){if(w.sequential)return; … })(window);</script>
+ <script async src="https://cdn.usesequential.com/sdk/sequential/v1/sequential.js"
+ data-key="sq_sequential_••••••••"
+ data-api="https://api.usesequential.com"></script>
●Write(.env.local)
⎿SEQUENTIAL_MCP_TOKEN=••••••••
.env.local is in .gitignore
●Sequential is in your app: 1 file, 11 lines. Nothing else changed.
●Bash(npm run dev)
⎿Local: http://localhost:5173/
●Bash(open http://localhost:5173)
⎿opened in your browser
●I opened your shop in your own browser. Sequential turns bots away, and I am one, so I borrowed yours. Sorry about the new tab.
●Bash(curl -s https://api.usesequential.com/mcp -d '{"method":"tools/call","params":{"name":"get_overview"}}' …)
⎿1 session · 1 page · from localhost
●There it is. Sequential is receiving.
●One more thing while I am here. Sequential judges each session with 12 built-in questions, for example "Form left unfinished". I read your code, so I can propose a question for this shop.
●Bash(curl -s https://api.usesequential.com/mcp -d '{"method":"tools/call","params":{"name":"get_rubric"}}' …)
⎿12 questions
●Read(src/checkout/address.js)
⎿the shop rejects an address outside its delivery area
●Bash(curl -s https://api.usesequential.com/mcp -d '{"method":"tools/call","params":{"name":"propose_rubric"}}' …)
⎿Stored as a proposal · 13 questions (was 12)
Nothing changes until a person applies it.
●I proposed one question.
Address rejected
Did the shop reject a shipping address the person typed?
It waits for you. Nothing changes until you apply it.
●Now the two things I cannot do, and you would not want me to. The project must belong to you, and the question needs your yes. Open the email from Sequential and follow its link. Then open the Questions page and press Apply.
your turn · in your inbox
✉ Sequential · A Sequential project was set up for this address
you open the link and make your account
you press "Claim the project"
✓ corner-shop is yours
your turn · in Sequential
Questions · a new proposal · 4 min ago
you read it, you press Apply
✓ 13 questions
> done
●Good. The limits are gone. Deploy as usual, and Sequential records your real visitors and judges new sessions.
●Voilà. Everything is set up.
Your agent
made your project
put Sequential in your app
checked that events arrive
proposed a question for your shop
You
pasted one prompt
claimed the project
pressed Apply
●P.S. TODO.md, line 3: "add analytics (before launch)". May I?
> go on
●Update(TODO.md)
⎿- [x] add analytics (before launch)
●Line 2 is next: "find out why people leave the checkout". Sequential watches the checkout now. Ask me in a few days.