{
  "schemaVersion": "1.0",
  "item": {
    "slug": "location-awareness",
    "name": "Location Awareness",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Hegghammer/location-awareness",
    "canonicalUrl": "https://clawhub.ai/Hegghammer/location-awareness",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/location-awareness",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=location-awareness",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/config.json",
      "scripts/geofences.json",
      "scripts/location.py",
      "scripts/location.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/location-awareness"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/location-awareness",
    "agentPageUrl": "https://openagent3.xyz/skills/location-awareness/agent",
    "manifestUrl": "https://openagent3.xyz/skills/location-awareness/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/location-awareness/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Location Awareness",
        "body": "This skill provides commands to execute. When the user asks about location, RUN the appropriate command below."
      },
      {
        "title": "⚠️ IMPORTANT: All commands use scripts/location.sh",
        "body": "Every command must be run via scripts/location.sh. Example:\n\nUser asks: \"How long to walk home?\"\nYou run:\n\nscripts/location.sh eta home --mode walk\n\nOutput: 4.6 km, about 45 min walk\nYou reply with the output directly.\n\nDo NOT run eta or other subcommands directly — they don't exist as standalone commands."
      },
      {
        "title": "Quick Reference — What to Run",
        "body": "User saysRun this (copy exactly)Reply with\"Where am I?\"scripts/location.sh statusZone name only\"Map\" / \"map link\"scripts/location.sh herewegoJust the URL\"What are my coordinates?\"scripts/location.sh statusLat/lon from output\"How long to walk home?\"scripts/location.sh eta home --mode walkDistance + duration\"How long to bike to X?\"scripts/location.sh eta X --mode bikeDistance + duration\"How far is X by car?\"scripts/location.sh eta X --mode carDistance + duration\"Remind me to X when I get to Y\"scripts/location.sh remind \"X\" YBrief confirm\"What reminders do I have?\"scripts/location.sh remindersBullet list or \"None\"\"List my places\"scripts/location.sh placesBullet list\"List places nearby\"scripts/location.sh places --nearSorted by distance\"List my pubs downtown\"scripts/location.sh places --region downtown --category pubFiltered list\"Save this spot as X\"scripts/location.sh addplace \"X\"Confirm\"Delete place X\"scripts/location.sh delplace XConfirm\"Disable the grocery rule\"scripts/location.sh disable groceryConfirm\"List my geofence rules\"scripts/location.sh geofencesBullet list\"When was I last at X?\"scripts/location.sh history XDate/time\"Where have I been today?\"scripts/location.sh history --days 1List of places\"Find me a cafe nearby\"scripts/location.sh nearby cafePOI list with distances\"Any pubs within 1km?\"scripts/location.sh nearby pub 1000Filtered POI list\"How long was I at work this week?\"scripts/location.sh stats --days 7Hours per place\n\nResponse style: Terse. No preamble. No \"Here's your location:\". Just the answer."
      },
      {
        "title": "All Commands",
        "body": "All via scripts/location.sh <command>:\n\nCommandDescriptionstatusCurrent location, geofences inside, map linkherewegoJust the HERE WeGo map linkcheckCheck for triggered actions/reminders (used by cron)places [--near] [--region R] [--category C]List saved placesgeofencesList all geofences with full detailsremind <text> <place_id>Add one-shot location reminderremindersList pending remindersaddplace <name> [radius] [--region R] [--category C]Save current locationeditplace <id> [--name] [--radius] [--region] [--category] [--action] [--cooldown]Modify a placedelplace <id>Delete a placeenable <id> / disable <id>Toggle geofence on/offhistory [place] [--days N]When was I last at a place?nearby <category> [radius]Find nearby POIs (cafe, pub, restaurant, etc.)stats [--days N]Time spent at each place, visit countsproximity <text> <place/lat> [lon] [radius]Alert when approaching a locationeta <place> [--mode walk|bike|car]Travel time and distance to a place\n\nNote: eta accepts saved place names, coordinates (lat,lon), or any place name (geocoded via OpenStreetMap, biased to current location).\n\nNote: status returns the zone name if in a known place, otherwise reverse geocodes to a street address (e.g., \"123 Main Street, Downtown\")."
      },
      {
        "title": "Concepts",
        "body": "Geofences — Saved places with lat/lon, radius, and optional action. Persistent.\n\nReminders — One-shot alerts tied to a place. Deleted after delivery.\n\nRegion/Category — Optional tags for filtering (e.g., \"downtown\", \"pub\")."
      },
      {
        "title": "Provider Configuration",
        "body": "Edit scripts/config.json:\n\nHome Assistant (default):\n\n{\n  \"provider\": \"homeassistant\",\n  \"homeassistant\": {\n    \"url\": \"https://your-ha.example.com\",\n    \"token\": \"your-long-lived-token\",\n    \"entity_id\": \"device_tracker.phone\"\n  }\n}\n\nOwnTracks:\n\n{\n  \"provider\": \"owntracks\",\n  \"owntracks\": {\n    \"url\": \"https://owntracks.example.com\",\n    \"user\": \"username\",\n    \"device\": \"phone\"\n  }\n}\n\nGeneric HTTP:\n\n{\n  \"provider\": \"http\",\n  \"http\": {\n    \"url\": \"https://your-api.com/location\",\n    \"headers\": {\"Authorization\": \"Bearer token\"}\n  }\n}\n\nGPSLogger (file-based):\n\n{\n  \"provider\": \"gpslogger\",\n  \"gpslogger\": {\n    \"file\": \"/path/to/location.json\"\n  }\n}\n\nSecrets support: \"env:VAR_NAME\" (reads from environment variable) or plain string.\n\nAlternative: Configure entirely via environment variables (no config.json needed):\n\nProviderEnv variablesLOCATION_PROVIDERhomeassistant, owntracks, http, or gpslogger (default: homeassistant)Home AssistantHA_URL, HA_TOKEN, HA_ENTITY_IDOwnTracksOWNTRACKS_URL, OWNTRACKS_USER, OWNTRACKS_DEVICE, OWNTRACKS_TOKENHTTPLOCATION_HTTP_URLGPSLoggerGPSLOGGER_FILE\n\nEnv vars take precedence over config.json values. Set them in ~/.openclaw/.env or your shell environment.\n\nOutput format: Most query commands output human-readable text by default. Add --json for JSON output (useful for scripting)."
      },
      {
        "title": "Travel Speeds",
        "body": "Customize walking/biking speeds for ETA calculations in scripts/config.json:\n\n{\n  \"speeds_kmh\": {\n    \"walk\": 6,\n    \"bike\": 15\n  }\n}"
      },
      {
        "title": "Geofence Config",
        "body": "Edit scripts/geofences.json:\n\n{\n  \"geofences\": [\n    {\n      \"id\": \"grocery\",\n      \"name\": \"Grocery Store\",\n      \"lat\": 40.7128,\n      \"lon\": -74.0060,\n      \"radius_m\": 30,\n      \"action\": \"shopping_tasks\",\n      \"cooldown_hours\": 4,\n      \"enabled\": true,\n      \"region\": \"downtown\",\n      \"category\": \"shop\"\n    }\n  ],\n  \"location_reminders\": [],\n  \"proximity_alerts\": []\n}"
      },
      {
        "title": "Automatic Notifications (OpenClaw Cron)",
        "body": "Use OpenClaw's built-in cron to run periodic location checks. Add a job to ~/.openclaw/cron/jobs.json:\n\n{\n  \"name\": \"Location Check\",\n  \"schedule\": \"*/5 * * * *\",\n  \"prompt\": \"Run scripts/location.sh check --json and notify me of any triggered actions, reminders, or proximity alerts.\",\n  \"channel\": \"signal\",\n  \"to\": \"+1234567890\",\n  \"wakeMode\": \"now\"\n}\n\nThis keeps scheduling within OpenClaw rather than requiring external systemd services."
      }
    ],
    "body": "Location Awareness\n\nThis skill provides commands to execute. When the user asks about location, RUN the appropriate command below.\n\n⚠️ IMPORTANT: All commands use scripts/location.sh\n\nEvery command must be run via scripts/location.sh. Example:\n\nUser asks: \"How long to walk home?\"\nYou run:\n\nscripts/location.sh eta home --mode walk\n\n\nOutput: 4.6 km, about 45 min walk\nYou reply with the output directly.\n\nDo NOT run eta or other subcommands directly — they don't exist as standalone commands.\n\nQuick Reference — What to Run\nUser says\tRun this (copy exactly)\tReply with\n\"Where am I?\"\tscripts/location.sh status\tZone name only\n\"Map\" / \"map link\"\tscripts/location.sh herewego\tJust the URL\n\"What are my coordinates?\"\tscripts/location.sh status\tLat/lon from output\n\"How long to walk home?\"\tscripts/location.sh eta home --mode walk\tDistance + duration\n\"How long to bike to X?\"\tscripts/location.sh eta X --mode bike\tDistance + duration\n\"How far is X by car?\"\tscripts/location.sh eta X --mode car\tDistance + duration\n\"Remind me to X when I get to Y\"\tscripts/location.sh remind \"X\" Y\tBrief confirm\n\"What reminders do I have?\"\tscripts/location.sh reminders\tBullet list or \"None\"\n\"List my places\"\tscripts/location.sh places\tBullet list\n\"List places nearby\"\tscripts/location.sh places --near\tSorted by distance\n\"List my pubs downtown\"\tscripts/location.sh places --region downtown --category pub\tFiltered list\n\"Save this spot as X\"\tscripts/location.sh addplace \"X\"\tConfirm\n\"Delete place X\"\tscripts/location.sh delplace X\tConfirm\n\"Disable the grocery rule\"\tscripts/location.sh disable grocery\tConfirm\n\"List my geofence rules\"\tscripts/location.sh geofences\tBullet list\n\"When was I last at X?\"\tscripts/location.sh history X\tDate/time\n\"Where have I been today?\"\tscripts/location.sh history --days 1\tList of places\n\"Find me a cafe nearby\"\tscripts/location.sh nearby cafe\tPOI list with distances\n\"Any pubs within 1km?\"\tscripts/location.sh nearby pub 1000\tFiltered POI list\n\"How long was I at work this week?\"\tscripts/location.sh stats --days 7\tHours per place\n\nResponse style: Terse. No preamble. No \"Here's your location:\". Just the answer.\n\nAll Commands\n\nAll via scripts/location.sh <command>:\n\nCommand\tDescription\nstatus\tCurrent location, geofences inside, map link\nherewego\tJust the HERE WeGo map link\ncheck\tCheck for triggered actions/reminders (used by cron)\nplaces [--near] [--region R] [--category C]\tList saved places\ngeofences\tList all geofences with full details\nremind <text> <place_id>\tAdd one-shot location reminder\nreminders\tList pending reminders\naddplace <name> [radius] [--region R] [--category C]\tSave current location\neditplace <id> [--name] [--radius] [--region] [--category] [--action] [--cooldown]\tModify a place\ndelplace <id>\tDelete a place\nenable <id> / disable <id>\tToggle geofence on/off\nhistory [place] [--days N]\tWhen was I last at a place?\nnearby <category> [radius]\tFind nearby POIs (cafe, pub, restaurant, etc.)\nstats [--days N]\tTime spent at each place, visit counts\nproximity <text> <place/lat> [lon] [radius]\tAlert when approaching a location\neta <place> [--mode walk|bike|car]\tTravel time and distance to a place\n\nNote: eta accepts saved place names, coordinates (lat,lon), or any place name (geocoded via OpenStreetMap, biased to current location).\n\nNote: status returns the zone name if in a known place, otherwise reverse geocodes to a street address (e.g., \"123 Main Street, Downtown\").\n\nConcepts\n\nGeofences — Saved places with lat/lon, radius, and optional action. Persistent.\n\nReminders — One-shot alerts tied to a place. Deleted after delivery.\n\nRegion/Category — Optional tags for filtering (e.g., \"downtown\", \"pub\").\n\nSetup (for administrators)\nProvider Configuration\n\nEdit scripts/config.json:\n\nHome Assistant (default):\n\n{\n  \"provider\": \"homeassistant\",\n  \"homeassistant\": {\n    \"url\": \"https://your-ha.example.com\",\n    \"token\": \"your-long-lived-token\",\n    \"entity_id\": \"device_tracker.phone\"\n  }\n}\n\n\nOwnTracks:\n\n{\n  \"provider\": \"owntracks\",\n  \"owntracks\": {\n    \"url\": \"https://owntracks.example.com\",\n    \"user\": \"username\",\n    \"device\": \"phone\"\n  }\n}\n\n\nGeneric HTTP:\n\n{\n  \"provider\": \"http\",\n  \"http\": {\n    \"url\": \"https://your-api.com/location\",\n    \"headers\": {\"Authorization\": \"Bearer token\"}\n  }\n}\n\n\nGPSLogger (file-based):\n\n{\n  \"provider\": \"gpslogger\",\n  \"gpslogger\": {\n    \"file\": \"/path/to/location.json\"\n  }\n}\n\n\nSecrets support: \"env:VAR_NAME\" (reads from environment variable) or plain string.\n\nAlternative: Configure entirely via environment variables (no config.json needed):\n\nProvider\tEnv variables\nLOCATION_PROVIDER\thomeassistant, owntracks, http, or gpslogger (default: homeassistant)\nHome Assistant\tHA_URL, HA_TOKEN, HA_ENTITY_ID\nOwnTracks\tOWNTRACKS_URL, OWNTRACKS_USER, OWNTRACKS_DEVICE, OWNTRACKS_TOKEN\nHTTP\tLOCATION_HTTP_URL\nGPSLogger\tGPSLOGGER_FILE\n\nEnv vars take precedence over config.json values. Set them in ~/.openclaw/.env or your shell environment.\n\nOutput format: Most query commands output human-readable text by default. Add --json for JSON output (useful for scripting).\n\nTravel Speeds\n\nCustomize walking/biking speeds for ETA calculations in scripts/config.json:\n\n{\n  \"speeds_kmh\": {\n    \"walk\": 6,\n    \"bike\": 15\n  }\n}\n\nGeofence Config\n\nEdit scripts/geofences.json:\n\n{\n  \"geofences\": [\n    {\n      \"id\": \"grocery\",\n      \"name\": \"Grocery Store\",\n      \"lat\": 40.7128,\n      \"lon\": -74.0060,\n      \"radius_m\": 30,\n      \"action\": \"shopping_tasks\",\n      \"cooldown_hours\": 4,\n      \"enabled\": true,\n      \"region\": \"downtown\",\n      \"category\": \"shop\"\n    }\n  ],\n  \"location_reminders\": [],\n  \"proximity_alerts\": []\n}\n\nAutomatic Notifications (OpenClaw Cron)\n\nUse OpenClaw's built-in cron to run periodic location checks. Add a job to ~/.openclaw/cron/jobs.json:\n\n{\n  \"name\": \"Location Check\",\n  \"schedule\": \"*/5 * * * *\",\n  \"prompt\": \"Run scripts/location.sh check --json and notify me of any triggered actions, reminders, or proximity alerts.\",\n  \"channel\": \"signal\",\n  \"to\": \"+1234567890\",\n  \"wakeMode\": \"now\"\n}\n\n\nThis keeps scheduling within OpenClaw rather than requiring external systemd services."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Hegghammer/location-awareness",
    "publisherUrl": "https://clawhub.ai/Hegghammer/location-awareness",
    "owner": "Hegghammer",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/location-awareness",
    "downloadUrl": "https://openagent3.xyz/downloads/location-awareness",
    "agentUrl": "https://openagent3.xyz/skills/location-awareness/agent",
    "manifestUrl": "https://openagent3.xyz/skills/location-awareness/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/location-awareness/agent.md"
  }
}