Prompt to detect the platform of prospect sites and write a research brief

Short answer

This prompt asks an AI assistant to take a list of domains, detect whether each runs on Webflow, Framer, Squarespace, Shopify or Wix from markers in its public home page, and write a short brief per site using only facts on that site. It reads public pages only and never contacts anyone.

Last reviewed

Key facts

  • Platform detection reads markers in public HTML and headers, such as generator tags and CDN hosts. Results can be wrong, so each row shows its evidence.
  • "Unknown" means no marker was found. It does not mean the site is custom built.
  • The brief uses only what is on the site. It does not record emails or any personal details.
  • Test status: the detection script was run on 8 domains. It reported Framer for framer.com (3 of 3 markers), Wix for wix.com (3 of 3), Shopify for shopify.com (2 of 3), Squarespace for squarespace.com (2 of 3) and Webflow for webflow.com (2 of 3). It reported unknown for example.com and for webexport.online, which is built with Next.js, and unreachable for an invalid domain. The assistant-written briefs were not run.

The prompt

Paste this into Claude Code, Cursor, Codex or another AI coding assistant with your project folder open, and replace everything in square brackets first. See how to run it in each tool.

Detect platforms and write briefs
You are researching a list of websites to learn which no-code platform each one runs on. The list is in [DOMAINS_FILE: domains.txt], one domain per line.

STEP 1: DETECT
For each domain, fetch the home page over HTTPS with a plain GET. Look for these markers and write the evidence you found:
- Webflow: a generator meta tag naming Webflow, data-wf-site or data-wf-page attributes, website-files.com
- Framer: a generator meta tag naming Framer, framerusercontent.com, data-framer attributes
- Squarespace: a generator meta tag naming Squarespace, squarespace-cdn.com, Static.SQUARESPACE_CONTEXT
- Shopify: cdn.shopify.com, Shopify.theme, shopify meta tags
- Wix: a generator meta tag naming Wix, wixstatic.com, parastorage.com
Write prospects.csv with: domain, platform, evidence, status code, title, description. Use "unknown" when no marker is found and "unreachable" when the site does not answer.

STEP 2: BRIEF
For each site whose platform is one of the five, read its home page and, if they exist, its sitemap, pricing and about page. Write BRIEFS.md with one short section per site: what the site sells in one sentence, number of pages in the sitemap, whether it has a blog or other repeating collection, whether it has forms or a store, and any sign of platform lock-in you can point to on the page.

STEP 3: CHECK
At the end, list the domains where evidence was weak (one marker only) so I can confirm them by hand.

RULES
- Public pages only. Do not log in, submit forms, or open anything behind a login.
- Do not record email addresses, phone numbers, staff names or any personal details.
- Fetch each page once, at most 4 requests at a time, and obey robots.txt.
- Do not guess the platform when no marker appears. Say unknown.
- Never contact the sites or their owners.
- If scripts/platform-detect.mjs exists, use it for step 1.

How to run it

  1. Put the domains in a text file, one per line, with no paths. Start with 10 so you can check the answers.
  2. Run the prompt. Open three of the sites and compare the platform with what you know.
  3. Read the weak-evidence list and confirm those sites by hand, for example with the Platform Detector.
  4. Use the briefs to prepare your own outreach or audit, and write it yourself.

Run it without a paid key

This script covers step 1 with plain fetch calls. It counts how many of three markers appear for each platform and takes the platform with the most. Headers are checked as a fallback. It reads one page per domain and makes four requests at a time.

scripts/platform-detect.mjs
// Usage: node platform-detect.mjs domains.txt > prospects.csv
// One domain per line. Looks for platform markers in the home page HTML and response headers.
import fs from 'node:fs';

