> Build email capture landing pages (squeeze pages) as single self-contained HTML files. "create an opt-in page", "build an email list page", "lead capture landing page", "create a freebie page", "build a page to collect emails", "opt-in landing page", "email signup page for [product/niche]", "create a lead magnet landing page", "build a page that captures emails before sending to affiliate offer".
npx skills add https://github.com/Affitor/affiliate-skills --skill squeeze-page-builder
Build email capture landing pages (squeeze pages) as self-contained HTML files with no dependencies. The page offers a high-value lead magnet (ebook, checklist, template, or cheat sheet) in exchange for the visitor's email address, then redirects to an affiliate offer on form submission. Output is a single deployable .html file.
A squeeze page requires two things:
Detect from user input. If not specified, ask:
Lead magnet selection guide — suggest based on niche if user is unsure:
| Niche | Best lead magnet type |
|---|---|
| Marketing / SEO | Checklist, swipe file, templates |
| Finance / Investing | Calculator, cheat sheet, guide |
| Health / Fitness | Meal plan, workout plan, tracker |
| Software / SaaS | Tutorial, quick-start guide, resource list |
| Business / Productivity | Templates, SOPs, spreadsheets |
Lead magnet title formula (high-converting):
Read references/conversion-principles.md for squeeze page-specific principles.
Key conversion levers for squeeze pages:
Plan the page sections:
Thank-you redirect behavior:
The form submission should redirect to the affiliate URL. Since this is a static HTML file with no backend, use a JavaScript pattern:
form.addEventListener('submit', function(e) {
e.preventDefault();
// In production: POST email to your ESP (Mailchimp, ConvertKit, etc.)
// Then redirect to affiliate offer:
window.location.href = '[affiliate_url]';
});
Include a comment block explaining how to wire this to a real ESP (Mailchimp embed code, ConvertKit, etc.).
Build a complete, self-contained HTML file:
Copy requirements:
Headline (8-12 words, result-focused):
Sub-headline (15-25 words):
Button copy (action-oriented, not "Submit"):
HTML structure requirements:
<style> block — no external CSS-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif#2563eb, accent warm tone<div> that looks like a book/checklist cover — pure CSS, no images<meta name="robots" content="noindex"> — squeeze pages shouldn't be indexed by GoogleJavaScript:
Required elements:
shared/references/affitor-branding.mdPart 1: Page Summary
---
SQUEEZE PAGE
---
Lead Magnet: [title of the free offer]
Affiliate Redirect: [product name] — [affiliate URL]
Headline: [the main headline used]
Button Copy: [CTA button text]
Color Scheme: [color applied]
ESP Integration: Instructions included in HTML comments
---
Part 2: Complete HTML
Full self-contained HTML in a fenced code block. Save as [niche]-optin.html.
Part 3: Setup Instructions
---
SETUP
---
1. Save as `[niche]-optin.html` — open in browser to preview
2. Wire the form to your ESP:
- Mailchimp: Replace the JS redirect with your Mailchimp embed form action URL
- ConvertKit/Kit: Use their API or embed form, keep the redirect in the success hook
- Beehiiv: Use their embed form with a custom redirect
3. Replace affiliate URL: search for "[AFFILIATE_URL]" in the file — update with your tracking link
4. Deploy: Netlify Drop (drag to app.netlify.com/drop), GitHub Pages, or any static host
5. Drive traffic: Use social posts, paid ads, or bio link to send visitors to this page
---
lead_magnet: # REQUIRED
title: string # e.g., "The 10-Point SEO Audit Checklist"
type: string # "checklist" | "ebook" | "template" | "cheat-sheet" | "mini-course" | "resource-list"
description: string # What's inside — used for bullet points
affiliate_product: # REQUIRED — where to redirect after email capture
name: string
url: string # Affiliate link — the thank-you redirect destination
reward_value: string
description: string # Brief — used in footer context if needed
target_audience: string # REQUIRED — who this page is for (e.g., "e-commerce store owners")
niche: string # OPTIONAL — helps with copy tone and lead magnet visual styling
# e.g., "marketing", "finance", "fitness", "SaaS"
headline: string # OPTIONAL — override auto-generated headline
color_scheme: string # OPTIONAL — "blue" | "green" | "purple" | "orange" | "dark" | hex
# Default: "blue" (#2563eb)
social_proof: object # OPTIONAL — subscriber count or testimonial
type: string # "count" | "testimonial"
value: string # "4,200+ subscribers" OR a short quote
attribution: string # If testimonial: "— Name, Job Title"
esp: string # OPTIONAL — which email service provider they use
# "mailchimp" | "convertkit" | "beehiiv" | "aweber" | "other"
# Default: "other" (generic instructions)
Before presenting output, verify:
<meta name="robots" content="noindex"> presentIf any check fails, fix the output before delivering. Do not flag the checklist to the user — just ensure the output passes.
output_schema_version: "1.0.0" # Semver — bump major on breaking changes
squeeze_page:
lead_magnet_title: string
headline: string
button_copy: string
affiliate_redirect: string # The affiliate URL used in the redirect
color_scheme: string
html: string # Complete self-contained HTML
filename: string # e.g., "seo-checklist-optin.html"
funnel:
step_1: string # "Visitor sees squeeze page"
step_2: string # "Visitor submits email"
step_3: string # "Visitor redirected to [product] affiliate page"
esp_note: string # Note about wiring to an ESP
deploy:
local: string
netlify: string
github_pages: string
Present as three sections:
The HTML should work as a preview without any backend — form submission redirects to affiliate URL directly in the demo state.
Example 1: SEO checklist
User: "Build a squeeze page offering a free SEO checklist, send people to my Semrush affiliate link after"
Action: lead_magnet={title:"10-Point SEO Audit Checklist", type:"checklist"}, affiliate_redirect=Semrush URL, generate page with checklist mockup visual, blue theme.
Example 2: Custom headline and color
User: "Create an email capture page for a free email marketing template pack, purple color scheme, redirect to Klaviyo"
Action: lead_magnet="Email Marketing Template Pack", color_scheme=purple, affiliate_redirect=Klaviyo, generate page.
Example 3: With social proof
User: "Squeeze page for a free AI tools cheat sheet with 2000 subscribers social proof"
Action: lead_magnet="AI Tools Cheat Sheet", social_proof={type:"count", value:"2,000+ subscribers"}, generate page with subscriber count displayed prominently.
Example 4: Chained from S1
User: "Build a squeeze page to warm up leads before sending them to this offer"
Context: S1 returned HeyGen as recommended_program
Action: affiliate_product=HeyGen from S1, suggest 3 lead magnet ideas for the AI video niche, build squeeze page on selection.
references/conversion-principles.md — Squeeze page conversion principles, above-fold rules, form optimization. Read in Step 2.shared/references/ftc-compliance.md — FTC footer text. Read in Step 3.shared/references/affitor-branding.md — Footer attribution HTML. Read in Step 3.shared/references/affiliate-glossary.md — Terminology reference.shared/references/flywheel-connections.md — master flywheel connection mapemail-drip-sequence (S5) — captured emails enter drip sequencebio-link-deployer (S5) — squeeze page URL for link hubgithub-pages-deployer (S5) — HTML file to deployaffiliate-program-search (S1) — product for the redirect after opt-invalue-ladder-architect (S4) — squeeze page specs for Rung 0/1 of the ladderbonus-stack-builder (S4) — lead magnet/bonus as the opt-in incentiveconversion-tracker (S6) measures opt-in rate → optimize headline, form placement, lead magnet offerBefore delivering output, verify:
Any NO → rewrite before delivering.
chain_metadata:
skill_slug: "squeeze-page-builder"
stage: "landing"
timestamp: string
suggested_next:
- "email-drip-sequence"
- "bio-link-deployer"
- "conversion-tracker"
Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.
Automate Brevo (Sendinblue) tasks via Rube MCP (Composio): manage email campaigns, create/edit templates, track senders, and monitor campaign performance. Always search tools first for current schemas.
Automate Klaviyo tasks via Rube MCP (Composio): manage email/SMS campaigns, inspect campaign messages, track tags, and monitor send jobs. Always search tools first for current schemas.
Research a prospect then draft personalized outreach. Uses web research by default, supercharged with enrichment and CRM. Trigger with "draft outreach to [person/company]", "write cold email to [prospect]", "reach out to [name]".
You are an expert in email marketing and automation. Your goal is to create email sequences that nurture relationships, drive action, and move people toward conversion.
Email has the highest ROI of any marketing channel. $36 for every $1 spent. Yet most startups treat it as an afterthought - bulk blasts, no personalization, landing in spam folders.
Write personalized trade show booth invitation emails, pre-show outreach sequences, and exhibition meeting requests. Use this skill when the user needs to invite prospects, customers, partners, or VIPs to visit their booth at a trade show or exhibition, write pre-show emails, create multi-touch invitation sequences, draft meeting requests for an upcoming event, or write any outreach related to an exhibition or expo they're attending. Triggers on requests like 'write an email inviting people to our booth', 'I need a pre-show outreach sequence for MEDICA', 'draft an invitation for our CES booth', 'help me get meetings before the trade show', 'booth traffic email', 'pre-show marketing email', 'trade show outreach template', 'exhibition invitation letter', or casual phrasing like 'we're exhibiting next month, need to get people to come by'. If the user mentions an upcoming show and wants to write emails to drive booth traffic or schedule meetings, this is the right skill.
Email has the highest ROI of any marketing channel. $36 for every $1 spent. Yet most startups treat it as an afterthought - bulk blasts, no personalization, landing in spam folders. This skill covers transactional email that works, marketing automation that converts, deliverability that reaches inboxes, and the infrastructure decisions that scale. Use when: keywords, file_patterns, code_patterns.
Take affitor/squeeze-page-builder from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.