AI Conversion Ops skill

python3 telemetry/versioncheck.py 2>/dev/null || true

by ericosiu·MIT license·★ 3,615 Stars on the repo·GitHub ↗

Use now

Files of AI Conversion Ops

ericosiu/main1 file shown
SKILL.md
Show the full text131 lines

AI Conversion Ops

Preamble (runs on skill start)

# Version check (silent if up to date)
python3 telemetry/version_check.py 2>/dev/null || true

# Telemetry opt-in (first run only, then remembers your choice)
python3 telemetry/telemetry_init.py 2>/dev/null || true

Privacy: This skill logs usage locally to ~/.ai-marketing-skills/analytics/. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See telemetry/README.md.


AI-powered conversion rate optimization: landing page audits, CRO scoring, survey segmentation, and lead magnet generation.

When to Use

  • User asks for a landing page audit or CRO analysis
  • User wants to score a page across conversion dimensions
  • User needs to identify conversion bottlenecks on a URL
  • User has survey data and wants to segment respondents by pain point
  • User wants lead magnet ideas generated from survey responses
  • User needs batch CRO analysis across multiple URLs

Tools

CRO Audit (cro_audit.py)

Fetches a landing page and scores it across 8 conversion dimensions. No headless browser needed.

# Single URL audit
python cro_audit.py --url https://example.com/landing-page

# Batch mode — multiple URLs
python cro_audit.py --urls https://example.com/page1 https://example.com/page2

# URLs from a file (one per line)
python cro_audit.py --file urls.txt

# Specify industry for benchmark comparison
python cro_audit.py --url https://example.com --industry saas

# JSON output
python cro_audit.py --url https://example.com --json

# Save report to file
python cro_audit.py --url https://example.com --output report.json

Scoring dimensions (each 0–100):

  1. Headline Clarity — Is the value prop obvious in <5 seconds?
  2. CTA Visibility — Are CTAs prominent, contrasting, above the fold?
  3. Social Proof — Testimonials, logos, case studies, numbers?
  4. Urgency — Scarcity, deadlines, limited offers?
  5. Trust Signals — Security badges, guarantees, privacy, certifications?
  6. Form Friction — How many fields? Is the form intimidating?
  7. Mobile Responsiveness — Viewport meta, responsive patterns, touch targets?
  8. Page Speed Indicators — Image optimization, script count, resource size?

Overall CRO Score = Weighted average across all 8 dimensions.

Output includes:

  • Per-dimension score with specific findings
  • Priority fixes ranked by impact
  • Before/after suggestions for each issue
  • Industry benchmark comparison
  • Overall letter grade (A+ through F)

Supported industries: saas, ecommerce, agency, finance, healthcare, education, b2b, general

Survey-to-Lead-Magnet Engine (survey_lead_magnet.py)

Ingests survey CSV data, clusters respondents by pain point, and generates lead magnet briefs for each segment.

# Basic usage — analyze survey CSV
python survey_lead_magnet.py --csv survey_responses.csv

# Specify which columns contain pain points / challenges
python survey_lead_magnet.py --csv survey.csv --pain-columns "biggest_challenge" "top_frustration"

# Limit number of segments
python survey_lead_magnet.py --csv survey.csv --top-segments 5

# JSON output
python survey_lead_magnet.py --csv survey.csv --json

# Save output
python survey_lead_magnet.py --csv survey.csv --output lead_magnets.json

What it produces:

  • Pain point clusters with respondent counts
  • Segments ranked by size and commercial potential
  • For each top segment, a lead magnet brief:
    • Title, format (guide/checklist/template/calculator), hook
    • Content outline (5–7 sections)
    • Target CTA and distribution channel
    • Viral potential score + conversion potential score
  • Prioritized implementation roadmap

CSV format: Questions as column headers, one respondent per row. Works with any survey tool export (Typeform, Google Forms, SurveyMonkey, etc.)

Configuration

No API keys required. Both tools work with local analysis only.

Optional environment variables:

Variable Required Description
USER_AGENT No Custom user agent for page fetching (default provided)
REQUEST_TIMEOUT No HTTP timeout in seconds (default: 15)
  1. Weekly: Run cro_audit.py on your top landing pages to track CRO scores over time
  2. Post-survey: Run survey_lead_magnet.py to turn survey data into content strategy
  3. Pre-launch: Audit new landing pages before driving paid traffic
  4. Monthly: Batch audit competitor landing pages to benchmark against

Dependencies