const domains = fs.readFileSync(process.argv[2], 'utf8').split('\n').map((l) => l.trim().replace(/^https?:\/\//, '').replace(/\/.*$/, '')).filter(Boolean);
const SIGNS = {
  Webflow: [/<meta[^>]+generator[^>]+Webflow/i, /\bdata-wf-(site|page)=/i, /website-files\.com/i],
  Framer: [/<meta[^>]+generator[^>]+Framer/i, /framerusercontent\.com/i, /\bdata-framer-/i],
  Squarespace: [/<meta[^>]+generator[^>]+Squarespace/i, /squarespace-cdn\.com|static1\.squarespace\.com/i, /Static\.SQUARESPACE_CONTEXT/],
  Shopify: [/cdn\.shopify\.com/i, /Shopify\.theme/, /<meta[^>]+shopify-/i],
  Wix: [/<meta[^>]+generator[^>]+Wix/i, /wixstatic\.com/i, /parastorage\.com/i],
};
const q = (v) => `"${String(v).replace(/"/g, '""')}"`;
const decode = (s) => s.replace(/&amp;/g, '&').replace(/&#x27;|&#39;/g, "'").replace(/&quot;/g, '"');
const rows = [];
const queue = [...domains];
await Promise.all(Array.from({ length: 4 }, async () => {
  while (queue.length) {
    const d = queue.shift();
    try {
      const r = await fetch(`https://${d}`, { redirect: 'follow', signal: AbortSignal.timeout(15000), headers: { 'user-agent': 'Mozilla/5.0 (compatible; platform-detect/1.0)' } });
      const html = await r.text();
      const hits = Object.entries(SIGNS).map(([name, res]) => [name, res.filter((re) => re.test(html)).length]).filter(([, n]) => n);
      const best = hits.sort((a, b) => b[1] - a[1])[0];
      const hdr = [r.headers.get('x-wix-request-id') && 'header x-wix-request-id', r.headers.get('x-shopid') && 'header x-shopid'].filter(Boolean);
      const platform = best ? best[0] : hdr.length ? (hdr[0].includes('wix') ? 'Wix' : 'Shopify') : 'unknown';
      rows.push([d, platform, best ? `${best[1]} of 3 markers` : hdr.join('; ') || 'no marker found', r.status, decode((html.match(/<title[^>]*>([\s\S]*?)<\/title>/i)?.[1] ?? '').trim()), decode(html.match(/<meta[^>]+name=["']description["'][^>]*content=["']([^"']*)/i)?.[1] ?? '')]);
    } catch (e) { rows.push([d, 'unreachable', String(e.cause?.code ?? e.name), 0, '', '']); }
  }
}));
console.log('domain,platform,evidence,status,title,description');
for (const r of rows.sort((a, b) => a[0].localeCompare(b[0]))) console.log(r.map(q).join(','));
console.error(`${rows.length} domains checked. "unknown" means no marker was found, not that the site is custom built.`);

The Firecrawl path

For the briefs, a scrape returns a page as markdown together with its metadata, and the map endpoint lists a site's pages, so you can count them without parsing a sitemap. The docs describe a keyless MCP server with search, scrape and parse tools and a daily limit per IP address, which lets you try this without an account. The free plan on the billing page lists 1,000 credits a month and no card.

terminal
claude mcp add --transport http firecrawl https://mcp.firecrawl.dev/v2/mcp

Verify the result

Check detection against sites whose platform you already know.

terminal
node scripts/platform-detect.mjs domains.txt > prospects.csv
cut -d, -f1-3 prospects.csv | head -12
curl -s https://example.com | grep -o -i 'generator[^>]*' | head -2
  • Sites whose platform you know are labeled correctly, and each row shows evidence.
  • Every "unknown" is a site you looked at, not a silent failure.
  • BRIEFS.md holds no email address, phone number or personal name.

What can go wrong

  • A site can sit behind a proxy or use a custom domain setup that hides markers. Treat unknown as a gap in detection.
  • A marketing site and an app on the same domain can use different stacks. The result describes the home page only.
  • Building outreach from this list needs its own care for privacy and spam rules. This prompt stops at research.

Frequently asked questions

How accurate is marker-based detection?

It is right when a site leaves the platform's markers in place, and silent when it does not. The evidence column lets you judge each row, and the weak-evidence list flags the shaky ones.

Why does it say unknown for a site I know?

The site may be built with a framework, or the platform markers may be stripped. WebExport's own site shows up as unknown for that reason, since it runs on Next.js.

Can agencies use this on client lists?

Yes, for sites you have the right to review. The brief is a fast first pass before you open each site and talk to its owner.

Is there a browser tool for one site?

The No-Code Platform Detector and Website Tech Stack Detector check one URL at a time.

Official documentation

Free tools for this job

Start with the files

Prompts work best on a WebExport download of your site. Paste your public URL into the export form and get a ZIP. 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.