Lead to Launch
A local-first dashboard and Claude Code skill that runs a five-phase freelance website pipeline: scrape Google Maps, audit, rank, build a site prompt and draft outreach with a day-3 follow-up.

Lead to Launch is a tool for freelancers who sell websites to local businesses. The user enters a niche and a location. The tool pulls matching businesses from Google Maps, audits their online presence, ranks them by how likely they are to buy, writes a website-builder prompt for the best prospect and drafts a first message plus a day-3 follow-up.
It ships in two forms that follow the same five phases: a Next.js dashboard that runs on localhost, and a Claude Code skill that runs the pipeline as a conversation with no browser. The first phase uses Apify for live scraping, or a bundled demo dataset when no token is set. Phases two to five call the Claude Code command line installed on the same machine, under the user's own subscription.
The project is an internal tool built for the team's own freelance work, not a hosted product. The screenshots below use clearly generic sample data and a stubbed AI response, and no results or revenue figures are claimed.
Finding the right local client is slow manual work
A freelancer selling websites to local businesses has to do the same chain of work for every prospect: search a map for candidates, check whether each one has a site and how good it is, decide who is worth contacting, work out what to build and write a message that does not read like a template.
Done by hand, that is a spreadsheet, a dozen browser tabs and a lot of copy and paste. The steps depend on each other, so a weak early step wastes every later one.

One pipeline, confirmed at each step
The five phases are fixed and run in order: scrape, audit, rank, build, outreach. Each phase shows its result and waits for the user before moving on, so a person stays in charge of who gets pitched and what is sent.
The AI work runs locally. The dashboard calls the Claude Code command line as a subprocess, pinned to the standard-context model, and reads structured JSON back. No API key is stored in the app, and a status badge shows whether the command line was found.
The same logic is packaged as a Claude Code skill, so the pipeline also works as a chat with no dashboard at all.

From a niche and a city to a first message
Phase one takes a niche, a location and a count, then returns businesses with contact details, rating, review count, photo count and map position, plotted on a live map. With no Apify token it serves a bundled demo dataset instead.
Phase two asks Claude to audit each selected lead and return the gaps it finds, the single biggest gap and an estimated monthly revenue loss. Phase three scores every audited lead from 0 to 100 with a one-line reason, shows the top three on a podium and lists the rest in a table.
Phase four writes a complete builder prompt for the chosen lead and a target platform (Lovable, Claude Code, Bolt.new or Codex), with pitch points for the owner. Phase five drafts a first message and a day-3 follow-up for WhatsApp, email or Instagram, in English or Hinglish, with a suggested send time.
Five phases, one dashboard
A stepper moves through scrape, audit, rank, build and outreach. Completed phases are marked, and each phase can be revisited.
Live scrape or bundled demo data
Google Maps results through an Apify actor when a token is set, and a bundled demo dataset when it is not, so the tool runs on first launch.
Audit with a stated loss estimate
Each lead gets a list of gaps, one biggest gap and an estimated monthly loss in rupees, worked out from review count with a higher base for businesses without a website and a floor of 20,000.
Ranking with a reason
A 0 to 100 score per lead, weighted toward missing or slow sites, review volume and rating, how reachable the owner is, category fit and revenue left on the table.
Builder prompt for four platforms
A full website prompt with mobile-first layout, a floating WhatsApp button, click-to-call, a trust strip, FAQ, location section and local-business schema markup, adapted to the chosen platform.
Outreach with a day-3 follow-up
WhatsApp, email and Instagram drafts with channel-specific length rules, English or Hinglish, and a follow-up that restates the cost of waiting.




- 01
No API key, by design
A small wrapper runs the local Claude Code command line with a timeout, parses the JSON envelope and extracts the first JSON value from the reply. If the command line is missing, the AI phases show an install panel and the scrape phase still works.
- 02
Defensive handling of model output
Each API route fills missing fields with safe defaults, clamps scores to the 0 to 100 range and enforces the loss floor, so a partial reply does not break the screen.
- 03
Next.js 16 with a local-first footprint
Next.js 16, React 19, Tailwind CSS 4, Framer Motion for phase transitions and Leaflet for the map. Fonts are system stacks so the build does not need network access.
- 04
One logic, two front ends
The dashboard routes and the Claude Code skill describe the same phases and the same loss formula, so the pipeline behaves the same in a browser or in chat.
- 05
One-click launchers
Launch scripts for macOS and Windows start the server and open the browser, with a setup guide that covers first-launch behaviour and common errors.
- 06
Tests around the data layer
The repository has Vitest suites for the audit, persistence and CSV export code that sits beside the dashboard.
- A freelancer can go from a niche and a city to a ranked prospect list, a website prompt and two outreach drafts in one place.
- The AI phases run under the user's own Claude Code subscription, with no API key to store or rotate.
- A person confirms each phase before the next one runs, so nothing is sent without being read.
- The same pipeline is available as a dashboard and as a chat skill.

