/crustdata:social-connections <linkedin profile url> [extra instructions]from Crustdata
Maps a person's professional network from a single LinkedIn URL by analyzing job history, education, and post engagement. Outputs a ranked spreadsheet of inferred connections grouped by employer.
Ships in Crustdata. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Build a ranked, evidence-backed list of the people a target plausibly knows from one
LinkedIn URL, from overlap (jobs, schools, labs, teams) and first-party engagement
(comments, tags, co-authorship). Output: an .xlsx, tiered A-D, one row per person,
each with its verbatim reason and current employer.
Check the input first. It must be a person profile (linkedin.com/in/...).
Anything else: make no calls and ask for the person's profile URL (for "who works at
", suggest the account-research skill's org chart).
Server: https://mcp.crustdata.com/mcp. Tools take arguments in one params object
(crustdata_credit_costs and crustdata_credits_check take none). Examples show the
params contents.
user_query (the user's request, verbatim) on every call that accepts it.fields: list only the dot-paths you read. Never request a whole group (experience,
post reactors/comments) unless stated below. basic_profile.* returns the whole
basic_profile group.format: "json" on search tools. Parse a result saved to a file with a script; from
a result in context, write only the contract fields. Raw responses go in
<run-dir>/responses/, never raw/.truncate: false, limit 100 or less (the default truncation drops
billed rows).crustdata_account_endpoints_v2 (free) lists access. A 403 naming a
field: drop only that field, re-run, continue, record it in coverage, don't retry it
this session. Filtering and returning are gated separately.crustdata_autocomplete_person_v2 (free).remarks; fix the condition it names.Costs. Call crustdata_credit_costs once per run; never quote prices from memory.
Sum each response's spent (the footer balance lags). Quote the projected total and
wait for a yes before any run above ~25 credits.
experience, education).crustdata_social_post_search limit: 0 counts are free. People search rejects
limit: 0: size with limit: 1, fields: ["crustdata_person_id"]. Empty results
are free.phase 0 pull the target profile and posts (main loop)
phase 1 derive the angle set, write profile.md + BRIEF.md
phase 2 quote the cost, then fan out one agent per angle (6-10 angles)
phase 3 merge + score (scripts/merge.py)
phase 4 resolution pass (people enrich, 25 urls per call)
phase 5 re-merge + build the workbook (scripts/build_sheet.py)
phase 6 report, coverage gaps, priced next steps
Where you can launch subagents, run each angle and each resolution shard as its own agent, all in one message. Otherwise run them one after another here and halve each angle's cap.
Normalise the URL to https://www.linkedin.com/in/<slug> (no trailing slash, no query
string). In parallel, crustdata_credit_costs and crustdata_people_enrich_v2:
{
"professional_network_profile_urls": ["https://www.linkedin.com/in/<slug>"],
"fields": [
"crustdata_person_id", "basic_profile.name", "professional_network.connections",
"social_handles.professional_network_identifier",
"experience.employment_details.current.name", "experience.employment_details.current.title",
"experience.employment_details.current.crustdata_company_id",
"experience.employment_details.current.start_date", "experience.employment_details.current.function_category",
"experience.employment_details.past.name", "experience.employment_details.past.title",
"experience.employment_details.past.crustdata_company_id",
"experience.employment_details.past.start_date", "experience.employment_details.past.end_date",
"experience.employment_details.past.function_category",
"education.schools.school", "education.schools.degree", "education.schools.field_of_study",
"education.schools.start_year", "education.schools.end_year",
"skills.professional_network_skills"
]
}
Read matches[0].person_data. match_status: "redacted": stop, tell the user, never
look them up another way. No match: ask for a different URL.
Then, with crustdata_person_id as <id>, crustdata_social_post_search (first with
limit: 0; skip if 0):
{
"filters": {"op": "and", "conditions": [
{"field": "actor.crustdata_entity_id", "type": "=", "value": "<id>"},
{"field": "actor.actor_type", "type": "=", "value": "person"}
]},
"fields": ["share_url", "date_posted", "post_type", "engagement.total_reactions",
"engagement.total_comments", "text"],
"format": "json",
"limit": 5
}
Results come newest first. Every row is the target's own post, whatever its
post_type. Record the newest date_posted for the report. Truncate text to ~280
chars.
Read references/angles.md now to build the angle set.
Create the run directory outside any git repo, <somewhere>/<slug>-connections/
with raw/, and write run.json (the scripts read it):
{"name": "...", "linkedin_url": "...", "headline": "...", "connections": 500, "slug": "...", "person_id": 12345}
Keep the run directory private.
profile.md: work history with exact windows and crustdata_company_ids, education,
skills, and the posts (url, date, comment count, text excerpt).
Resolve positions with crustdata_company_id null or 0, and confirm the rest, with
crustdata_company_identify_v2 (names or domains, one type and up to 25 per call,
fields: ["basic_info"]). Take the top confidence_score match's
company_data.crustdata_company_id. On a tie, prefer the match whose
basic_info.primary_domain is the real domain (or re-run with domains), else keep
both and let the agent check which returns the expected people.
BRIEF.md: references/output-contract.md and references/crustdata-traps.md
verbatim, the target's crustdata_person_id and URL, the company ids, and the caps.
Every gather agent reads BRIEF.md and profile.md first.
and of
experience.employment_details.past.company_id (or .company_id) = each shared
employer and experience.employment_details.current.company_id in the named ids.Size every angle (people search limit: 1, post search limit: 0) and price it from
crustdata_credit_costs (base rate plus each premium group filtered on and returned).
Add the resolution pass (enrich rate per unresolved row; offer tiers A and B only on a
tight budget) and the optional live commenter pull (per post: post rate plus comments
rate per started 100). Tell the user the angles, each cap, and the total; wait for a yes.
Launch one agent per angle (6-10; a fast model is enough). Each prompt states the run dir, "read BRIEF.md and profile.md first", the angle slug, the orgs/schools/windows/ company_ids it owns, its strong/medium/weak rubric, its record cap, and these rules:
current_company / current_title (where they are now)cursor; for a pool past a few pages use crustdata_batch_person_search
(on timeout fetch with crustdata_get_batch, never resubmit); never re-run a searchuser_query on every callraw/<slug>.json and raw/<slug>.log.md (every call, params, spent)Free counts first (crustdata_social_post_search, limit: 0):
| bucket | filter (and group) | strength |
|---|---|---|
| tagged in | mentions.person_id = <id>, actor.actor_type = "person" | medium when the post tags 5 people or fewer, else weak; strong with a second tagged post or a named shared event |
| the target commented on their post | comments.crustdata_entity_id = <id>, comments.actor_type = "person" | strong |
| the target reacted to their post | reactors.crustdata_entity_id = <id>, reactors.actor_type = "person" | medium |
Public figure (tagged-in count in the thousands): add actor.crustdata_entity_id in
the person ids other angles found to the tagged-in filter, and skip the live commenter
pull unless asked.
Tagged-in: pull the newest 20 (count the rest in coverage), fields: ["share_url", "date_posted", "actor.name", "actor.professional_network_url", "actor.crustdata_entity_id", "actor.title", "actor.company_name", "mentions"]. The
author is the row; count mentions.person_ids for the strength rule. Commented-on and
reacted-to: the author is the row; for commented-on add comments to fields and quote
the comment whose commenter.crustdata_entity_id is <id>. A 0 in those two buckets is
a coverage gap.
Commenters on the target's own posts (live, opt-in, in the quote). Check
crustdata_account_endpoints_v2 with path: "/social_post/professional_network/enrich/live"; not enabled: skip and record it. Pick
the top 3 own posts with the phase 0 filter plus "sorts": [{"field": "engagement.total_comments", "order": "desc"}], limit: 3. For each,
crustdata_social_posts_v2:
{"social_post_url": "<share_url>", "fields": ["comments"], "max_comments": 100, "format": "json"}
Add "reactors" (with max_reactors) only if the user asks; on a 403 keep comments.
Each comment has comment_text, created_at and a commenter with name,
headline, professional_network_url (strip the query string) and
professional_network_urn (an id-based urn). Skip the target's own
comments, but a commenter the target replies to by name is strong. Comments on 2+
posts, or one showing a personal tie (working together, a shared event), are strong;
one comment is medium; a generic one ("Agreed", "Great post") is weak.
While agents run: check python3 -c "import openpyxl" (else pip install openpyxl),
merge partial results, and pass any trap an agent hits to the agents still running.
python3 scripts/merge.py <run-dir>
Dedupes by LinkedIn identity, merges evidence, caps each angle at its best two items,
tiers (references/scoring.md). Vanity and urn rows for one person merge after phase 4.
Check: top tier-A rows come from 3-4 independent angles; if mostly single-angle, an
angle is over-claiming strength.
Needed to slice by employer. For a scoped ask ("emails for the top 5"), resolve only the rows you will report.
python3 scripts/shard_resolve.py <run-dir> --shards 4 [--tiers AB]
--tiers limits the queue; record what it leaves out in coverage. Each shard sends
todo_N.json in batches of 25 to crustdata_people_enrich_v2:
{
"professional_network_profile_urls": ["<25 urls>"],
"fields": [
"basic_profile.name", "basic_profile.headline", "basic_profile.location.raw",
"social_handles.professional_network_identifier.profile_url",
"experience.employment_details.current.name", "experience.employment_details.current.title",
"experience.employment_details.current.is_default"
]
}
Join on matched_on, never on position. Per input write {"query_url", "resolved_url", "name", "headline", "location", "current_company", "current_title"}
(current job with is_default: true, else the first); {"query_url", "redacted": true} for redacted; {"query_url", "status"} when unmatched. Write
raw/resolve/done_N.json: one row per url in todo_N.json. A 400 naming a url: drop it
and re-run the batch.
python3 scripts/merge.py <run-dir> # folds in raw/resolve/done_*.json
python3 scripts/build_sheet.py --run-dir <run-dir> --dry-run
python3 scripts/build_sheet.py --run-dir <run-dir>
Writes <slug>-connections.xlsx: summary, all people, by employer, tier A/B/C/D,
coverage. "Leave out weak matches": --no-tier-d. "Only people clearly connected":
--min-tier B (the stricter wins). Otherwise keep tier D; suggest --no-tier-d when
tier D runs to thousands. For Google Sheets: upload to Drive and open with Sheets.
Report in order: workbook path and tier table; employer pivot (counts for any employer
the user named); top of tier A with reasons; credits spent (summed spent); not
covered (skipped posts, the index's newest post date, partial paging, unresolved names,
capped angles, every 403). Write the traps you hit to README.md in the run dir.
End with priced offers; run each only on the user's yes.
Contacts for tier A (or rows the user picks). Check, free and in parallel,
crustdata_account_endpoints_v2 with path: "/person/contact/enrich" and path: "/batch/person/contact/enrich". Neither enabled: say contact enrichment isn't on
their plan and skip contacts. Otherwise quote the business-email rate times the row
count; on yes use batch when it is enabled, sync only when batch is not:
crustdata_batch_person_contact_enrich: professional_network_profile_urls (up
to 300), fields: ["business_email"]; a batch_id without results: fetch with
crustdata_get_batch, never resubmitcrustdata_people_contact_enrich: professional_network_profile_urls (up to
100), fields: ["contact.business_emails"]Both take verified: true. Billed per person returned with an email. Show emails as
returned, with status, in a CSV next to the workbook.
Watches: crustdata_watch_create with preview: true first (free; shows
credits.per_notification), create on yes:
mode: "entity", entity_type: "person",
entities: {"professional_network_profile_urls": [...]}, track: {"op": "or", "conditions": [{"field": "experience.employment_details.current", "type": "added"}, {"field": "basic_profile.current_title", "type": "changed"}]}mode: "discovery", entity_type: "social_post",
filters = the tagged-in filterBoth: config: {"trigger": {"type": "interval", "every_hours": 24}}; first run and
no-change runs are free. Ask where to deliver: [{"type": "email", "to": [...]}],
[{"type": "slack", "webhook_url": "https://hooks.slack.com/..."}], or [] for
pull-only (read with crustdata_watch_runs). Report the watch id.
references/angles.md: building the angle setreferences/output-contract.md: the record schemareferences/scoring.md: strength, score, tiersreferences/crustdata-traps.md: data traps, pasted into BRIEF.mdhttps://mcp.crustdata.com/mcp): crustdata_people_enrich_v2,
crustdata_people_search_db_v2, crustdata_batch_person_search, crustdata_get_batch,
crustdata_company_identify_v2, crustdata_autocomplete_person_v2,
crustdata_social_post_search, crustdata_web_search_v2, crustdata_web_fetch_v2,
crustdata_credit_costs, crustdata_account_endpoints_v2. Optional, plan-dependent:
crustdata_social_posts_v2, crustdata_people_contact_enrich /
crustdata_batch_person_contact_enrich, crustdata_watch_create.openpyxl for the scripts.README.md (opens in a new tab)evals/evals.json (opens in a new tab)evals/test_merge.py (opens in a new tab)references/angles.md (opens in a new tab)references/crustdata-traps.md (opens in a new tab)references/output-contract.md (opens in a new tab)references/scoring.md (opens in a new tab)scripts/build_sheet.py (opens in a new tab)scripts/merge.py (opens in a new tab)scripts/shard_resolve.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
linkedin, network-mapping, social-selling, lead-generation, spreadsheet
npx claudepluginhub crustdata/skills --plugin crustdata42 skills in this plugin
/account-researchKnow a company completely. Opens by asking your goal and where your context lives (CRM? call recorder? team chat? email?), then routes to 4 modes - account deep-dive & plan (external + your internal history with them), org chart (who runs it), tech stack & wedge, competitive battlecard. Use for "tell me about <company>", "account plan for <company>", "org chart for <company>", "what's their tech stack", "battlecard for <competitor>", "how do we beat <X>", "research this account".
/account-signalsAccount buying signals and trigger events for sales and account-based marketing. Takes a target account list (up to 25 domains) and the buying function you sell to (sales, marketing, engineering, data, security, finance, people, or your own title keywords) and returns the dated signals of the last 30 days for each account: new executive hires in that function, team growth in that function (people who joined in the window), a new funding round, a hiring spike for the function's roles (postings this window against the one before), and, opt-in, leadership posts about the problem space. Ranks the signals, picks the strongest per account, names who to contact (the new leader, or the most senior person in the function) and writes one opener line per signal. Counts first, asks for a budget, stops hard at maxCredits. Use for "buying signals", "trigger events", "intent signals", "why now", "new VP of Sales", "just raised", "hiring spike", "account prioritization", "who to reach out to this week", "signal-based selling".
/buyer-outreachEnd-to-end outbound prospecting for sales teams: ideal customer profile to account list to buyers to contact data to outreach. Takes an ICP (industry or category, headcount band, country, funding stage, growth), finds the matching companies ranked by growth, finds one or two likely buyers at each by title (CTO, VP Engineering, Head of Platform, CISO, CFO, CRO), looks up their business emails, and drafts one short email per buyer that opens on a real signal from the data (a new round, a hiring push, headcount growth, a new role). Saves drafts to Gmail when connected, never sends. Counts first and asks before every paid step, with a hard credit cap. Use for "find buyers and reach out", "outbound list with emails", "prospect list", "who to email at these accounts", "account-based outreach", "write first emails to target accounts".
/candidate-shortlistCandidate sourcing and recruiting shortlist from a job description (pasted text or a link) or a role brief: role, city or remote, seniority (senior, staff, lead), company type or industry (fintech, banking, SaaS), must-have and nice-to-have skills, and dealbreakers. Parses the JD into a brief and shows it back for correction first. Returns a ranked shortlist of verified people with proof of work for each: current title and company, past employers, tenure, years of experience, notable companies, matched skills and a score out of 100, plus a shortlist image with faces and company logos. Counts matches first, shows the credit estimate, asks for a budget, stops hard at maxCredits, and looks up business emails only for the candidates the user picks, then drafts a short personal outreach email for each one (Gmail drafts when Gmail is connected, never sent). Use for "source candidates", "find engineers in", "shortlist for a role", "talent search", "recruiting pipeline", "who could we hire", "sourcing list with emails", "candidates for this job description", "who fits this JD", "draft outreach to candidates", "recruiting emails".
/candidate-sourcingEnd-to-end candidate sourcing: find engineering and research candidates by their actual work (papers, open-source repos, titles), verify their profile URLs, get business emails, write personalized outreach and create Gmail drafts, plus an optional watch on candidates or new matches. Use when someone wants to go from "I need candidates for role X" to ready-to-send drafts. Trigger on: "source and email candidates", "find engineers and draft outreach", "build a candidate pipeline", "find people for [role] and set up emails", "automate candidate outreach", "run the full sourcing pipeline", "verify these LinkedIn URLs", "I have LinkedIn URLs for these candidates, find their emails and draft outreach", or any variation where the goal is both finding candidates AND reaching out.
/champion-trackingChampion tracking and job change alerts for sales and customer success. Takes past champions, customer contacts or users as a list of profile URLs, or a company whose alumni you track, and returns everyone who started a new job in the last N months: their old role, their new company and title, the start month, and a fit grade for the new company from headcount, 6-month growth and funding against your ICP. Removes internal promotions, board seats, advisory roles and communities. Counts first, shows the credit estimate, asks for a budget and stops hard at maxCredits. Use for "champion tracking", "job changes", "where did our champions go", "former customers who moved", "alumni in new roles", "warm accounts from job changers", "people who left a company".
Other plugins' skills for the same job