lead-routing
Installation
SKILL.md
Lead Routing
Input: signup emails, optionally rules. Output: a segment and an owner per email, the rule config, and a leads-to-buckets image.
Tool dependencies
Crustdata MCP at https://mcp.crustdata.com/mcp (tools mode). Tools: crustdata_company_search_db_v2 and
crustdata_credit_costs (free). Put every argument inside params and pass format: "json". 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.<row rate>below is the company search per-result rate plus any premium group it bills for thefieldsreturned (headcounthere). - Spend is the sum of each answer's
credits.spent_this_call, kept in a runningspent. Never a formula. For the snippet in the user's app: Node 18+ and a Crustdata API key inCRUSTDATA_API_KEY.