Communitygithub.com

Datos Geográficos y de Lugares

Úsalo cuando una tarea requiera búsquedas geográficas en vivo:

¿Qué es Datos Geográficos y de Lugares?

Este skill proporciona un conjunto de APIs sin clave para obtener datos geográficos y de lugares: geocodificación de direcciones y coordenadas (Nominatim/OpenStreetMap), geocodificación inversa, obtención de coordenadas de ciudades (Open-Meteo Geocoder), consulta de códigos postales (Zippopotam) y datos de países (APICountries). Está diseñado para evitar el uso de APIs de pago como Google Maps, ofreciendo alternativas gratuitas y efectivas. Incluye reglas de etiqueto estrictas para Nominatim (máximo 1 solicitud/segundo, User-Agent real) y procedimientos claros para clasificar la entrada del usuario y seleccionar la API correcta. Es compatible con cualquier agente de IA que pueda realizar solicitudes HTTP, como Claude Code, Cursor y Codex, y está optimizado para consultas geográficas precisas sin necesidad de registros ni claves API.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SkillMedev/skills/tree/HEAD/skills/geo-places

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación


name: Datos Geográficos y de Lugares description: Úsalo cuando una tarea requiera búsquedas geográficas en vivo: "geocodifica esta dirección", "qué hay en estas coordenadas" (geocodificación inversa), "lat/lon para esta ciudad", "en qué país/estado está este código postal", o "datos del país: capital, moneda, población, bandera". Nominatim (OpenStreetMap) es el geocodificador predeterminado; Zippopotam para códigos postales; APICountries para datos de países. Todos sin clave. NO lo uses para el clima en una ubicación - usa weather-climate en su lugar; NO lo uses para estadísticas de país a lo largo del tiempo (PIB, tendencias de población) - usa government-open-data; si la solicitud es un vago "necesito datos en vivo", enruta a través de public-data-api-picker.

¿Qué hace Datos Geográficos y de Lugares?

Convierte nombres de lugares, direcciones, coordenadas y códigos postales en geografía estructurada con APIs sin clave. El error que esto previene: recurrir a la API de Google Maps/Places desde la memoria de entrenamiento - con clave y facturación habilitada - cuando Nominatim responde la misma consulta gratis, o estancarse en cuál de las docenas de geocodificadores listados en directorios realmente funciona.

APIs Clasificadas

  1. Nominatim (nominatim.openstreetmap.org) - PREDETERMINADO para geocodificación y geocodificación inversa. Datos de OSM, global, sin clave. Reglas de etiqueto estrictas a continuación.
  2. Open-Meteo Geocoder - nombre de ciudad/pueblo → lat/lon únicamente. Más rápido y sin reglas; úsalo cuando la entrada sea un nombre de asentamiento simple en lugar de una dirección o POI.
  3. Zippopotam.us - código postal → lugar/estado/coordenadas, 60+ países, sin clave.
  4. APICountries (www.apicountries.com) - datos de país: capital, monedas, idiomas, población, banderas, fronteras. Sin clave. (Sirve la misma forma de respuesta que el antiguo REST Countries; REST Countries ahora devuelve errores de obsolescencia sin clave - ver NO USAR.)

Procedimiento

  1. Clasifica la entrada: dirección/POI → búsqueda de Nominatim; coordenadas → inversa de Nominatim; nombre de ciudad simple → Open-Meteo Geocoder; código postal → Zippopotam; nombre/código de país → APICountries.
  2. Obedecer las reglas de etiqueto de Nominatim - son obligatorias, no sugerencias: máximo 1 solicitud/segundo, un User-Agent real que identifique tu aplicación (los UA anónimos son bloqueados), sin geocodificación masiva de miles de filas. Para un lote, repite con una pausa de 1s o más y menciónalo; para lotes muy grandes, informa al usuario que esto necesita un Nominatim autoalojado o un geocodificador de pago en lugar de golpear la instancia pública.
  3. Lee las coordenadas como cadenas de Nominatim - lat/lon vuelven como cadenas JSON, no números. Analízalos antes de hacer operaciones aritméticas.

Pregunta al usuario solo si falta: la entrada de lugar/coordenada en sí, y el contexto del país para nombres ambiguos ("Springfield" - por defecto: toma el resultado principal de Nominatim y di cuál fue).

Plantillas de URL + formas de respuesta reales

Geocodificar (búsqueda):

