event-prospecting
Event prospecting skill. Takes a conference / event speakers URL, extracts the people, filters their companies against the user's ICP, then deep-researches only the speakers at ICP-fit companies. Outputs a person-first HTML report where each card answers "why should the AE talk to this person?" with all public links and a one-click DM opener. Use when the user wants to: (1) find leads at a specific conference, (2) prep for an event, (3) research event speakers, (4) build a target list from a sponsor/exhibitor page, (5) scrape conference speakers and rank by ICP fit. Triggers: "find leads at {event}", "research speakers at", "prospect this conference", "stripe sessions leads", "ai engineer summit prospects", "event prospecting", "scrape conference speakers", "who should I meet at".
NPX Install
npx skill4agent add browserbase/skills event-prospectingTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Event Prospecting
BROWSERBASE_API_KEYbb@browserbasehq/clibrowse@browserbasehq/browse-cli~$HOME{SKILL_DIR}/Users/jay/skills/skills/event-prospecting~/Desktop/{event_slug}_prospects_{YYYY-MM-DD-HHMM}/index.htmlcompanies.htmlpeople.htmlresults.csv- All web searches: use . NEVER use WebSearch.
bb search - All page content extraction: use . This script fetches via
node {SKILL_DIR}/scripts/extract_page.mjs "<url>", parses title + meta tags + visible body text, and automatically falls back tobb fetchwhen the page is JS-rendered or over 1MB. NEVER hand-roll abb browsepipeline. NEVER use WebFetch.bb fetch | sed - All research output: subagents write one markdown file per company OR per person to or
{OUTPUT_DIR}/companies/{slug}.mdusing bash heredoc. NEVER use the Write tool or{OUTPUT_DIR}/people/{slug}.md. Seepython3 -cfor both file formats.references/example-research.md - Report compilation: use .
node {SKILL_DIR}/scripts/compile_report.mjs {OUTPUT_DIR} --open - Subagents must use ONLY the Bash tool. No other tools allowed.
- HARD TOOL-CALL CAPS: ICP triage = 1 call/company; deep research = 5 calls/company; person enrichment = 4 calls/person. See for enforcement detail.
references/workflow.md
- NEVER infer ,
product_description, or a person'sindustryfrom a site's fonts, framework, design system, or typography. These are cosmetic and say nothing about what the company sells or what the person does.role_reason - NEVER let the user's own ICP leak into a target's description. If you don't know what the target does, write — do not pattern-match them onto the ICP.
Unknown - MUST quote or paraphrase a specific phrase from
product_descriptionoutput. If none of TITLE/META/OG/HEADINGS/BODY yield a recognizable product statement, writeextract_page.mjsand capUnknown — homepage content not accessibleat 3.icp_fit_score - A person's MUST quote or paraphrase a specific finding from a
hookresult (podcast title, blog headline, GitHub repo, talk abstract). If no public signal exists in the last 6 months, fall back to event-context (their talk title at this event).bb search
- Subagents MUST batch ALL file writes into a SINGLE Bash call using chained heredocs. One Bash call = one permission prompt.
- Batch ALL searches and ALL fetches into single Bash calls using chaining.
&&
Pipeline Overview
- Setup — output dir + clean slate
- Load profile — read
profiles/{user_slug}.json - Recon — detect event platform
- Extract people —
people.jsonl - Group by company —
seed_companies.txt - ICP triage — fast company-level scoring (1 call/company)
- Filter — companies with
icp_fit_score >= --icp-threshold - Deep research — full Plan→Research→Synthesize on ICP fits
- Enrich speakers — ask user: ICP-fit only (default) or all speakers
- Compile report — HTML + CSV, open in browser
/event-prospecting <URL>EVENT_URLDEPTH=deepICP_THRESHOLD=6USER_SLUGStep 0: Setup Output Directory
# EVENT_URL came from the invocation message (whatever the user typed after `/event-prospecting`)
EVENT_SLUG=$(node -e 'const h = new URL(process.argv[1]).hostname.replace(/^www\./,""); console.log(h.split(".")[0])' "$EVENT_URL")
TIMESTAMP=$(date +%Y-%m-%d-%H%M)
OUTPUT_DIR=/Users/jay/Desktop/${EVENT_SLUG}_prospects_${TIMESTAMP}
mkdir -p "$OUTPUT_DIR/companies" "$OUTPUT_DIR/people"~$HOME{OUTPUT_DIR}Step 1: Load User Profile
{SKILL_DIR}/profiles/{user_slug}.jsonexample.json{SKILL_DIR}/profiles/- If the user invoked with , use that slug.
--user-company <slug> - Else, list excluding
profiles/*.json. If exactly one profile exists, use it (and tell the user which one). If multiple exist, ask the user (plain chat) which one.example.json - If zero profiles exist, fail loudly and instruct the user to create one (copy to
profiles/example.jsonand fill it in, or run the company-research skill which builds one automatically).profiles/<your_slug>.json
PROFILES=$(ls {SKILL_DIR}/profiles/*.json 2>/dev/null | xargs -n1 basename | sed 's/\.json$//' | grep -v '^example$')
COUNT=$(echo "$PROFILES" | grep -c .)
if [ -z "$USER_SLUG" ]; then
if [ "$COUNT" -eq 0 ]; then
echo "No profiles found in {SKILL_DIR}/profiles/. Copy profiles/example.json to profiles/<your_slug>.json and fill it in, or run the company-research skill to build one."
exit 1
elif [ "$COUNT" -eq 1 ]; then
USER_SLUG=$PROFILES
echo "Using the only profile available: ${USER_SLUG}"
else
echo "Multiple profiles found:"
echo "$PROFILES" | sed 's/^/ - /'
echo "Re-invoke with --user-company <slug> to pick one."
exit 1
fi
fi
test -f {SKILL_DIR}/profiles/${USER_SLUG}.json || {
echo "Profile not found: profiles/${USER_SLUG}.json"
exit 1
}
cat {SKILL_DIR}/profiles/${USER_SLUG}.jsoncompanyproducticp_descriptionexisting_customersStep 2: Recon
node {SKILL_DIR}/scripts/recon.mjs {EVENT_URL} {OUTPUT_DIR}{OUTPUT_DIR}/recon.jsonplatformstrategynextDataPathsreferences/event-platforms.md- Stripe Sessions class (Next.js): , 1-3 paths
platform: "next-data" - Sessionize:
platform: "sessionize" - Lu.ma / Eventbrite:
platform: "luma" | "eventbrite" - Anything else: ,
platform: "custom"(best-effort fallback)strategy: "markdown"
Step 3: Extract People
node {SKILL_DIR}/scripts/extract_event.mjs {OUTPUT_DIR} --user-company {USER_SLUG}recon.jsonpeople.jsonlseed_companies.txt--user-companywc -l {OUTPUT_DIR}/people.jsonl {OUTPUT_DIR}/seed_companies.txt
head -3 {OUTPUT_DIR}/people.jsonlpeople.jsonlreferences/event-platforms.mdStep 4: Group by Company
extract_event.mjsseed_companies.txtwc -l {OUTPUT_DIR}/seed_companies.txtStep 5: ICP Triage
seed_companies.txtcompanies/{slug}.mdicp_fit_score >= --icp-thresholdseed_companies.txtreferences/workflow.mdextract_page.mjs# bb call N/1# Build batch files: each batch line is "name|guessed_homepage|slug".
# extract_event.mjs only emits company NAMES (no URLs), so we slugify and guess
# https://{slug-without-spaces}.com as the canonical homepage. The triage subagent
# is allowed to write product_description: "Unknown — homepage content not accessible"
# and cap score at 3 if the guessed URL 404s — that's the documented fallback in
# workflow.md (rule 3 of the ICP Triage prompt). Burning a real bb search to
# discover the URL would bust the 1-call-per-company HARD CAP.
node -e '
const fs = require("fs");
const slugify = (s) => (s || "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
const seed = fs.readFileSync("{OUTPUT_DIR}/seed_companies.txt", "utf-8").split("\n").filter(Boolean);
const lines = seed.map(c => {
const slug = slugify(c);
const guessedHost = c.toLowerCase().replace(/[^a-z0-9]/g, "");
return `${c}|https://${guessedHost}.com|${slug}`;
});
fs.writeFileSync("{OUTPUT_DIR}/_seed_with_urls.txt", lines.join("\n") + "\n");
'
# Split into ~10-company batches
split -l 10 {OUTPUT_DIR}/_seed_with_urls.txt {OUTPUT_DIR}/_batch_triage_
# Count batches → number of subagents to dispatch (cap at 6 per message; second wave for the rest)
ls {OUTPUT_DIR}/_batch_triage_* | wc -lreferences/workflow.md- → full literal skill path (e.g.
{SKILL_DIR})/Users/jay/skills/skills/event-prospecting - → full literal output path
{OUTPUT_DIR} - ,
{USER_COMPANY},{USER_PRODUCT}→ from the loaded profile{ICP_DESCRIPTION} - →
{EVENT_NAME}recon.json.title - → contents of the batch file (e.g.
{COMPANY_LIST})cat {OUTPUT_DIR}/_batch_triage_aa - → number of lines in this batch (substitute into
{TOTAL})# bb call N/{TOTAL}
Agent(
description: "ICP triage batch aa",
prompt: <ICP Triage prompt from workflow.md with all placeholders substituted>,
subagent_type: "general-purpose"
)
Agent(
description: "ICP triage batch ab",
prompt: <same prompt template, COMPANY_LIST swapped to batch ab>,
subagent_type: "general-purpose"
)
... up to 6 per messageseed_companies.txtcompanies/{slug}.mdls {OUTPUT_DIR}/companies/*.md | wc -l
# Should equal `wc -l {OUTPUT_DIR}/seed_companies.txt`rm {OUTPUT_DIR}/_batch_triage_*Step 6: Filter by ICP Threshold
companies/*.mdicp_fit_score >= 6--icp-threshold{OUTPUT_DIR}/icp_fits.txtTHRESHOLD=6 # from --icp-threshold flag
for f in {OUTPUT_DIR}/companies/*.md; do
score=$(awk '/^icp_fit_score:/{print $2; exit}' "$f")
if [ -n "$score" ] && [ "$score" -ge "$THRESHOLD" ]; then
basename "$f" .md
fi
done > {OUTPUT_DIR}/icp_fits.txt
wc -l {OUTPUT_DIR}/icp_fits.txtseed_companies.txtStep 7: Deep Research
companies/{slug}.mdtriage_only: falseicp_fits.txtreferences/workflow.md- ,
{SKILL_DIR},{OUTPUT_DIR},{USER_COMPANY},{USER_PRODUCT}{ICP_DESCRIPTION} - (from
{EVENT_NAME}recon.json),.title(track / topic, manually inferred from the event homepage){EVENT_CONTEXT} - → contents of the batch file (each line
{COMPANY_LIST})slug|website
# Build {company-slug|website} pairs by reading frontmatter from each triage stub
while read slug; do
website=$(awk '/^website:/{print $2; exit}' {OUTPUT_DIR}/companies/${slug}.md)
echo "${slug}|${website}"
done < {OUTPUT_DIR}/icp_fits.txt > {OUTPUT_DIR}/_deep_targets.txt
# Split into ~5-company batches (deep mode)
split -l 5 {OUTPUT_DIR}/_deep_targets.txt {OUTPUT_DIR}/_batch_deep_
ls {OUTPUT_DIR}/_batch_deep_* | wc -lAgent(
description: "Deep research batch aa",
prompt: <Deep Research prompt from workflow.md with all placeholders substituted; COMPANY_LIST = cat _batch_deep_aa>,
subagent_type: "general-purpose"
)
Agent(
description: "Deep research batch ab",
prompt: <same template, COMPANY_LIST = cat _batch_deep_ab>,
subagent_type: "general-purpose"
)
... up to 6 per message; second wave after the first returnstriage_only: falsegrep -l "triage_only: false" {OUTPUT_DIR}/companies/*.md | wc -l
# Should equal wc -l icp_fits.txtStep 8: Enrich Speakers
people/{slug}.md- (always)
bb search "{name} {company} linkedin" - (deep+)
bb search "{name} podcast OR talk OR blog 2026" - (deeper)
bb search "{name} github" - (deeper)
bb search "{name} site:x.com OR site:twitter.com"
Step 8a — Ask the user: scope of enrichment
TOTAL=$(wc -l < {OUTPUT_DIR}/people.jsonl)
ICP_FITS=$(node -e '
const fs = require("fs");
const fits = new Set(fs.readFileSync("{OUTPUT_DIR}/icp_fits.txt", "utf-8").split("\n").filter(Boolean));
const slug2name = {};
for (const slug of fits) {
const md = fs.readFileSync(`{OUTPUT_DIR}/companies/${slug}.md`, "utf-8");
const m = md.match(/^company_name:\s*(.+)$/m);
if (m) slug2name[slug] = m[1].trim();
}
const want = new Set(Object.values(slug2name).map(s => s.toLowerCase()));
const ppl = fs.readFileSync("{OUTPUT_DIR}/people.jsonl","utf-8").split("\n").filter(Boolean).map(JSON.parse);
console.log(ppl.filter(p => p.company && want.has(p.company.toLowerCase())).length);
')
# Lanes per person: 2 (deep) or 4 (deeper) — match {DEPTH}
LANES=2 # or 4 for deeper
echo "ICP fits: ${ICP_FITS} speakers × ${LANES} = $((ICP_FITS * LANES)) calls"
echo "All: ${TOTAL} speakers × ${LANES} = $((TOTAL * LANES)) calls"AskUserQuestionAskUserQuestion(questions: [
{
question: "Enrich which speakers?",
header: "Enrichment scope",
multiSelect: false,
options: [
{ label: "ICP fits only", description: "${ICP_FITS} speakers, ~$((ICP_FITS * LANES)) calls (recommended)" },
{ label: "All speakers", description: "${TOTAL} speakers, ~$((TOTAL * LANES)) calls" }
]
}
])ENRICH_SCOPE=icp_fitsENRICH_SCOPE=allTOTAL × LANES > 600Step 8b — Filter and batch
# Build _people_to_enrich.jsonl based on ENRICH_SCOPE
if [ "$ENRICH_SCOPE" = "all" ]; then
cp {OUTPUT_DIR}/people.jsonl {OUTPUT_DIR}/_people_to_enrich.jsonl
else
node -e '
const fs = require("fs");
const fits = new Set(fs.readFileSync("{OUTPUT_DIR}/icp_fits.txt", "utf-8").split("\n").filter(Boolean));
const slug2name = {};
for (const slug of fits) {
const md = fs.readFileSync(`{OUTPUT_DIR}/companies/${slug}.md`, "utf-8");
const m = md.match(/^company_name:\s*(.+)$/m);
if (m) slug2name[slug] = m[1].trim();
}
const wantNames = new Set(Object.values(slug2name).map(s => s.toLowerCase()));
const lines = fs.readFileSync("{OUTPUT_DIR}/people.jsonl", "utf-8").split("\n").filter(Boolean);
const keep = lines.filter(l => {
const p = JSON.parse(l);
return p.company && wantNames.has(p.company.toLowerCase());
});
fs.writeFileSync("{OUTPUT_DIR}/_people_to_enrich.jsonl", keep.join("\n") + "\n");
console.error(`Enriching ${keep.length} of ${lines.length} speakers`);
'
fi
# Split into ~5-person batches
split -l 5 {OUTPUT_DIR}/_people_to_enrich.jsonl {OUTPUT_DIR}/_batch_people_references/workflow.md- ,
{SKILL_DIR},{OUTPUT_DIR}({DEPTH}|deep)deeper - ,
{USER_COMPANY},{USER_PRODUCT}{ICP_DESCRIPTION} - (from
{EVENT_NAME}recon.json).title - →
{LANES}for deep mode,2for deeper mode (substituted into4)# bb call N/{LANES} - → contents of
{PEOPLE_BATCH}(each line a JSON record from_batch_people_aa)people.jsonl
Agent(
description: "Person enrichment batch aa",
prompt: <Person Enrichment prompt from workflow.md with all placeholders substituted; PEOPLE_BATCH = cat _batch_people_aa>,
subagent_type: "general-purpose"
)
Agent(
description: "Person enrichment batch ab",
prompt: <same template, PEOPLE_BATCH = cat _batch_people_ab>,
subagent_type: "general-purpose"
)
... up to 6 per messagels {OUTPUT_DIR}/people/*.md | wc -l
# Should equal wc -l _people_to_enrich.jsonlStep 9: Compile Report
node {SKILL_DIR}/scripts/compile_report.mjs {OUTPUT_DIR} --open- — people grouped by company, ranked by company ICP score (opens in browser)
{OUTPUT_DIR}/index.html - — filterable speaker list (alternate view)
{OUTPUT_DIR}/people.html - — ICP-ranked company table with attendees
{OUTPUT_DIR}/companies.html - — cold-outbound-ready spreadsheet
{OUTPUT_DIR}/results.csv
## Event Prospecting Complete — {Event Name}
- **Total speakers extracted**: {count}
- **Unique companies**: {count}
- **ICP fits (score ≥ {threshold})**: {count}
- **Speakers enriched**: {count}
- **Score distribution** (companies):
- Strong fit (8-10): {count}
- Partial fit (5-7): {count}
- Weak fit (1-4): {count}
- **Report opened in browser**: {OUTPUT_DIR}/index.html- Adjust and re-run Steps 6-9
--icp-threshold - Export the CSV to a CRM