company-autocomplete
БесплатноЗапускает вложенные скриптыНе проверенCompany autocomplete, company typeahead and company name search for your app's forms. Typed text in; matching companies out, each with name, logo, website…
от crustdata★ 17 звёзд на GitHubОб этом скилле
Company Autocomplete
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.
Tool dependencies
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).
- Pass
user_query(the user's request, verbatim) on every call that accepts it (crustdata_credit_coststakes no params). - At the start of each run, call
crustdata_credit_costsonce (free) for this account's rates. Never quote prices from memory. Below,<row rate>is its per-result rate forcrustdata_company_search_db_v2, plus any premium group infieldsit bills on the response side. - Spend is the sum of each answer's
credits.spent_this_call, kept in a runningspent. Never a formula. For the snippets in the user's app: Node 18+, React 18+ and a Crustdata API key inCRUSTDATA_API_KEY.
Cost, said up front
- Company names: free (
crustdata_autocomplete_company_v2). - Logo and domain:
<row rate>per suggestion (one company search row each), so5 × <row rate>for a 5-row dropdown. Empty results are free. - In an app the cost is per query, not per keystroke: the React component debounces 250 ms and starts at 2
characters, and
suggest.mjscaches 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.
1 · Run it
limit is 5 unless the user asks for another number (1 to 10). maxCredits defaults to limit × <row rate>.
- Names (free):
crustdata_autocomplete_company_v2with{"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 firstlimitnames. - Logo, domain and size, one call per name, the first
limitnames first (in parallel), then the extra names one at a time only while fewer thanlimitsuggestions have a domain and logo.crustdata_company_search_db_v2withfilters: {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 ifspent + <row rate>would passmaxCredits, and setstopped: "budget". - Keep a row only with both
primary_domainandlogo_permalink, so the dropdown never shows a blank logo. Drop repeats by domain. Keep the autocomplete order. At mostlimitsuggestions.
Each suggestion: name, domain (primary_domain), logo (logo_permalink), size (employee_count_range),
headcount (headcount.total), industry, country.
2 · Show it
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
- The image is the input with the typed text and the dropdown underneath. Without Chrome, Chromium or Playwright it writes the HTML; then list the suggestions.
- List the suggestions: name, domain, headcount.
- When the user is building this, give both snippets and the two API calls (below).
- End with one line:
Used N credits., N beingspent(the sum ofcredits.spent_this_call).
The snippets for the user's app
snippets/suggest.mjs(backend, Node 18+):POST https://api.crustdata.com/company/search/autocomplete{ field: "basic_info.name", query, limit }, thenPOST https://api.crustdata.com/company/searchper name. HeadersAuthorization: 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 reque
Установить company-autocomplete в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл company-autocomplete?
Company autocomplete, company typeahead and company name search for your app's forms. Typed text in; matching companies out, each with name, logo, website domain and headcount, best match first. Uses the free Crustdata company-name autocomplete, then one company search row per suggestion for the logo and domain. Ships the exact public API calls, a Node backend helper (suggest.mjs) with caching and a timeout, and a small dependency-free React combobox (CompanyAutocomplete.tsx) with debounce, keyboard navigation and logos, so product builders can replace a free-text company field with clean, deduplicated company records. Use when someone asks for company autocomplete, a company picker, a company search box, an employer field with logos, a Clearbit-style autocomplete, or how to turn typed company names into domains.
Как установить скилл company-autocomplete?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл company-autocomplete запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic