location
Skill4 starsChanged 9 months agoMITView on GitHub
Location and geocoding — addresses, coordinates, maps, and timezone
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 152
Use Accept-Language header for localized results
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Location
Get location data, geocoding, coordinates, and maps.
Geocoding (Address → Coordinates)
Nominatim (OpenStreetMap - Free)
# Search address
curl -s "https://nominatim.openstreetmap.org/search?q=1600+Pennsylvania+Avenue,Washington+DC&format=json" | jq '.[0] | {lat, lon, display_name}'
# With limit
curl -s "https://nominatim.openstreetmap.org/search?q=Paris,France&format=json&limit=1" | jq '.[0]'
# Reverse geocoding (coordinates → address)
curl -s "https://nominatim.openstreetmap.org/reverse?lat=48.8584&lon=2.2945&format=json" | jq '.display_name'Google Geocoding API
# Setup
export GOOGLE_MAPS_KEY="xxx"
# Geocode address
curl -s "https://maps.googleapis.com/maps/api/geocode/json?address=1600+Pennsylvania+Avenue,Washington+DC&key=$GOOGLE_MAPS_KEY" | jq '.results[0].geometry.location'
# Reverse geocode
curl -s "https://maps.googleapis.com/maps/api/geocode/json?latlng=48.8584,2.2945&key=$GOOGLE_MAPS_KEY" | jq '.results[0].formatted_address'IP Geolocation
# Get location from IP (ip-api.com - free)
curl -s "http://ip-api.com/json/" | jq '{country, city, lat, lon, timezone, isp}'
# Specific IP
curl -s "http://ip-api.com/json/8.8.8.8" | jq '.'
# ipinfo.io
curl -s "https://ipinfo.io/json" | jq '.'
# With token
curl -s "https://ipinfo.io/json?token=$IPINFO_TOKEN" | jq '.'Distance Calculation
# Haversine formula (great-circle distance)
python3 -c "
from math import radians, sin, cos, sqrt, atan2
def haversine(lat1, lon1, lat2, lon2):
R = 6371 # Earth radius in km
dlat = radians(lat2 - lat1)
dlon = radians(lon2 - lon1)
a = sin(dlat/2)**2 + cos(radians(lat1)) * cos(radians(lat2)) * sin(dlon/2)**2
c = 2 * atan2(sqrt(a), sqrt(1-a))
return R * c
# New York to Los Angeles
distance = haversine(40.7128, -74.0060, 34.0522, -118.2437)
print(f'{distance:.1f} km')
"Timezone
# Get timezone from coordinates
curl -s "https://timezoneapi.io/api/ip/?token=$TIMEZONE_TOKEN" | jq '.data.timezone'
# Google Timezone API
curl -s "https://maps.googleapis.com/maps/api/timezone/json?location=48.8584,2.2945×tamp=$(date +%s)&key=$GOOGLE_MAPS_KEY" | jq '.'
# Current time in timezone
TZ='America/New_York' date
TZ='Europe/London' date
TZ='Asia/Tokyo' dateStatic Maps
Google Static Maps
# Generate map image
curl -s "https://maps.googleapis.com/maps/api/staticmap?center=48.8584,2.2945&zoom=15&size=600x400&markers=48.8584,2.2945&key=$GOOGLE_MAPS_KEY" -o map.png
# With multiple markers
curl -s "https://maps.googleapis.com/maps/api/staticmap?size=600x400&markers=color:red|48.8584,2.2945&markers=color:blue|48.8606,2.3376&key=$GOOGLE_MAPS_KEY" -o map.pngOpenStreetMap Static
# Static map via OSM
curl -s "https://staticmap.openstreetmap.de/staticmap.php?center=48.8584,2.2945&zoom=15&size=600x400&markers=48.8584,2.2945,red-pushpin" -o map.pngPlaces Search
# Google Places API
curl -s "https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=48.8584,2.2945&radius=1000&type=restaurant&key=$GOOGLE_MAPS_KEY" | jq '.results[:5] | .[] | {name, rating, vicinity}'
# Text search
curl -s "https://maps.googleapis.com/maps/api/place/textsearch/json?query=restaurants+in+Paris&key=$GOOGLE_MAPS_KEY" | jq '.results[:5]'Elevation
# Google Elevation API
curl -s "https://maps.googleapis.com/maps/api/elevation/json?locations=48.8584,2.2945&key=$GOOGLE_MAPS_KEY" | jq '.results[0].elevation'
# Open-Elevation (free)
curl -s "https://api.open-elevation.com/api/v1/lookup?locations=48.8584,2.2945" | jq '.results[0].elevation'Address Validation
# Validate and normalize address
curl -s "https://address-validation.googleapis.com/v1:validateAddress?key=$GOOGLE_MAPS_KEY" \
-H "Content-Type: application/json" \
-d '{
"address": {
"regionCode": "US",
"addressLines": ["1600 Pennsylvania Avenue", "Washington DC"]
}
}' | jq '.result.geocode.location'Tips
- Nominatim: Free but rate limited (1 req/sec)
- Google Maps: Requires API key, paid after free tier
- Use
Accept-Languageheader for localized results - Cache geocoding results to save API calls
- Handle cases where geocoding fails
Triggers
location, geocoding, address, coordinates, maps, latitude, longitude, find location, ip location, timezone
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- LocalKinAI/kinclaw★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository83 other files it gives its agents.
- a11y-axeSkill
- airtableSkill
- asanaSkill
- audio-ttsSkill
- aws-cliSkill
- azure-cliSkill
- backupSkill
- bookmarksSkill
- browser-automationSkill
- bundler-analyzeSkill
- calculatorSkill
- calendarSkill
- cargoSkill
- changelog-genSkill
- claude-codeSkill
- clickupSkill
- color-contrastSkill
- crypto-walletSkill
- databaseSkill
- discordSkill
- docker-composeSkill
- dockerSkill
- dora-metricsSkill
- emailSkill
- ffmpegSkill
- filesystemSkill
- gcloudSkill
- githubSkill
- gmailSkill
- gogSkill
- google-calendarSkill
- habitsSkill
- healthSkill
- hubspotSkill
- image-genSkill
- imagemagickSkill
- image-toolsSkill
- jiraSkill
- journalSkill
- kubernetesSkill
- lighthouseSkill
- linearSkill
- media-configSkill
- meeting-notesSkill
- nginxSkill
- notesSkill
- notionSkill
- obsidianSkill
- ocrSkill
- pandocSkill
- paymentsSkill
- pdf-toolsSkill
- pip-poetrySkill
- pm2Skill
- pomodoroSkill
- project-managerSkill
- qr-codeSkill
- railway-deploySkill
- redis-cliSkill
- release-notesSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

