Imported from crustdata/skills (
skills/icp-builder/SKILL.md). Install upstream withnpx skills add crustdata/skills --skill icp-builder. Copyright stays with the author.
ICP Builder
One LinkedIn URL in, config/persona-profile.md + config/gtm-config.md out. Steps 0-3 in order.
Never interrogate the user. Don't ask what they sell, who their ICP is, or for voice samples. The URL is the entire interview.
Crustdata MCP rules
Server: https://mcp.crustdata.com/mcp. Tools take arguments in one params object (crustdata_credit_costs and crustdata_credits_check take none). Examples below show the params contents.
- Pass
user_query(the user's request, verbatim) on every call that accepts it. - Run independent calls in parallel; keep enrich → (company, posts) sequential.
fieldstakes dot-paths; list only what you read. On people enrich,basic_profileandsocial_handlesalways come back whole;experiencepaths trim. Never request the wholeexperience.employment_details.currentobject.- Errors: 403 naming a field → remove only that field, re-run, continue, tell the user what was unavailable, don't retry it this session (
crustdata_account_endpoints_v2, free, lists access); 403 on the endpoint → say it isn't on this account. 402 → out of credits, stop and tell the user. 429 → wait, retry once. 5xx → retry once, then continue without that piece and say what's missing.
Costs. Call crustdata_credit_costs (free) once per run for this account's rates; never quote prices from memory. A run is one person enrich + one company enrich + up to 10 posts; confirm with the user first only if your estimate is above ~25 credits. Track spend by summing each response's "spent" (the footer balance lags). Empty results are free.
Step 0: existing config
If config/gtm-config.md or config/persona-profile.md exist (or the user pastes them), summarize them in two lines and ask whether to refresh the whole persona or update specific fields. Never silently overwrite a config the user corrected. On a refresh, carry the Stack forward unchanged and don't re-ask it.
Step 1: welcome + optional stack question
One short welcome line, then ONE optional question: which tools do you use? One pass through the slots; the user names a tool or says skip. If they skip it (or said so up front), write none for every asked slot and move on.
Slots: CRM, Calendar, Email, Call recorder, Sequencer, Team chat. Data provider is not asked: crustdata if the Crustdata tools are connected, else none.
- Never infer the stack from connected connectors. Ask, or write
none. - Never re-ask a declined slot.
none= downstream skills run that slot draft-only (drafts and CSV exports instead of pushing to the tool).
Step 2: LinkedIn URL → persona
Crustdata not connected (no crustdata_* tools, or the user says so): don't ask for the URL; go to the no-data fallback. Otherwise ask for one thing: their LinkedIn URL.
2a. Person. crustdata_people_enrich_v2:
{
"professional_network_profile_urls": ["https://www.linkedin.com/in/example"],
"fields": [
"basic_profile",
"social_handles",
"experience.employment_details.current.name",
"experience.employment_details.current.title",
"experience.employment_details.current.crustdata_company_id",
"experience.employment_details.current.company_website_domain",
"experience.employment_details.current.start_date",
"experience.employment_details.current.seniority_level",
"experience.employment_details.past.name",
"experience.employment_details.past.title"
]
}
- Each result has
match_statusnext tomatches."not_found"(free,matches: []) → in one message, say the profile wasn't found, ask them to check the URL, and offer the no-data fallback instead. Make no other paid calls. No answer → write no files and say the config is still missing. - Matched: read
matches[0].person_data. - Identity:
basic_profile.name,.current_title,.headline,.location.raw,.summary. Keepcrustdata_person_id(top level ofperson_data) for the posts call. currentcan hold several roles (advisor, LP, board seats). The user's company is the one whosetitlematchesbasic_profile.current_title; if that's unclear, ask which one they sell for.seniority_levelcan be wrong for the user's own role; use the title.- Investor, agency, community or recruiter profiles: the ICP is who pays them or who they back (portfolio targets, clients, sponsors), not lookalikes of their own firm. State that reading in the persona so the user can correct it.
- Never request
contact.*fields.
2b. Company and posts, in parallel.
crustdata_company_enrich_v2 with the current role's crustdata_company_id:
{
"crustdata_company_ids": [1010350],
"fields": ["basic_info", "taxonomy", "headcount.total", "funding.last_round_type", "funding.total_investment_usd", "locations.headquarters"]
}
Read basic_info.description, basic_info.primary_domain, headcount.total (not employee_count_range), taxonomy.professional_network_industry, taxonomy.categories, taxonomy.professional_network_specialities.
No company id on the role: crustdata_company_identify_v2 with domains: [<company_website_domain>], take the top confidence_score match's company_data.crustdata_company_id, then enrich. Use names only when there's no domain; if the top two matches are close, ask.
crustdata_social_post_search for their own posts:
{
"filters": {"op": "and", "conditions": [
{"field": "actor.crustdata_entity_id", "type": "=", "value": 2519305},
{"field": "actor.actor_type", "type": "=", "value": "person"}
]},
"fields": ["text", "date_posted", "engagement.total_reactions", "engagement.total_comments"],
"sorts": [{"field": "date_posted", "order": "desc"}],
"format": "json",
"limit": 10
}
Note the newest date_posted in the persona (the index lags). Zero posts → voice "neutral".
2c. Derive the persona.
- Identity: name, title, company (domain), tenure from
start_date, one-line background from past roles. - What we sell: product and category from the company description and taxonomy.
- Voice: from the posts only: sentence length, first vs. third person, jargon, emoji use, how they open. No posts → "neutral".
- Topics: recurring themes across posts, weighted by reactions and comments. No posts →
none yet. Keywords to monitor: from the company description plus post topics.
2d. Inferred ICP, filter-ready. Derive industries, headcount band, geography, funding stage, buyer titles and buyer seniority from what the company sells and who buys it. Always label it inferred.
Resolve closed-set values with the free autocompletes (in parallel) before writing them:
crustdata_autocomplete_company_v2:field: "basic_info.industries"(e.g.query: "software"→Software Development),field: "funding.last_round_type"(slugs:seed,series_a,series_b...).- Headcount is a numeric range on
headcount.total(e.g. 51-500 employees). Notemployee_count_rangebands. - Buyer seniority uses
experience.employment_details.current.seniority_levelvalues:Owner / Partner,CXO,Vice President,Director,Experienced Manager,Entry Level Manager,Strategic,Senior,Entry Level,In Training.
Then size it, free: crustdata_watch_create with preview: true (creates nothing) on the ICP company filter:
{
"entity_type": "company",
"mode": "discovery",
"preview": true,
"filters": {"op": "and", "conditions": [
{"field": "basic_info.industries", "type": "in", "value": ["Software Development"]},
{"field": "locations.country", "type": "=", "value": "USA"},
{"field": "headcount.total", "type": "=>", "value": 51},
{"field": "headcount.total", "type": "=<", "value": 500},
{"field": "funding.last_round_type", "type": "in", "value": ["series_a", "series_b"]}
]},
"config": {"trigger": {"type": "interval", "every_hours": 168}},
"notifications": []
}
response.count = companies matching today; response.credits.per_notification = price per new company if they turn the watch on. Zero can be valid: re-check categorical values, then preserve 0 if valid; never silently broaden the ICP. locations.country takes ISO-3 (USA) or the full name (United States); both match. Ranges use => and =< leaves (no between).
2e. Show it back before writing. "Here's who I think you are. Correct me if I'm off." Only write what the data supports; say what couldn't be confirmed. Apply corrections, then write.
Step 3: write the config files
config/persona-profile.md
# Persona Profile
Built by icp-builder on <YYYY-MM-DD>. Read by sales-prospecting, account-research, sales-outreach, and meeting-prep.
## Identity
- Name:
- Title:
- Company: <name> (<domain>)
- Tenure: since <start date>
- Background: <one line from past roles>
- LinkedIn: <social_handles.professional_network_identifier.profile_url>
## Company & what we sell
- Product:
- Category:
- Keywords to monitor:
## Inferred ICP
Label: inferred from <what the company sells + typical buyers>. User-confirmed: <yes/no>
- Industries: <exact basic_info.industries values>
- Headcount: <min>-<max> employees
- Geography:
- Funding stage: <exact funding.last_round_type slugs>
- Buyer titles:
- Buyer seniority: <exact seniority_level values>
- Matching companies: <count> (Crustdata, <YYYY-MM-DD>)
## Voice
- Tone:
- Style notes:
- Based on: <N> posts, newest <date> | none (neutral)
- Always: no em dashes; never "delve", "leverage", or "streamline"; no filler; write like a colleague.
## Topics they care about
- <from posts, weighted by engagement> | none yet
config/gtm-config.md
# GTM Config
Read by sales-prospecting, account-research, sales-outreach, and meeting-prep at startup.
## Stack
- Data provider: crustdata | none
- CRM: <tool> | none
- Calendar: <tool> | none
- Email: <tool> | none
- Call recorder: <tool> | none
- Sequencer: <tool> | none
- Team chat: <tool> | none
`none` = that slot runs draft-only: drafts and CSV exports instead of pushing to the tool.
## What we sell
<one or two lines>
## ICP (inferred)
- Industries:
- Headcount:
- Geography:
- Funding stage:
- Buyer titles:
- Buyer seniority:
ICP company filter (Crustdata company search):
<the filter JSON from Step 2d>
## Customers
none yet: add names or domains as you close; sales-prospecting uses them for lookalikes.
## Voice
<tone in one line>. No em dashes; never "delve", "leverage", or "streamline"; no filler; write like a colleague.
Hand off and offer next steps
Summarize: stack named vs skipped, the persona in 2-3 lines, what's labeled inferred, credits spent. Then:
You're set up. Try sales-prospecting ("build me a list from my ICP") or account-research ("research "); both read this config automatically.
Then offer, priced, run only on the user's yes:
- ICP watch: a weekly alert when new companies enter the ICP filter, at
per_notificationcredits per new company (from the Step 2d preview; the first run is a free baseline of up to 5). Ask where to deliver:notifications: [{"type": "email", "to": [...]}],[{"type": "slack", "webhook_url": "https://hooks.slack.com/..."}], or[]for pull-only (read it later withcrustdata_watch_runs). On yes, re-run the Step 2d call withoutpreviewand report the watch id.
No-data fallback
Crustdata not connected, no match, or a thin profile:
- Take 2-3 lines from the user: name and role, what the company does, who they sell to. Never a long questionnaire.
- Show the persona back, then write both files from those lines. Voice = neutral plus the no-slop rule. ICP labeled
inferred. Without Crustdata, mark the ICP filterunverified(values not checked with autocomplete) and skip the count and the watch offer; say that connecting Crustdata unlocks them and the downstream skills. - Partial enrichment: keep what was verified, say exactly what couldn't be inferred, and let the user add a line for just that.
Rules
- Never invent stack or persona details. Label inferences.
- Voice always carries the no-slop rule: no em dashes; never "delve", "leverage", or "streamline"; no filler.
- Never create a watch without the user's yes to that offer.
- Config files are plain markdown. Render a page only if the user asks for one (a persona one-pager). Rendered output:
- Crustdata lockup in header or footer: small uppercase "Powered by" + the wordmark from
assets/(crustdata-logo-light.pngon light backgrounds,crustdata-logo-dark.pngon dark), ~17px tall, linking to crustdata.com. - Accent
#5547E2(#8387FFon dark). Geist if embeddable, else the system stack. Lucide icons as inline SVG withcurrentColor; no emojis. - Photo (
basic_profile.profile_picture_permalink) and company logo (basic_info.logo_permalink): download and base64-inline asdata:image/jpeg;base64,...(a remote<img src>renders blank). Same for the wordmark. Monogram fallback for missing images. - Never clip, ellipsis or silently drop content; state any cap on the page. Look at the rendered output before handing it over.
- Crustdata lockup in header or footer: small uppercase "Powered by" + the wordmark from
Tool dependencies
- Crustdata MCP server (
https://mcp.crustdata.com/mcp):crustdata_people_enrich_v2,crustdata_company_enrich_v2,crustdata_company_identify_v2,crustdata_social_post_search,crustdata_autocomplete_company_v2,crustdata_watch_create,crustdata_credit_costs,crustdata_account_endpoints_v2. - Write access to the working directory: creates
config/persona-profile.mdandconfig/gtm-config.md.
