How to run AI prompts on a website export in Claude Code, Cursor, Gemini and ChatGPT
Unzip your WebExport download, open that folder in an AI coding tool, paste the prompt and approve its plan before it edits anything. Claude Code, Gemini CLI and OpenAI Codex CLI run in a terminal inside the folder. ChatGPT in the browser cannot open a folder, so upload files or use Codex CLI.
Last reviewed
Key facts
- Claude Code starts with the claude command inside your project folder, and CLAUDE.md holds persistent instructions as context.
- Gemini CLI starts with the gemini command in a folder and reads GEMINI.md as a context file.
- ChatGPT file uploads list many document types, and the help article does not list ZIP among them.
- AGENTS.md is an open format for guiding coding agents, and agents.md lists Cursor, Codex CLI and Gemini CLI among the tools that read it.
How each assistant reaches your files
All four can follow the WebExport prompts, because each prompt says what to read, what to keep and when to stop for your approval. What differs is how the assistant sees the folder, so choose the route that gives it the files without copy and paste.
| Assistant | How it sees your export | Start it | Where instructions live |
|---|---|---|---|
| Claude Code | Runs in the terminal, IDE or desktop app and reads your codebase | cd your-project, then claude | CLAUDE.md, which Claude treats as context. It can read AGENTS.md when no CLAUDE.md exists |
| Cursor | An editor with Agent mode and Plan mode | Open the folder in Cursor | Rules, and AGENTS.md is on the agents.md compatibility list |
| Gemini CLI | Runs in a terminal folder | npm install -g @google/gemini-cli, then gemini | GEMINI.md, or AGENTS.md through .gemini/settings.json |
| OpenAI Codex CLI | Runs locally on your computer | npm install -g @openai/codex, then codex | AGENTS.md is on the agents.md compatibility list |
| ChatGPT in the browser | Only the files you upload | Attach files in a chat | The chat itself |
Steps that work in any of them
- Unzip the WebExport download into a folder named exported-site and open the project that will hold the converted code.
- Pick a prompt from the prompt library and replace every placeholder in square brackets.
- Paste it and read the assistant’s plan before you let it write anything. Every prompt asks for a plan and your go-ahead.
- Convert the home page only, then compare it with the live site at phone and desktop width.
- Run the commands in the prompt’s Verify section after each batch, and commit when they pass.
To save yourself pasting the same rules, put the stable parts in the assistant’s instruction file. This is a short example for the file your tool reads.
# Project rules
- The folder exported-site is a static export of our old site. Treat it as read-only.
- Keep every URL path. Record path changes in REDIRECTS.md.
- Do not invent content, prices or links. Report gaps in MIGRATION_NOTES.md.
- Run the build after each change and fix errors before continuing.Using ChatGPT with an export
OpenAI’s file upload article lists documents, spreadsheets, presentations and images, including HTML, JSON, Markdown and TXT, and states a 512 MB limit per document and 2 million tokens per text file. It also says free users are limited to 3 file uploads per day and that uploads are capped at 80 files every 3 hours. It does not list ZIP as a supported type, so a whole site does not go in one upload.
Two routes work. Paste or upload one page and its stylesheet at a time, and ask for one component. Or run OpenAI’s Codex CLI in the project folder, which its README describes as a coding agent that runs locally. Either way, use the same prompt, because the plan and approval steps matter more than the tool.
What can go wrong
- Letting the assistant skip the plan. Without it, it converts everything at once and you cannot review the diff.
- Pasting a prompt with the placeholders unfilled. The assistant then guesses the host, the domain or the form endpoint.
- Treating a free tier as unlimited. Gemini CLI’s README says free individual access moved to another CLI in June 2026, so check the current terms before you plan around it.
- Assuming all four behave alike. We tested the prompts with Claude only, and the other three are untested.
Frequently asked questions
Which AI tool is best for converting an export?
One that can read the whole folder and run your build, which Claude Code, Cursor, Gemini CLI and Codex CLI all can. ChatGPT in the browser works for single pages.
Have the WebExport prompts been tested in every tool?
No. They were run by Claude on a real WebExport export of webexport.online. They have not been tested in Cursor, Gemini or ChatGPT, and each prompt page shows its test status.
What is AGENTS.md?
An open, simple format for guiding coding agents, described on agents.md as a README for agents. Several tools read it, and Claude Code can read it when there is no CLAUDE.md.
Can I upload the whole ZIP to ChatGPT?
OpenAI’s article does not list ZIP among the supported file types, and says ChatGPT may open one with data analysis tools in some cases. Upload single files or use a local agent.
Where are the prompts?
In the prompt library, with conversion prompts for Webflow, Framer, Squarespace, Shopify and Wix, and task prompts for forms, redirects, SEO and images.
Official documentation
Free tools for this job
- Website MD File GeneratorConvert any webpage into a clean Markdown file optimized for AI ingestion.
- Markdown ConverterConvert files, pasted text, webpage content, Notion, and Google Docs into Markdown.
- No-Code Platform DetectorInstantly detect if a site is built with Webflow, Framer, Squarespace, Wix, or Shopify.
- Website Asset Size AnalyzerAnalyze all images, JS, and CSS weights to find performance bottlenecks.
Get your site files
Paste your public site URL into the export form and download a ZIP of static files. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.