ashish7802/awesome-api-skills/mapbox
Claude Code and agent skill by ashish7802/awesome-api-skills
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install ashish7802/awesome-api-skills/mapboxSKILL.md
The same SKILL.md was published earlier as ashish7802/awesome-api-skills/mapbox.
Mapbox API Skill
Overview
Mapbox provides APIs for maps, geocoding, and routing. This skill focuses on the Mapbox Search (Geocoding) and Navigation APIs for backend services.
Installation
Authentication
Authenticate using Access Tokens. Default public tokens (pk.*) are for frontends. Secret tokens (sk.*) are for backends.
Core Concepts
- Geocoding: Converting text (addresses) into geographic coordinates.
- Isochrone: Calculating areas reachable within a given time.
- Matrix API: Travel times between many points.
Common Workflows
- Instantiate the client with your Secret Token.
- Call
geocodingService.forwardGeocode. - Extract
features[0].centerfor coordinates.
Error Handling
Catch network errors and parse the message from Mapbox. Check HTTP 422 for unprocessable geometry.
Security
Always use URL restrictions (Referrer matching) on Public Tokens. Keep Secret Tokens completely out of client-side code.
Rate Limits
Geocoding is limited to 600 requests per minute on standard plans.
Best Practices
Cache geocoding results permanently where legally allowed by the Terms of Service to dramatically reduce API costs and latency.
Troubleshooting
If reverse geocoding returns inaccurate results, ensure you are passing the correct types filter (e.g., address, poi).
References
Why use this skill
Use this when your agent works with mapbox — structured patterns beat pasted docs and prevent common hallucinations.
AI pitfalls
- Referencing CLI flags or config keys that do not exist
- Using outdated major versions of tools
- Skipping lockfile or version pinning in examples
Production checklist
- [ ] Secrets in environment variables, not source code
- [ ] Error handling and logging in place
- [ ] Rate limits and timeouts configured
Related skills
Last Verified: 2026-07-02
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mapbox/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 6
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ashish7802/awesome-api-skills/mapbox)