Openclaw-extensions my_location
Gets the user's current location, including GPS position, and friendly name for common places. Use this skill when needing location context for the user, e.g. things nearby. Use also to know if the user is home or at a known place (e.g. "home", "gym", "grocery store").
install
source · Clone the upstream repo
git clone https://github.com/highdeserthacker/openclaw-extensions
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/highdeserthacker/openclaw-extensions "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/location" ~/.claude/skills/highdeserthacker-openclaw-extensions-my-location && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/highdeserthacker/openclaw-extensions "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/location" ~/.openclaw/skills/highdeserthacker-openclaw-extensions-my-location && rm -rf "$T"
manifest:
skills/location/SKILL.mdsource content
My Location
Fetch all current readings:
curl -s http://10.0.0.22:8123/api/states/device_tracker.owntracks_billsphone \ -H "Authorization: Bearer ${HA_TOKEN}" \ | python3 -c " import json, sys d = json.load(sys.stdin) a = d['attributes'] print(f\"State: {d['state']}\") print(f\"Latitude/Longitude: {a['latitude']}, {a['longitude']}\") print(f\"LastPositionUpdate: {d['last_updated']}\") " ''' ## Triggers Activate this skill when the user asks: - "what things are nearby" - "what good lunch places are nearby" Also activate this skill if you need to know if the user is home. ## Guidelines for using the location information Use this skill to know where the user is located. If state is not blank, it is a common location and you can refer to it with this name if appropriate to the conversation. If asked a question relating to things nearby, use this location. For example, the user may ask for a coffee shop nearby, or a gas station, or restaurant. If LastPositionUpdate is more than a day old, location information may not be up-to-date, confirm the user's location first by name, based on a map (not gps coordinates) with where you think the user is. The user may tell you to remember this location and give it a name. If so, save this in your memory. If curl fails, say "Home Assistant not currently available".