https://nominatim.openstreetmap.org/search?q={URL-encoded query}&format=jsonv2&limit=1
[{"lat":"48.8582599","lon":"2.2945006","name":"Tour Eiffel",
  "display_name":"Tour Eiffel, 5, Avenue Anatole France, ..., 75007, France",
  "category":"man_made","type":"tower","importance":0.62}]

El nivel superior es un array; array vacío = sin coincidencia. Agrega &addressdetails=1 para un objeto address estructurado, &countrycodes=us para restringir el país.

Geocodificación inversa:

https://nominatim.openstreetmap.org/reverse?lat={lat}&lon={lon}&format=jsonv2

Devuelve un solo objeto (no un array): display_name, más address.{road,city,state,postcode,country_code} con &addressdetails=1 (activado por defecto para inversa).

Nombre de ciudad → lat/lon (cuando no necesitas direcciones completas):

https://geocoding-api.open-meteo.com/v1/search?name={city}&count=1
{"results":[{"name":"Berlin","latitude":52.52437,"longitude":13.41053,
  "country_code":"DE","timezone":"Europe/Berlin","population":3426354}]}

Sin clave results cuando no hay coincidencias - verifica la clave, no un array vacío.

Código postal:

https://api.zippopotam.us/{country}/{code}        ← p.ej. /us/90210, /de/10115
{"country":"United States","places":[{"place name":"Beverly Hills",
  "state":"California","state abbreviation":"CA","latitude":"34.0901","longitude":"-118.4065"}]}

Trampas: las claves contienen espacios ("place name", "post code"); las coordenadas son cadenas; los códigos desconocidos devuelven 404 con cuerpo vacío, no JSON.

Datos de país:

https://www.apicountries.com/name/{name}      ← difuso, devuelve array
https://www.apicountries.com/alpha/{code}     ← ISO alfa-2/alfa-3, devuelve objeto
[{"name":"Japan","capital":"Tokyo","region":"Asia","population":126476461,
  "currencies":[{"code":"JPY","symbol":"¥"}],"languages":[{"name":"Japanese"}],
  "alpha2Code":"JP","flags":{"png":"https://flagcdn.com/w320/jp.png"}}]

Entregable

El resultado estructurado (coordenadas como números, partes de la dirección o datos del país) más la URL exacta utilizada. Para lotes: el bucle realmente limitado, con la velocidad indicada.

NO USAR - usa X en su lugar

  • Google Maps / Places, Mapbox, HERE - con clave y facturación; todo lo anterior es gratis. No envíes a un usuario a registrarse.
  • REST Countries (restcountries.com) - sus endpoints clásicos devuelven errores de obsolescencia y el reemplazo requiere una clave de autenticación; APICountries sirve la misma forma sin clave.
  • ip-api.com y la mayoría de niveles gratuitos de geolocalización IP - solo HTTP en el nivel gratuito (falla cualquier requisito HTTPS); este skill no incluye ninguna API de geolocalización IP.
  • Clima en la ubicación que acabas de geocodificar - weather-climate.
  • Estadísticas de país en series temporales - government-open-data.

Nivel de calidad

  • Las llamadas a Nominatim llevan un User-Agent real y nunca superan 1 solicitud/segundo - incluso dentro de bucles.
  • Las coordenadas de cadena se analizan a números antes de cualquier operación matemática.
  • Los nombres de lugares ambiguos se resuelven en voz alta ("tomó Springfield, Illinois - el resultado principal de Nominatim").

Obtenido y verificado en vivo del proyecto public-apis (MIT).

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

SkillMedev/skills

Designs REST API surfaces - resource naming, HTTP method and status-code semantics, error shapes, pagination, and filtering - and delivers an endpoint spec a consumer can build against without asking questions. Use when someone asks "how should I name this endpoint", "what status code should this return", "should this be PUT or PATCH", "how do I paginate this list", or is reviewing an API before it ships to external consumers. Do NOT use for planning breaking-change rollouts and deprecation windows - use api-versioning-strategist instead; for GraphQL type and resolver design - use graphql-schema instead; for generating client SDKs from an existing spec - use api-client-generator instead; for designing inbound webhook endpoints - use webhook-receiver-hardener instead.

SkillMedev/skills

