Location Tracking

Provides cached or real-time geolocation coordinates from browser APIs and local storage.

21|4|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/arunoda/OkBrain --skill location-tracking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Location Tracking
Source: https://github.com/arunoda/OkBrain/tree/main/.agent/skills/location_tracking
Command: npx skills add https://github.com/arunoda/OkBrain --skill location-tracking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides your AI with up-to-date location data, enabling features that require geographical context, without constant user prompts.

Core Features & Use Cases

  • Client-side Geolocation: Leverages browser permissions to obtain user's latitude and longitude.
  • Smart Caching: Caches location data to avoid unnecessary GPS requests, refreshing intelligently based on age.
  • Use Case: Allows the AI to provide location-aware information, such as local weather, nearby points of interest, or contextually relevant search results.

Quick Start

Ask the AI to use your current location to find nearby restaurants.

Frequently Asked Questions about Location Tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get user geolocation context for my AI application without repeated permission prompts?

Geolocation caching stores latitude and longitude in local storage to avoid unnecessary GPS requests. The cached location data refreshes intelligently based on its age, ensuring your AI has up-to-date geographical context.

How does smart caching handle browser geolocation permissions for AI features?

Smart caching manages browser geolocation permissions by storing obtained coordinates locally. This allows integrated AI features like chat and highlights to access cached or real-time location context seamlessly without repeatedly prompting the user.

Can I use client-side GPS tracking to provide location-aware information like local weather?

Yes, you can use client-side GPS tracking to provide location-aware information like local weather or nearby points of interest. The Skill obtains user coordinates via browser APIs and passes this geographical context directly to the AI.

What are the limitations of using browser geolocation APIs for AI context tracking?

Limitations of browser geolocation APIs include dependency on client-side permissions and the need for local storage for persistence. The system relies on the browser's native GPS capabilities and cannot track location independently on the server side.