/crustdata:company-autocompletefrom Crustdata
Adds a company autocomplete field to forms with logo, domain, and headcount suggestions. Ships a React combobox and Node backend helper using the Crustdata API.
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.
Input: the text a user typed (2+ characters). Output: up to 5 companies with name, logo, domain and headcount, the exact API calls, and code to drop into the user's app.
Crustdata MCP at https://mcp.crustdata.com/mcp (tools mode). Tools: crustdata_autocomplete_company_v2 (free)
and crustdata_company_search_db_v2, plus crustdata_credit_costs (free). Put every argument inside params and
pass format: "json" to the search. A local Chrome, Chromium or Playwright for the PNG (optional).
user_query (the user's request, verbatim) on every call that accepts it (crustdata_credit_costs takes no
params).crustdata_credit_costs once (free) for this account's rates. Never quote prices
from memory. Below, <row rate> is its per-result rate for crustdata_company_search_db_v2, plus any premium
group in fields it bills on the response side.credits.spent_this_call, kept in a running spent. Never a formula.
For the snippets in the user's app: Node 18+, React 18+ and a Crustdata API key in CRUSTDATA_API_KEY.crustdata_autocomplete_company_v2).<row rate> per suggestion (one company search row each), so 5 × <row rate> for a 5-row
dropdown. Empty results are free.suggest.mjs caches by query. Tell the user this in one line, and offer names only (free,
names without logos) if they want zero spend.There is no question to ask for a single query: it costs at most limit × <row rate>. If the user asks to run
many queries (for example "test these 200 company names"), say the total (n × limit × <row rate>) and ask for a
cap (maxCredits) first.
Fewer than 2 characters: no call, no cost.
limit is 5 unless the user asks for another number (1 to 10). maxCredits defaults to limit × <row rate>.
crustdata_autocomplete_company_v2 with {"field": "basic_info.name", "query": <text>, "limit": <limit + 4>, "user_query": "<the user's request>"}.
It returns a plain list of names, best match first. Drop repeats (case-insensitive). For names only, stop here
and give the first limit names.limit names first (in parallel), then the extra names
one at a time only while fewer than limit suggestions have a domain and logo. crustdata_company_search_db_v2
with filters: {field: "basic_info.name", type: "=", value: <name>}, sorts: [{field: "headcount.total", order: "desc"}], limit: 1, fields: ["basic_info.name", "basic_info.primary_domain", "basic_info.logo_permalink", "basic_info.employee_count_range", "headcount.total", "taxonomy.professional_network_industry", "locations.country"], user_query (one row, <row rate>). Skip the
call if spent + <row rate> would pass maxCredits, and set stopped: "budget".primary_domain and logo_permalink, so the dropdown never shows a blank logo.
Drop repeats by domain. Keep the autocomplete order. At most limit suggestions.Each suggestion: name, domain (primary_domain), logo (logo_permalink), size (employee_count_range),
headcount (headcount.total), industry, country.
Save result.json in this shape, then run render.py:
{"query": "pay", "suggestions": [{"name": "", "domain": "", "logo": "", "size": "", "headcount": 0,
"industry": "", "country": ""}],
"names": [""], "spent": 0, "fetched": 0, "complete": true, "stopped": null}
names is the first limit free names, fetched the number of suggestions.
python3 scripts/render.py result.json company-autocomplete.png
Used N credits., N being spent (the sum of credits.spent_this_call).snippets/suggest.mjs (backend, Node 18+): POST https://api.crustdata.com/company/search/autocomplete
{ field: "basic_info.name", query, limit }, then POST https://api.crustdata.com/company/search per name.
Headers Authorization: Bearer $CRUSTDATA_API_KEY, x-api-version: 2025-11-01. Caches by lowercase query,
2 s timeout, returns [] on any error so the field still works as plain text.snippets/CompanyAutocomplete.tsx (frontend): calls the user's own /api/companies?q= route (never the
Crustdata API from the browser, which would expose the key), 250 ms debounce, aborts stale requests,
arrow keys, Enter and Escape, logo + name + domain per row.names without logos, stopped: "no_access: crustdata_company_search_db_v2", and say in one line: "Company search isn't on your plan, so
suggestions come without logos and domains. Ask your Crustdata contact to enable it." A 403 on the autocomplete
itself: stop, say so.stopped: "out_of_credits". Return the free names and what was spent.README.md (opens in a new tab)assets/crustdata-logo-dark.png (opens in a new tab)assets/crustdata-logo-light.png (opens in a new tab)assets/crustdata-mark.svg (opens in a new tab)evals/evals.json (opens in a new tab)examples/pay.json (opens in a new tab)examples/pay.png (opens in a new tab)scripts/render.py (opens in a new tab)snippets/CompanyAutocomplete.tsx (opens in a new tab)snippets/suggest.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
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".
Other plugins' skills for the same job