Site Preview Kit: setup guide + prompts
How to have Claude find local businesses with outdated websites, build each a free preview site from its real details, and send a short, honest message only after you approve it. Part 1 of 2: guide, hard rules, prompts.
Free kit (you pay for your own Claude plan, and Google or hosting if you go over their free limits)
How to install
SITE PREVIEW KIT, part 1 of 2: the setup guide, the hard rules and the 8 prompts. Part 2 is the other REVAMP row: the 7 small Python helper scripts these prompts call.
HARD RULES (built into the prompts and scripts; do not remove them) 1. You review every new site and every message yourself. Nothing is sent until you approve that item. 2. A cap of 5 messages a day. Do not raise it. 3. No CAPTCHA bypass, ever. If a form has a CAPTCHA the item is flagged and you decide (usually skip, or write to them by hand). 4. Every message names you as the sender (name, reply email, postal address). 5. Every message has an opt-out line, and anyone who opts out goes in optout.txt and is never contacted again. 6. Official Google Places API only. No scraping Google Maps. 7. Preview sites are noindex, never show a business's old site publicly without permission, never invent facts or reviews. Not legal advice: commercial-message rules differ by country.
Show a local business what a new version of their website could look like, before you ever ask them for anything. You stay in charge: Claude drafts, you read every site and every message, and only what you approve is sent.
Prices and rules below were checked on 25 Nov 2026 and change. Re-check the linked pages before you start.
## What you need (about 30 minutes, once) 1. Claude Code, installed and logged in (a Claude plan or API credit; that cost is yours and is not part of this kit). 2. Python 3 (for the small helper scripts; they use only the standard library). 3. A Google Cloud project with the Places API (New) turned on, and one API key (steps below). 4. A free host account for the preview links (Cloudflare Pages recommended, see "Hosting"). 5. A sender profile: your real name, a reply email, a postal address, an opt-out line (use the sender profile at the end of this cell).
## 1. Get the Google Places API key This is the official route. Do NOT scrape Google Maps: Google's policy says not to "export, extract, or scrape Google Maps Content" (https://developers.google.com/maps/documentation/places/web-service/policies).
1. Open https://console.cloud.google.com and create a project (any name). 2. Billing: Google asks you to link a billing account (a card) to use the API. Setup guide: https://developers.google.com/maps/documentation/places/web-service/get-api-key . A no-billing "Maps Demo Key" exists for prototyping but is limited and leaves out some fields, so do not plan on it. Adding a card is your decision and you do it yourself. 3. In the console, open APIs and Services, Library, search "Places API (New)" and click Enable. 4. Go to Google Maps Platform, Keys and Credentials, Create credentials, API key. 5. Edit the key and restrict it to "Places API (New)" only. 6. Set a daily limit so a mistake cannot cost money: APIs and Services, Places API (New), Quotas, lower the per-day request quotas to something small (for example 50). Also create a budget alert in Billing. (Check the quota wording in your console; menus move.) 7. Put the key in your terminal session only. It never goes in a file, a chat or a prompt:
- Windows PowerShell: `$env:GOOGLE_PLACES_API_KEY = "paste-here"`
- Mac/Linux: `export GOOGLE_PLACES_API_KEY="paste-here"`
### What it costs (global price list, https://developers.google.com/maps/billing-and-pricing/pricing, checked 25 Nov 2026) Google gives a free monthly allowance per product (it replaced the old $200 monthly credit in March 2025), counted per billing account: | Product this kit uses | Free per month | Then, per 1,000 requests | |---|---|---| | Text Search, IDs only (find businesses, we keep place IDs only) | 10,000 free (Essentials tier; verify on the SKU page) | see SKU page | | Place Details Enterprise (website and phone number) | 1,000 free | $20 | | Text Search Enterprise (only if you request website/phone in the search itself; the kit does not) | 1,000 free | $35 |
Website and phone number are Enterprise-tier fields (Google bills the highest tier among the fields you ask for). At 5 businesses a day (about 150 a month) you stay inside the free allowance. Even so, Google may ask for billing details, and going over the allowance costs money. Check your usage in the console.
## 2. Pick a free host for the preview links Short answer: **use Cloudflare Pages. Do not use Vercel Hobby for this.**
- Vercel: its Terms of Service, section 4, limit the free Hobby plan to "personal or non-commercial use" (https://vercel.com/legal/terms, read 25 Nov 2026). Pitching a business is commercial, so Hobby is out. (Vercel's Hobby docs page, https://vercel.com/docs/plans/hobby, lists free limits but does not mention this; the Terms do.) A paid Pro plan would be needed.
- Cloudflare Pages: free plan, 500 builds a month, 20,000 files per site, 25 MiB per file (https://developers.cloudflare.com/pages/platform/limits/). We found no non-commercial restriction on the Pages limits page or in Cloudflare's service-specific terms; read Cloudflare's terms of service yourself before you start.
- Netlify free plan: listed as "Individual" with 300 credits (https://www.netlify.com/pricing/); the page does not state commercial-use rules, check their terms before relying on it. Works as a backup.
Whatever host you use: the preview must carry `noindex` (the kit's checker enforces it). `noindex` hides the page from Google; it is NOT a password. Anyone with the link can open it, so never put anything private on it.
## 3. The flow (what the prompts do) Open Claude Code in your kit folder (the one holding scripts/, see the next REVAMP row), then paste the prompts below one at a time, in order. 1. Find: official Places API, place IDs only, a hard limit of 5 per run. 2. Judge: score each old site; you decide which are worth it. 3. Read: pull the real facts from the old site into a file. No inventing. 4. Build: a new site from those facts only. 5. Deploy: noindex preview link on your free host. 6. Draft: one short message per business: who you are, what the link is, an opt-out line. 7. Review and send: you read each old site, new site and message and approve one by one. Only approved ones go out, at most 5 a day.
## Rules that are built in (do not remove them)
- Never get past a CAPTCHA. The sender stops, flags the business, and you decide (usually: skip, or send by hand).
- Every message names you, says what the link is, has your postal address and an opt-out line. No fake subject lines, no pretending to be a customer.
- Never contact a business that opted out (add the domain to `optout.txt`).
- No mass sending: 5 a day by default, 10 is the hard ceiling in the script.
- Only a plain HTML contact form is used. If a site has no form, or it needs JavaScript, the item is flagged for you.
- Do not show a business's old website publicly (reels, posts) without their permission.
- Reviews and testimonials taken from the old site are labelled "from the old website". Never invent any.
## Know the rules (not legal advice) Commercial-message laws differ by country. In the US, the FTC's CAN-SPAM guide says the law "makes no exception for business-to-business email" and asks for no false headers or subjects, a valid postal address and an opt-out (https://www.ftc.gov/business-guidance/resources/can-spam-act-compliance-guide-business). It is about email, so whether a website form message counts is unclear; the kit follows the same good practice anyway. Other countries (UK, EU, UAE) have their own rules: look them up. Anthropic's usage policy also prohibits spam (https://www.anthropic.com/legal/aup). When unsure, send fewer messages, or send none.
## Practice first Test on your own made-up business and your own test site before you touch a real business. Nothing goes to a real site unless you add --live yourself.
## Credit The idea of finding, scoring and rebuilding outdated sites follows the free MIT-licensed Claude skill https://github.com/pantheonmarketing/claude-website-rebuilder (Jonny West / The AI CEOs). This kit is separate code and prompts; we reused no code from it, only the idea and its "good manners" rules (noindex previews, mark unverified reviews as samples, show a business's old site publicly only with permission).
--- THE PROMPTS
Before step 1, save the sender profile at the end of this cell as work/sender.json and fill in your real details.
--- ## Prompt 0: ground rules (paste once per session) ``` We are running the Site Preview Kit. Rules for this whole session:
- Use only the official Google Places API (New) through scripts/places_search.py. Never scrape Google Maps or any search results page.
- Keep place IDs only. Business names, websites and phones live in work/details.tmp.json for this batch and I will purge it afterwards.
- Never try to get past a CAPTCHA, login wall or bot check. Stop and tell me.
- Never send anything. Sending happens only in step 7, only for items I approve, through scripts/send_approved.py.
- Never invent facts about a business (services, prices, reviews, awards, years). If it is not on their old site, leave it out.
- Maximum 5 businesses per run. Show me your plan after each step and wait for my "go".
```
## Prompt 1: find businesses (official API, IDs only) ``` Step 1. Find up to 5 local businesses. Search: "TYPE OF BUSINESS in AREA". 1. Run: python scripts/places_search.py search --query "TYPE OF BUSINESS in AREA" --limit 5 --dry-run and show me the exact request. Then, with GOOGLE_PLACES_API_KEY set in my terminal, run it without --dry-run. 2. Then run: python scripts/places_search.py details --limit 5 3. Show me a table: name, website, phone. Remove any business with no website. Do not open any Google Maps page. ```
## Prompt 2: judge which old sites are outdated ``` Step 2. For each business with a website, run python scripts/score_site.py WEBSITE_URL. Then open the homepage yourself (public page only, one request per site, pause 5 seconds between sites) and add your own judgement: layout, readability on a phone, mobile viewport, last-updated year, broken images, HTTPS. Give me a ranked list: business, score, 2 reasons, and whether a new site would clearly help them. Skip businesses whose site is already good. Recommend at most 5 and wait for my pick. ```
## Prompt 3: read the real details ``` Step 3. For the businesses I picked, run python scripts/extract_details.py WEBSITE_URL --out work/BUSINESS-details.json. Open the file and show me: name, phone, address, email, services, opening hours, testimonials, photos found. List what is MISSING (for example no opening hours). Do not fill gaps. Ask me what to do about missing items. Find their contact page URL and tell me whether it is a plain form, a JavaScript form, or has a CAPTCHA (just look; do not submit anything). ```
## Prompt 4: build the new site ``` Step 4. Build a new one-page site for BUSINESS in work/BUSINESS-site/ (index.html, style.css, images/). Content comes ONLY from work/BUSINESS-details.json. Use their own photos (download the ones listed; if a photo is weak, say so instead of inventing one). Requirements: mobile first and responsive, a clear headline, services, their real phone as a tap-to-call link, address, hours, a visit section, their testimonials labelled "(from the old website)", clean modern type, fast, no external scripts or fonts. Add a small top banner: "This is a free design preview, not the live website of BUSINESS." Add in every page head: <meta name="robots" content="noindex, nofollow"> Add a file _headers containing: /* then on the next line (indented) X-Robots-Tag: noindex, nofollow Add robots.txt with: User-agent: * and Disallow: / Then run: python scripts/check_site.py work/BUSINESS-site work/BUSINESS-details.json Fix anything it reports, screenshot the site at desktop and phone width, and show me. ```
## Prompt 5: put it online as a private preview ``` Step 5. Deploy work/BUSINESS-site/ to Cloudflare Pages as a preview. I am already logged in to Cloudflare in my terminal (do not ask for or handle my password or tokens). Use a project name made of random letters, not the business name, for example site-preview-7k2q, and the "preview" branch so it is not a production domain:
npx wrangler pages deploy work/BUSINESS-site --project-name site-preview-XXXX --branch preview(On Windows with a company TLS proxy, set NODE_OPTIONS=--use-system-ca first.) After deploying, fetch the URL and confirm the page loads and the response header X-Robots-Tag contains noindex. Show me the link. Do not share it anywhere. ``` (No terminal? Cloudflare dashboard, Workers and Pages, Create, Pages, Upload assets, drag in the site folder.)
## Prompt 6: draft the message ``` Step 6. For each business, draft a short contact-form message from work/sender.json using the template below. Fill the business name and the preview link. Do not change the sender lines, the address or the opt-out line. Do not use a fake subject (no "Re:", "Invoice", "Urgent") and do not pretend to be a customer. Then write work/review.json as a list, one item per business, in this shape: {"id":"biz-01","business":"NAME","old_site":"URL","contact_url":"CONTACT PAGE URL","preview_url":"PREVIEW LINK","subject":"A free website preview for NAME","message":"...","approved":false,"sent":false} Always "approved": false.
TEMPLATE Hello NAME team,
My name is SENDER NAME. I build websites for local businesses. I noticed your current site and made a free design preview of what a refreshed version could look like, using only the details already on your site:
PREVIEW LINK
The preview is private and not live anywhere. There is no obligation; if you like it, reply to SENDER EMAIL.
SENDER NAME, POSTAL ADDRESS OPT-OUT LINE ```
## Prompt 7: review, then send only what I approve ``` Step 7. Run: python scripts/review.py show work/review.json Show me each business: old site, new site link, the message. Do NOT approve anything yourself. I will say which ones are approved. For each one I name, run: python scripts/review.py approve work/review.json ID Then run: python scripts/send_approved.py work/review.json work/sender.json --log work/sent_log.jsonl (The script refuses non-local sites unless I add --live myself. If it flags a CAPTCHA, a missing form or a missing opt-out line, report it to me and stop on that item; do not work around it.) Report what was sent, what was blocked and why. Maximum 5 a day. ```
## Clean up ``` Run python scripts/places_search.py purge and delete work/*details*.json for this batch. Keep work/sent_log.jsonl and optout.txt. ```
--- SENDER PROFILE (save as work/sender.json) { "name": "Alex Demo-Sender", "reply_email": "sender@test.invalid", "phone": "", "postal_address": "1 Test Street, Demoville, 00000", "optout_line": "If you would rather not hear from me, reply 'no thanks' and I will not contact you again." }
Want to put Site Preview Kit: setup guide + prompts to work in your business?
Inside CTRL + AI, my private AI community, I show you step by step how to use tools like this: real demos, courses on Claude, AI agents and automations, and a community of business owners and builders.
Add a card to start. You pay nothing for 7 days, then $19/month. Cancel anytime before day 7 and you're not charged.