growthenginenowoslawski/coldoutboundskills/prospeo-full-export

Claude Code and agent skill by growthenginenowoslawski/coldoutboundskills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Export your entire Prospeo people search to CSV. Build filters in Prospeo's UI, then use this skill to extract every result via the API — even searches over 25K. Handles pagination, rate limiting, deduplication, and state-by-state splitting automatically. Pair with /icp-prompt-builder on a 50-person sample to tune a qualification prompt BEFORE exporting 25K.

Install

npx vskill@latest install growthenginenowoslawski/coldoutboundskills/prospeo-full-export

SKILL.md

The same SKILL.md was published earlier as growthenginenowoslawski/coldoutboundskills/prospeo-full-export.

Prospeo Full Search Export

Extract your entire Prospeo people search to a CSV file. Build your search in Prospeo's UI, then let Claude pull every single result via the API — even if the search has more than 25,000 results.

Required step: Qualify with /icp-prompt-builder (do not skip)

Before exporting more than 500 contacts, run Prospeo on a 50-contact sample, then invoke /icp-prompt-builder to tune a qualification prompt in 3-5 rounds of 10 (with your approval each round). Apply the tuned prompt to the full export to filter out bad fits.

Why required: email enrichment downstream costs $0.05-$0.15 per person. A 25K export that's 40% wrong-fit wastes $500-$1,500 on email-finding that goes nowhere. The ICP prompt builder takes 10-15 min and saves that cost 40-70% of the time.

Safe skip: only if your Prospeo filter is already extremely tight (e.g., 5 exact titles + 1 industry + narrow headcount) AND you've run the same filter successfully before. Even then, run /icp-prompt-builder on 10 samples as a sanity check — it's nearly free to confirm.

What This Does

  1. You build a search in Prospeo's web UI (filters for title, location, industry, company size, etc.)
  2. You tell Claude what filters you used
  3. Claude translates those filters into Prospeo API calls
  4. Claude paginates through every page of results and exports to CSV
  5. For large US searches (25K+), Claude automatically splits by state to get everything

Setup (First Time Only)

Step 1: Create a Prospeo Account
  1. Go to prospeo.io and sign up
  2. Choose a plan that includes the Search Person API (most paid plans do)
  3. Each API request that returns results costs 1 credit and returns 25 contacts
Step 2: Get Your API Key
  1. Log into Prospeo
  2. Go to Settings > API (or visit prospeo.io/app/settings/api)
  3. Copy your API key
Step 3: Set Your API Key

Set it as an environment variable so Claude can use it:

bash
# Add to your shell profile (~/.zshrc or ~/.bashrc)
export PROSPEO_API_KEY="your_api_key_here"

Then restart your terminal or run source ~/.zshrc.

Security note: Never paste your API key directly into a script file. Always use environment variables.


How to Use

Step 1: Build Your Search in Prospeo's UI

Go to prospeo.io/app/search and use the filters to build your search. The UI lets you filter by:

  • Job title (e.g., "CEO", "VP Sales", "Head of Marketing")
  • Location (e.g., "United States", "California", "New York")
  • Company industry (e.g., "Information Technology", "Healthcare")
  • Company headcount (e.g., 11-500 employees)
  • Company technology (e.g., "Salesforce", "HubSpot")
  • Revenue range
  • Contact details (has verified email, has phone number)

Note the total result count shown in the UI — you'll need this to estimate credits.

Step 2: Tell Claude Your Filters

Just describe what you filtered for. Examples:

"I searched for CEOs and CTOs at companies with 11-500 employees in the US, in the Information Technology industry, with verified emails."
"I'm looking for VP of Sales and Head of Sales at SaaS companies in California with 50-200 employees."
"I need all Marketing Directors in the US at companies using HubSpot, 20-1000 headcount."
Step 3: Claude Runs the Export

Claude will:

  1. Confirm the filters and estimated credit cost
  2. Create a TypeScript script
  3. Run it to paginate through all results
  4. Export everything to a CSV file in your current directory

Filter Reference

These are the exact filter names the Prospeo API accepts. When you describe your search, Claude maps your description to these:

