Build company lists using Extruct API methods, guided by a decision tree. Reads from the company context file for ICP and seed companies.
Also check for a hypothesis set at claude-code-gtm/context/{vertical-slug}/hypothesisset.md. If it exists, use the Search angle field from each hypothesis to design search queries — these are pre-defined query suggestions tailored to each pain point.
Before making API calls, check that EXTRUCTAPITOKEN is set by running test -n "$EXTRUCTAPITOKEN" && echo "set" || echo "missing". If missing, ask the user to provide their Extruct API token and set it via export EXTRUCTAPITOKEN= . Do not proceed until confirmed.
Build targeted company lists for outbound campaigns using the Extruct API. Use when the user wants to: (1) find companies matching an ICP, (2) build a prospect or outbound list, (3) search for companies by description, (4) discover companies in a market segment, (5) create a target account list, (6) research a competitive landscape, (7) find lookalike companies from a seed list. Triggers on: "find companies", "build a list", "company search", "prospect list", "target accounts", "outbound list", "discover companies", "ICP search", "lookalike search", "seed company". Source: extruct-ai/gtm-skills.