What problem does it solve? API calls to Montréal's open data portal fail in predictable but confusing ways: changed resource UUIDs, case-sensitive field names, inconsistent borough spellings, silent row truncation, and rate limits. This Skill provides a decision tree and concrete recovery patterns so an agent can fix the query instead of giving up. ## Core Features & Use Cases - Error Decision Tree: Maps HTTP status codes (404, 400, 403, 409, 500, timeouts) and empty-result cases to specific diagnostic and recovery steps. - Eight Recovery Patterns: Covers stale resource IDs, field name mismatches, borough name variations, 32,000-row pagination limits, text-typed numeric fields, rate limiting, non-CKAN endpoints (BIXI GBFS, STM GTFS, Planif-Neige SOAP), and French character encoding issues. - Use Case: A SQL query against the 311 dataset returns a 409 Conflict. The Skill directs the agent to narrow the date range before GROUP BY, add a LIMIT, or fall back to the datastore_search filter API. ## Quick Start When a Montréal open data query fails or returns empty results, apply the error-recovery decision tree to diagnose the cause and retry with the corrected query.