maps skill
Geocode, POIs, routes, timezones via OpenStreetMap/OSRM.
Is the maps skill safe?
Clean: nothing in its files matched our rules. We read 2 files in the folder on 2026-09-28.
No findings.
Install the maps skill
A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.
git clone --depth 1 https://github.com/kevinnft/ai-agent-skills.git /tmp/ai-agent-skills mkdir -p ~/.claude/skills cp -r /tmp/ai-agent-skills/skills/productivity/maps ~/.claude/skills/maps
In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub
The instructions your agent would load
SKILL.md as published, without the frontmatter. Read it on GitHub
Maps Skill
Location intelligence using free, open data sources. 8 commands, 44 POI categories, zero dependencies (Python stdlib only), no API key required.
Data sources: OpenStreetMap/Nominatim, Overpass API, OSRM, TimeAPI.io.
This skill supersedes the old find-nearby skill — all of find-nearby's functionality is covered by the nearby command below, with the same --near "" shortcut and multi-category support.
When to Use
- User sends a Telegram location pin (latitude/longitude in the message) → nearby
- User wants coordinates for a place name → search
- User has coordinates and wants the address → reverse
- User asks for nearby restaurants, hospitals, pharmacies, hotels, etc. → nearby
- User wants driving/walking/cycling distance or travel time → distance
- User wants turn-by-turn directions between two places → directions
- User wants timezone information for a location → timezone
- User wants to search for POIs within a geographic area → area + bbox
Prerequisites
Python 3.8+ (stdlib only — no pip installs needed).
Script path: ~/.hermes/skills/maps/scripts/maps_client.py
Commands
MAPS=~/.hermes/skills/maps/scripts/maps_client.pysearch — Geocode a place name
python3 $MAPS search "Eiffel Tower"
python3 $MAPS search "1600 Pennsylvania Ave, Washington DC"Returns: lat, lon, display name, type, bounding box, importance score.
reverse — Coordinates to address
python3 $MAPS reverse 48.8584 2.2945Returns: full address breakdown (street, city, state, country, postcode).
nearby — Find places by category
# By coordinates (from a Telegram location pin, for example)
python3 $MAPS nearby 48.8584 2.2945 restaurant --limit 10
python3 $MAPS nearby 40.7128 -74.0060 hospital --radius 2000
# By address / city / zip / landmark — --near auto-geocodes
python3 $MAPS nearby --near "Times Square, New York" --category cafe
python3 $MAPS nearby --near "90210" --category pharmacy
# Multiple categories merged into one query
python3 $MAPS nearby --near "downtown austin" --category restaurant --category bar --limit 1046 categories: restaurant, cafe, bar, hospital, pharmacy, hotel, guesthouse, campsite, supermarket, atm, gasstation, parking, museum, park, school, university, bank, police, firestation, library, airport, trainstation, busstop, church, mosque, synagogue, dentist, doctor, cinema, theatre, gym, swimmingpool, postoffice, conveniencestore, bakery, bookshop, laundry, carwash, carrental, bicyclerental, taxi, veterinary, zoo, playground, stadium, nightclub.
Each result includes: name, address, lat/lon, distancem, mapsurl (clickable Google Maps link), directionsurl (Google Maps directions from the search point), and promoted tags when available — cuisine, hours (openinghours), phone, website.
distance — Travel distance and time
python3 $MAPS distance "Paris" --to "Lyon"
python3 $MAPS distance "New York" --to "Boston" --mode driving
python3 $MAPS distance "Big Ben" --to "Tower Bridge" --mode walkingModes: driving (default), walking, cycling. Returns road distance, duration, and straight-line distance for comparison.
directions — Turn-by-turn navigation
python3 $MAPS directions "Eiffel Tower" --to "Louvre Museum" --mode walking
python3 $MAPS directions "JFK Airport" --to "Times Square" --mode drivingReturns numbered steps with instruction, distance, duration, road name, and maneuver type (turn, depart, arrive, etc.).
timezone — Timezone for coordinates
python3 $MAPS timezone 48.8584 2.2945
python3 $MAPS timezone 35.6762 139.6503Returns timezone name, UTC offset, and current local time.
area — Bounding box and area for a place
python3 $MAPS area "Manhattan, New York"
python3 $MAPS area "London"Returns bounding box coordinates, width/height in km, and approximate area. Useful as input for the bbox command.
bbox — Search within a bounding box
python3 $MAPS bbox 40.75 -74.00 40.77 -73.98 restaurant --limit 20Finds POIs within a geographic rectangle. Use area first to get the bounding box coordinates for a named place.
Working With Telegram Location Pins
When a user sends a location pin, the message contains latitude: and longitude: fields. Extract those and pass them straight to nearby:
# User sent a pin at 36.17, -115.14 and asked "find cafes nearby"
python3 $MAPS nearby 36.17 -115.14 cafe --radius 1500Present results as a numbered list with names, distances, and the mapsurl field so the user gets a tap-to-open link in chat. For "open now?" questions, check the hours field; if missing or unclear, verify with websearch since OSM hours are community-maintained and not always current.
Workflow Examples
"Find Italian restaurants near the Colosseum":
— one command, auto-geocoded
- nearby --near "Colosseum Rome" --category restaurant --radius 500
"What's near this location pin they sent?":
- Extract lat/lon from the Telegram message
- nearby LAT LON cafe --radius 1500
"How do I walk from hotel to conference center?":
- directions "Hotel Name" --to "Conference Center" --mode walking
"What restaurants are in downtown Seattle?":
- area "Downtown Seattle" → get bounding box
- bbox S W N E restaurant --limit 30
Pitfalls
falls back between mirrors (overpass-api.de → overpass.kumi.systems)
- Nominatim ToS: max 1 req/s (handled automatically by the script)
- nearby requires lat/lon OR --near "" — one of the two is needed
- OSRM routing coverage is best for Europe and North America
- Overpass API can be slow during peak hours; the script automatically
- distance and directions use --to flag for the destination (not positional)
- If a zip code alone gives ambiguous results globally, include country/state
Verification
python3 ~/.hermes/skills/maps/scripts/maps_client.py search "Statue of Liberty"
# Should return lat ~40.689, lon ~-74.044
python3 ~/.hermes/skills/maps/scripts/maps_client.py nearby --near "Times Square" --category restaurant --limit 3
# Should return a list of restaurants within ~500m of Times SquareMore skills from kevinnft/ai-agent-skills
- Aaddyosmani-tddDrives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.
- AairtableAirtable REST API via curl. Records CRUD, filters, upserts.
- Aapi-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
- Aapi-monitoring-botsBuild monitoring bots that poll APIs and send notifications on state changes (new listings, price alerts, status updates)
- Aapple-notesManage Apple Notes via memo CLI: create, search, edit.
- Aapple-remindersApple Reminders via remindctl: add, list, complete.
- Aarchitecture-diagramDark-themed SVG architecture/cloud/infra diagrams as HTML.
- AarxivSearch arXiv papers by keyword, author, category, or ID.
- Aascii-artASCII art: pyfiglet, cowsay, boxes, image-to-ascii.
- Aascii-videoASCII video: convert video/audio to colored ASCII MP4/GIF.
- AaudiocraftAudioCraft: MusicGen text-to-music, AudioGen text-to-sound.
- CaxolotlAxolotl: YAML LLM fine-tuning (LoRA, DPO, GRPO).