UI FilterAPI Filter KeyFormat
Job Titleperson_job_title{ include: ["CEO", "CTO"], exclude: ["Intern"] }
Locationperson_location_search{ include: ["California, United States #US"] }
Industrycompany_industry{ include: ["Information Technology"] }
Headcountcompany_headcount_custom{ min: 11, max: 500 }
Technologycompany_technology{ include: ["Salesforce", "HubSpot"] }
Revenuecompany_revenue_custom{ min: 1000000, max: 50000000 }
Founded Yearcompany_founding_year{ min: 2010, max: 2025 }
Company Namecompany_name{ include: ["Acme"], exclude: ["Test"] }
Company Domaincompany_domain{ include: ["acme.com"] }
Has Emailperson_contact_details{ email: ["VERIFIED"] }
Has Phoneperson_contact_details{ mobile: ["TRUE"] }
Exact Title Matchperson_job_title{ include: [...], match_only_exact_job_titles: true }
Location Format

Locations must follow this exact format:

  • Country: "United States #US", "United Kingdom #GB", "Canada #CA"
  • State: "California, United States #US", "Texas, United States #US"
  • City: "San Francisco, California, United States #US"
Headcount Ranges (Common Presets)
Labelminmax
1-10110
11-501150
51-20051200
201-500201500
501-10005011000
1001-500010015000
5001-10000500110000
10001+10001(omit max)

API Details

Endpoint: POST https://api.prospeo.io/search-person

Auth: X-KEY header with your API key

Rate Limit: 2 requests per second (the script handles this automatically)

Pagination: 25 results per page, max 1000 pages = 25,000 results per search

Credits: 1 credit per request that returns at least 1 result. A 25,000-result search costs ~1,000 credits.

Request Format
typescript
const response = await fetch('https://api.prospeo.io/search-person', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-KEY': process.env.PROSPEO_API_KEY!,
},
body: JSON.stringify({
page: 1, // 1-1000
filters: {
person_job_title: { include: ['CEO', 'CTO'] },
person_location_search: { include: ['United States #US'] },
company_headcount_custom: { min: 11, max: 500 },
company_industry: { include: ['Information Technology'] },
person_contact_details: { email: ['VERIFIED'] },
},
}),
});
Response Format
typescript
{
error: false,
results: [
{
person: {
person_id: "abc123",
first_name: "Jane",
last_name: "Smith",
full_name: "Jane Smith",
current_job_title: "CEO",
linkedin_url: "https://linkedin.com/in/janesmith",
email: "jane@acme.com",
email_status: "VERIFIED",
phone: "+14155551234",
location: { city: "San Francisco", state: "California", country: "United States" }
},
company: {
name: "Acme Corp",
domain: "acme.com",
linkedin_url: "https://linkedin.com/company/acme",
industry: "Information Technology",
headcount: 150,
headcount_range: "51-200",
technologies: ["Salesforce", "HubSpot"],
location: { city: "San Francisco", state: "California", country: "United States" }
}
}
],
pagination: {
current_page: 1,
total_page: 400,
total_count: 10000,
per_page: 25
}
}

The 25K Limit: State-by-State Splitting

Prospeo caps any single search at 25,000 results (1,000 pages x 25 per page). If your US-wide search has more than 25K results, the script automatically splits it into 50 separate state-level searches.

How it works:

  1. Run the search once to check total_count
  2. If > 20,000, switch to state-by-state mode
  3. Replace "United States #US" with each state (e.g., "California, United States #US")
  4. Paginate through each state's results
  5. Deduplicate across states (by LinkedIn URL)

This means you can extract hundreds of thousands of results from a single search definition.

US States (ordered by population for efficiency)
California, Texas, Florida, New York, Illinois, Pennsylvania,
Ohio, Georgia, North Carolina, Michigan, New Jersey, Virginia,
Washington, Arizona, Massachusetts, Tennessee, Indiana, Missouri,
Maryland, Wisconsin, Colorado, Minnesota, South Carolina, Alabama,
Louisiana, Kentucky, Oregon, Oklahoma, Connecticut, Utah, Iowa,
Nevada, Arkansas, Mississippi, Kansas, New Mexico, Nebraska,
Idaho, West Virginia, Hawaii, New Hampshire, Maine, Montana,
Rhode Island, Delaware, South Dakota, North Dakota, Alaska,
Vermont, Wyoming

