Agentic Infrastructure

ProductionAISystems

You don't need a dev team, a six figure budget, or permission anymore. Just vision, taste, and the right tools. These are two production platforms I built to prove it.

0+

API Integrations

0+

Custom Scripts

0

Automated Pipelines

0

Claude Code Skills

0

AI Images ($0.10/ea)

01

GLP1 Clinics

Finding the right GLP-1 doctor used to mean hours of manual research, city by city, with no way to know who actually prescribes what. I built a system that does it automatically across all 50 states.

Data Pipeline

๐Ÿฅ

NPI Registry + CMS Data

Cross-references prescriber data to find doctors actually prescribing semaglutide

seed-npi.mjs
๐Ÿ—„๏ธ

Supabase (PostgreSQL)

13+ migrations, 15+ indexes, Row Level Security

๐Ÿ“Google Places

Ratings, hours, photos

๐ŸŒWeb Scraping

URLs, metadata, verification

๐Ÿ”

Typesense Search Index

34 field schema, geo-proximity, faceted filtering

sync-typesense.mjs
๐Ÿค–

Claude API, City Pages

Unique editorial content per city using local data + regulations

generate-city-pages.py
๐Ÿš€

Next.js ISR, Vercel

Live at glp1clinics.com. ISR caching: 1hr homepage, 12hr city pages

Tech Stack

Frontend

Next.js 16React 19TypeScriptTailwind 4

Data & Search

SupabaseTypesenseMapbox GL

Payments & Email

StripeResendClaude API

Analytics & Deployment

GA4Google Search ConsoleVercelGitHub Actions

Script Highlights

generate-news.mjs

autonomous agent

A fully autonomous news agent. Searches the web, writes articles with sourcing requirements, runs its own editing pass, publishes daily at 9:07 AM. Thatโ€™s not a script, thatโ€™s a content employee.

mark-verified-clinics.mjs + verify-clinics-website.mjs

quality control

An automated quality control system. One crawls websites looking for actual drug names. The other deactivates clinics that donโ€™t pass. Self-cleaning data.

scrape-clinics-google.mjs

self-healing

Auto-targets the cities with the lowest clinic counts. The system knows where its gaps are and fills them. Self-healing infrastructure.

generate-top10.mjs

data + editorial

Composite scoring algorithm that ranks clinics, then Claude writes mini-reviews and comparison data for each city. Data + AI editorial at scale.

seed-npi.mjs

core insight

Cross-references CMS Medicare prescriber data to find doctors who actually prescribe semaglutide/tirzepatide. Not just finding doctors, finding the right doctors.

keyword-research.mjs

self-directing

An AI agent that discovers its own content opportunities weekly. The system generates its own roadmap.

AI Features (Claude API)

๐ŸŽฏ

Clinic Matcher

Describe your needs, Claude recommends clinics based on location, insurance, telehealth, medication preference.

โš–๏ธ

Clinic Compare

Side by side analysis of any two clinics with AI-generated insights on pricing, services, and ratings.

๐Ÿ’ฌ

FAQ Assistant

Knowledge base powered by blog content with intent extraction. Answers GLP-1 questions contextually.

What It Replaced

Before

Hours of manual research per city. Googling clinic names one by one. No way to know if a doctor actually prescribes semaglutide or just shows up in a directory. No verification, no scale, no system.

After

One pipeline that discovers, verifies, enriches, and publishes clinic data across all 50 states. Runs on a schedule. Cleans its own data. Fills its own coverage gaps.

02

Dusklight

Launching an e-commerce brand used to mean studio shoots, agency retainers, and months of setup across a dozen platforms. I wanted to know what would happen if one person with the right tools could do all of it. 124 product images. $12.40 total.

Image Generation Pipeline

๐Ÿ“ธ

Reference Photos

iPhone shots of physical products. The only real photography in the pipeline.

โœ๏ธ

Prompt Engineering

Scene descriptions, lighting, camera angles. Creative direction translated to AI.

๐ŸŽจ

WaveSpeed AI (FLUX Kontext)

Reference-guided generation. Maintains product accuracy across all scenes.

$0.10/image
๐Ÿ›๏ธ

Shopify Product Pages

Auto-uploaded with SEO metadata, alt text, and variant assignments

E-Commerce Data Flow

Orchestration

Claude Code, 19 Skills

Orchestrating the entire brand from one terminal

๐Ÿ›๏ธ

Shopify

REST + GraphQL Admin

๐ŸŽจ

WaveSpeed AI

FLUX Kontext

๐Ÿ“ง

Klaviyo

11 email templates

๐Ÿ“Š

GA4

E-commerce tracking

๐Ÿ“ข

Google Ads

Shopping + Search

๐Ÿ“Œ

Pinterest

20 pins, 5 boards

Script Inventory

generate-images.ts

Batch image generation via WaveSpeed API with prompt templates

upload-to-shopify.ts

Pushes images + metadata to Shopify via Admin API

sync-klaviyo.ts

Syncs product catalog + creates automated email flows

build-gmc-feed.ts

Generates Google Merchant Center product feed for Shopping ads

pin-products.ts

Auto-posts product pins with rich metadata to Pinterest boards

setup-ga4.ts

Configures e-commerce event tracking + conversion goals

generate-seo-blog.ts

AI-written blog posts targeting long-tail candle/home decor keywords

audit-skimlinks.ts

Validates affiliate link placement and commission tracking

sync-google-sheets.ts

Revenue dashboard. Pulls Shopify orders, ad spend, and margins into a live spreadsheet

What It Replaced

Traditional

$150/photo for studio shoots. $2,000+/mo for an email marketing agency. Separate teams for ads, SEO, and social. Manual product uploads one at a time. You needed capital just to get started.

$18,600+

estimated traditional cost for 124 photos alone

Dusklight

$12.40 total for all 124 product images. Email flows, ad campaigns, SEO content, Pinterest pins, analytics, and product management all handled from one terminal.

$12.40

total image generation cost

How I Build

The Operating Model

Every system I build starts the same way. Something is taking too long, costing too much, or just shouldn't require a human to do it.

01

Find the Bottleneck

Look at where youโ€™re spending hours doing something manually. Reading Google Ads one by one. Scrolling through GA4 reports. Researching clinics city by city. Thatโ€™s the system waiting to be built.

02

Know What You Want, Not How It Works

You donโ€™t need to understand APIs or databases. You need to know what you want it to do, what you want it to look like, and how it should make your life easier. Claude Code handles the technical translation.

03

Build What Wasnโ€™t Possible Before

These systems used to require a full engineering team and significant capital. Now one person can build production infrastructure that processes data, generates content, and runs operations at scale.

Custom Claude Code Skills (19 total)

product-copyproduct-photographyemail-flowsgoogle-adsmeta-adsseo-blogpinterestshopify-managementinstagram-captionsga4brand-guidelinescustomer-personasvideographyads-copycontent-calendarscraping-clinicswriting-blog-postswriting-city-contentwriting-medium-substack

Gold = Dusklight skills. Teal = GLP1 Clinics skills.

Want to Build Something Like This?

If you've been thinking about a system, a product, or a workflow but assumed you'd need a huge budget or a full team to make it real, let's talk. The tools are here. You just need someone who knows how to use them.