Produce an accurate, properly timed caption track (SRT or WebVTT) from a video's audio - transcribing or aligning to the voiceover script, timing cues to speech, and enforcing line-length and reading-speed rules so captions are readable and in sync. Use when someone says "generate captions", "make subtitles from the audio", "transcribe and caption this", "export an SRT or VTT", "the captions are out of sync", or "the subtitles flash by too fast to read". Do NOT use to burn-in, style, reframe, or position an existing caption track for a platform (9:16, brand styling, safe areas) - that is social-video-formatter; do NOT use to animate text word-by-word as a motion graphic - that is kinetic-typography; do NOT use to write the spoken script in the first place - that is narration-script.

SkillMedev/skills

Turns data and charts into a decision-driving narrative structured as headline finding, trend, implication, and recommended action - with finding-led chart titles, context for every number, annotation guidance, and honest flags on any conclusion the data cannot support. Use when someone says "turn these numbers into a story", "what's the takeaway from this data", "help me present these results to leadership", or has charts but no narrative. Do NOT use for compressing a long document into a one-pager - use executive-summary instead - or for running the analysis that produces the findings - use eda-playbook instead.

SkillMedev/skills

Use when a task needs live or historical money data - "convert USD to EUR", "current/past exchange rate", "FX rate on this date / over this range", or "current price of Bitcoin/Ethereum, market cap, 24h change". Frankfurter (ECB reference rates, no key) is the FX default; CoinGecko's free keyless tier covers crypto. Do NOT use for stock quotes or equities - no keyless stock API survives verification, say so instead of guessing; do NOT use for country economic indicators like GDP or inflation series - use government-open-data instead; if the request is a vague "I need live data", route through public-data-api-picker.

SkillMedev/skills

Builds a driver-based FP&A operating model linking business inputs to P&L, balance sheet, and cash flow outputs. Use when building an annual plan, preparing investor materials, running scenario analysis, or stress-testing the business.

SkillMedev/skills

Runs the full Getting Things Done loop - capture, clarify, organize, reflect, engage - building a trusted system of context lists, a projects list with defined next actions, and a weekly review habit. Use when someone says "I'm overwhelmed and things are slipping through the cracks", "set up GTD for me", "help me do a brain dump and organize it", or "my to-do list is a mess". Do NOT use for just running the weekly review ritual itself - use weekly-review instead - or for clearing an email backlog - use inbox-zero.

SkillMedev/skills

Processes any email backlog to zero using the 4Ds - Delete, Delegate, Defer, Do - with a mass-archive strategy for the obvious, a touch-each-email-once discipline, and a keep-it-clear system of batched processing windows, ruthless unsubscribing, filters, and a minimal folder setup. Use when someone says "I have 5,000 unread emails", "help me get to inbox zero", "email is eating my whole day", or treats their inbox as a to-do list. Do NOT use for drafting the reply emails themselves or prioritization rules for an ongoing support queue - use email-triage instead - or for protecting focus time around the email windows - use deep-work-planner instead.

SkillMedev/skills

Write landing-page copy section by section - hero, social proof, features-as-benefits, objections, CTA - leading with one promise and proving it down the page. Use when someone asks "write my landing page", "improve my hero headline", "what should the homepage say", "turn these features into benefits", or is shipping a new page for a launch or campaign. Do NOT use for testing and optimizing an existing page's conversion rate - use landing-page-cro instead; for the one-line claim itself use positioning-statement; for the full message ladder use messaging-hierarchy.

SkillMedev/skills

Improves an existing landing page's conversion rate through evidence-first CRO - audit heatmaps and recordings, write structured hypotheses, prioritize with ICE scoring, and run one-variable tests to statistical significance. Use when someone asks "why isn't my landing page converting", "audit this page before we scale spend", "which A/B test should we run first", or after a CVR drop or ahead of a paid-traffic push. Do NOT use for writing a new landing page from scratch - use landing-page-copy instead. Do NOT use for auditing the ad accounts sending the traffic - use paid-acquisition-audit instead. Do NOT use for reading the results of a finished experiment - use ab-test-analyzer instead.

SkillMedev/skills

Runs structured coaching sessions using values clarification and the GROW model, ending every session with one committed action, a deadline, and an if-then plan for the likely obstacle. Use when someone says "I feel stuck in my life", "help me figure out what I want", "hold me accountable to my goals", or "coach me through this decision". Do NOT use for building a stress toolkit - use stress-management instead - or a journaling practice - use journal-framework; for a standing goal-tracking system, use goals-accountability. Coaching, not therapy: signs of clinical distress route to a licensed professional.

SkillMedev/skills