Script Template

When Claude generates the export script, it follows this pattern:

typescript
import { writeFileSync } from 'fs';
// --- Config ---
const API_KEY = process.env.PROSPEO_API_KEY;
if (!API_KEY) {
console.error('Set PROSPEO_API_KEY environment variable first.');
process.exit(1);
}
const RATE_LIMIT_MS = 500; // 2 requests/sec
const MAX_RETRIES = 5;
// --- Types ---
interface ProspeoFilters {
person_job_title?: { include?: string[]; exclude?: string[]; match_only_exact_job_titles?: boolean };
person_location_search?: { include?: string[]; exclude?: string[] };
company_headcount_custom?: { min?: number; max?: number };
company_industry?: { include?: string[]; exclude?: string[] };
company_technology?: { include?: string[]; exclude?: string[] };
company_revenue_custom?: { min?: number; max?: number };
company_founding_year?: { min?: number; max?: number };
company_name?: { include?: string[]; exclude?: string[] };
company_domain?: { include?: string[]; exclude?: string[] };
person_contact_details?: { email?: string[]; mobile?: string[]; operator?: string };
}
// --- Rate-limited fetch ---
const sleep = (ms: number) => new Promise(r => setTimeout(r, ms));
async function searchPage(filters: ProspeoFilters, page: number, retries = 0): Promise<any> {
await sleep(RATE_LIMIT_MS);
const res = await fetch('https://api.prospeo.io/search-person', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'X-KEY': API_KEY! },
body: JSON.stringify({ page, filters }),
});
if (res.status === 429 && retries < MAX_RETRIES) {
const backoff = Math.min(2000 * Math.pow(2, retries), 60000);
console.log(` Rate limited, waiting ${backoff / 1000}s...`);
await sleep(backoff);
return searchPage(filters, page, retries + 1);
}
if (!res.ok) throw new Error(`API error: ${res.status} ${res.statusText}`);
return res.json();
}
// --- Deduplication ---
const seenLinkedIn = new Set<string>();
const seenEmail = new Set<string>();
function isDuplicate(person: any): boolean {
const li = person.linkedin_url;
const em = person.email;
if (li && seenLinkedIn.has(li)) return true;
if (em && seenEmail.has(em)) return true;
if (li) seenLinkedIn.add(li);
if (em) seenEmail.add(em);
return false;
}
// --- CSV helpers ---
function escapeCSV(val: any): string {
if (val == null) return '';
const s = String(val);
return s.includes(',') || s.includes('"') || s.includes('\n')
? `"${s.replace(/"/g, '""')}"` : s;
}
function resultToRow(r: any): string[] {
const p = r.person || {};
const c = r.company || {};
return [
p.first_name, p.last_name, p.full_name, p.current_job_title,
p.email, p.email_status, p.phone, p.linkedin_url,
p.location?.city, p.location?.state, p.location?.country,
c.name, c.domain, c.linkedin_url, c.industry,
c.headcount, c.headcount_range,
(c.technologies || []).join('; '),
c.location?.city, c.location?.state, c.location?.country,
];
}
const CSV_HEADERS = [
'first_name', 'last_name', 'full_name', 'job_title',
'email', 'email_status', 'phone', 'linkedin_url',
'person_city', 'person_state', 'person_country',
'company_name', 'company_domain', 'company_linkedin', 'company_industry',
'company_headcount', 'company_headcount_range',
'company_technologies',
'company_city', 'company_state', 'company_country',
];

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
124
Repository forks
50
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/growthenginenowoslawski/coldoutboundskills/prospeo-full-export/badge)](https://verified-skill.com/skills/growthenginenowoslawski/coldoutboundskills/prospeo-full-export)

Something wrong with this skill or its page? Tell us.