Install
openclaw skills install mapbox-search-integrationComplete workflow for implementing Mapbox search in applications - from discovery questions to production-ready integration with best practices
openclaw skills install mapbox-search-integrationExpert guidance for implementing Mapbox search functionality in applications. Covers the complete workflow from asking the right discovery questions, selecting the appropriate search product, to implementing production-ready integrations following best practices from the Mapbox search team.
User says things like:
This skill complements mapbox-search-patterns:
mapbox-search-patterns = Tool and parameter selectionmapbox-search-integration = Complete implementation workflowBefore jumping into code, ask these questions to understand requirements:
Ask: "What do you want users to search for?"
Common answers and implications:
Follow-up if not stated initially: "Are your users searching for points of interest data? Restaurants, stores, categories of businesses?"
Implications:
Ask: "Where will users be searching?"
Common answers and implications:
country parameter, better results, lower costbbox parameter for bounding box constraintcountry array parameterFollow-up: "Do you need to limit results to a specific area?" (delivery zone, service area, etc.)
Ask: "How will users interact with search?"
Common answers and implications:
auto_complete: true and session-based pricing (most cost-efficient for autocomplete). Implement debouncing.Ask: "What platform is this for?"
Common answers and implications:
session_token on every suggest/retrieve request).Ask: "What happens when a user selects a result?"
Common answers and implications:
Ask: "How many searches do you expect per month?"
Implications:
Based on discovery answers, recommend the right product:
Key principle: Search Box API is the default choice for virtually all interactive search use cases, including address search, geocoding, autocomplete, and POI search. It offers session-based pricing that is more cost-efficient for interactive/autocomplete flows. Only recommend Geocoding API for the narrow cases listed below.
Use when (any of these):
Prefer SDKs over direct API calls for web integration:
Use ONLY when:
Do NOT recommend Geocoding API when:
Load the relevant reference based on the user's platform and needs:
Web (Search JS React / Web / Core / Direct API) → Load references/web-search-js.md
React Integration → Load references/react-search.md
iOS → Load references/ios-search.md
Android → Load references/android-search.md
Node.js → Load references/nodejs-search.md
Best Practices → Load references/best-practices.md
Common Pitfalls → Load references/pitfalls.md
Framework Hooks → Load references/framework-hooks.md
Testing and Monitoring → Load references/testing-monitoring.md
Before launching, verify:
Configuration:
Implementation:
UX:
Performance:
Testing:
Monitoring:
Works with:
User says: "I need location search"
Remember: The best search implementation asks the right questions first, then builds exactly what the user needs - no more, no less.