Adapts English content for a target language and region - swapping idioms, setting the right formality register, replacing cultural references, converting dates, units, and currency - and delivers the localized text with a notes column explaining each adaptation and flagging what needs a native reviewer. Use when someone asks "localize this copy for the Japanese market", "adapt our marketing copy for the Mexican market", "make this translation sound native instead of literal", or a literal translation reads foreign, stiff, or risky. Do NOT use for auditing in-product UI text quality - use ux-writing-audit instead.

SkillMedev/skills

Turns a natural-language video brief into a complete, ready-to-preview Remotion composition - extracts duration, scenes, brand colors, aspect ratio, and real copy; plans the frame budget; and writes data-driven React/TypeScript using useCurrentFrame, interpolate, spring, AbsoluteFill, and Sequence, registered in Root.tsx. Use when someone says "build a 20-second product demo video", "animate a feature walkthrough", "write the Remotion code for this marketing clip", or wants a scene-by-scene composition they can scrub in Studio. Do NOT use for rendering, iterating, or batching the finished MP4 - use remotion-render instead - or for installing and scaffolding the project - use remotion-setup instead.

SkillMedev/skills

Scaffolds a new Remotion video project wired for Claude Code Agent Skills - Node check, create-video scaffold, skills install, folder conventions, Google Fonts, and a smoke-test render. Use whenever someone wants to start making videos with Remotion and Claude, even just "make product videos with Claude.

SkillMedev/skills

Classifies incident severity (SEV1-4) using impact, scope, and urgency signals and decides who to page. Use when an alert fires or a report comes in and a severity call must be made quickly.

SkillMedev/skills

Use the Skill Me catalog from inside any conversation - discover, install, and manage Claude skills through the Skill Me MCP, and load installed skills automatically each session.

SkillMedev/skills

Write one platform-native caption from a topic and brand voice, with a front-loaded hook, native length, and a single earned CTA. Use when the user gives a topic (and optionally brand voice or a described image/video) and asks for an Instagram, LinkedIn, X/Twitter, or TikTok caption. Do NOT use when the user wants a dedicated standalone LinkedIn post - use linkedin-post-writer instead; or a multi-post X thread - use tweet-thread-builder instead; or to adapt one existing piece of content into versions for several channels - use cross-platform-reformatter instead.

SkillMedev/skills

Reframe and export a finished video for social platforms - 9:16 ↔ 16:9 cropping, burned-in captions, a platform-native first frame, loop design, and per-platform specs (aspect, length, safe areas) for TikTok, Reels, Shorts, X, and LinkedIn. Use when someone says "make this vertical", "crop to 9:16", "format for TikTok/Reels/Shorts", "add captions/subtitles", "why is my video cut off on mobile", "resize for Instagram", or "export for social". Do NOT use when the question is about the storyboard or shot order before any video exists (use video-storyboard); the animation craft of how elements move (use motion-design-principles); animated word-by-word caption styling (use kinetic-typography); palette, contrast, or lighting (use motion-color-and-light); directing the product-demo content and screen choreography (use product-demo-director); or scoring, beat-syncing, or audio (use sound-and-music-sync) - this is the craft layer that decides WHAT to format for the feed, then hands a concrete spec to remotion-compo...

SkillMedev/skills

Writes and tunes PySpark jobs - join strategy and broadcast size limits, shuffle-partition sizing, skew diagnosis and salting, UDF avoidance, caching, and output file layout - with concrete size and skew thresholds. Use when someone asks "why is my Spark job slow", "should I broadcast this join", "one task takes forever while the rest finish", "my job OOMs during a join", or is writing a new PySpark ETL job. Do NOT use for Kafka topic, consumer-group, or streaming-pipeline design - use kafka-pipelines instead; do NOT use for single-machine dataframe work that fits in memory - use pandas-expert instead.

SkillMedev/skills

Builds clean, performant, accessible SwiftUI views with correct state ownership, scoped invalidation, and smooth list scrolling, and reviews existing SwiftUI code against a concrete frame-time and re-render budget. Use when someone asks "why does my SwiftUI list stutter", "should this be @State or @Observable", "my whole screen re-renders when one row changes", "how do I animate this transition", or wants a SwiftUI view built or refactored. Do NOT use for cross-platform React Native apps - use react-native-pro instead; do NOT use for Flutter widget trees - use flutter-widget-architect instead; do NOT use for Android Compose UIs - use jetpack-compose-builder instead.

Skills relacionados