pip install -r requirements.txt
1# AI Conversion Ops
2 
3## Preamble (runs on skill start)
4 
5```bash
6# Version check (silent if up to date)
7python3 telemetry/version_check.py 2>/dev/null || true
8 
9# Telemetry opt-in (first run only, then remembers your choice)
10python3 telemetry/telemetry_init.py 2>/dev/null || true
11```
12 
13> **Privacy:** This skill logs usage locally to `~/.ai-marketing-skills/analytics/`. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See `telemetry/README.md`.
14 
15---
16 
17AI-powered conversion rate optimization: landing page audits, CRO scoring, survey segmentation, and lead magnet generation.
18 
19## When to Use
20 
21- User asks for a landing page audit or CRO analysis
22- User wants to score a page across conversion dimensions
23- User needs to identify conversion bottlenecks on a URL
24- User has survey data and wants to segment respondents by pain point
25- User wants lead magnet ideas generated from survey responses
26- User needs batch CRO analysis across multiple URLs
27 
28## Tools
29 
30### CRO Audit (`cro_audit.py`)
31 
32Fetches a landing page and scores it across 8 conversion dimensions. No headless browser needed.
33 
34```bash
35# Single URL audit
36python cro_audit.py --url https://example.com/landing-page
37 
38# Batch mode — multiple URLs
39python cro_audit.py --urls https://example.com/page1 https://example.com/page2
40 
41# URLs from a file (one per line)
42python cro_audit.py --file urls.txt
43 
44# Specify industry for benchmark comparison
45python cro_audit.py --url https://example.com --industry saas
46 
47# JSON output
48python cro_audit.py --url https://example.com --json
49 
50# Save report to file
51python cro_audit.py --url https://example.com --output report.json
52```
53 
54**Scoring dimensions (each 0–100):**
551. **Headline Clarity** — Is the value prop obvious in <5 seconds?
562. **CTA Visibility** — Are CTAs prominent, contrasting, above the fold?
573. **Social Proof** — Testimonials, logos, case studies, numbers?
584. **Urgency** — Scarcity, deadlines, limited offers?
595. **Trust Signals** — Security badges, guarantees, privacy, certifications?
606. **Form Friction** — How many fields? Is the form intimidating?
617. **Mobile Responsiveness** — Viewport meta, responsive patterns, touch targets?
628. **Page Speed Indicators** — Image optimization, script count, resource size?
63 
64**Overall CRO Score** = Weighted average across all 8 dimensions.
65 
66**Output includes:**
67- Per-dimension score with specific findings
68- Priority fixes ranked by impact
69- Before/after suggestions for each issue
70- Industry benchmark comparison
71- Overall letter grade (A+ through F)
72 
73**Supported industries:** `saas`, `ecommerce`, `agency`, `finance`, `healthcare`, `education`, `b2b`, `general`
74 
75### Survey-to-Lead-Magnet Engine (`survey_lead_magnet.py`)
76 
77Ingests survey CSV data, clusters respondents by pain point, and generates lead magnet briefs for each segment.
78 
79```bash
80# Basic usage — analyze survey CSV
81python survey_lead_magnet.py --csv survey_responses.csv
82 
83# Specify which columns contain pain points / challenges
84python survey_lead_magnet.py --csv survey.csv --pain-columns "biggest_challenge" "top_frustration"
85 
86# Limit number of segments
87python survey_lead_magnet.py --csv survey.csv --top-segments 5
88 
89# JSON output
90python survey_lead_magnet.py --csv survey.csv --json
91 
92# Save output
93python survey_lead_magnet.py --csv survey.csv --output lead_magnets.json
94```
95 
96**What it produces:**
97- Pain point clusters with respondent counts
98- Segments ranked by size and commercial potential
99- For each top segment, a lead magnet brief:
100 - Title, format (guide/checklist/template/calculator), hook
101 - Content outline (5–7 sections)
102 - Target CTA and distribution channel
103 - Viral potential score + conversion potential score
104- Prioritized implementation roadmap
105 
106**CSV format:** Questions as column headers, one respondent per row. Works with any survey tool export (Typeform, Google Forms, SurveyMonkey, etc.)
107 
108## Configuration
109 
110No API keys required. Both tools work with local analysis only.
111 
112Optional environment variables:
113 
114| Variable | Required | Description |
115|----------|----------|-------------|
116| `USER_AGENT` | No | Custom user agent for page fetching (default provided) |
117| `REQUEST_TIMEOUT` | No | HTTP timeout in seconds (default: 15) |
118 
119## Recommended Workflow
120 
1211. **Weekly:** Run `cro_audit.py` on your top landing pages to track CRO scores over time
1222. **Post-survey:** Run `survey_lead_magnet.py` to turn survey data into content strategy
1233. **Pre-launch:** Audit new landing pages before driving paid traffic
1244. **Monthly:** Batch audit competitor landing pages to benchmark against
125 
126## Dependencies
127 
128```bash
129pip install -r requirements.txt
130```
131 

Discussion