location

Retrieve device GPS or network location and output JSON coordinates via Termux.

369|29|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/mikeyobrien/rho --skill location
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: location
Source: https://github.com/mikeyobrien/rho/tree/main/platforms/android/skills/location
Command: npx skills add https://github.com/mikeyobrien/rho --skill location

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mobile apps and automations often need accurate location data to tailor actions, show nearby places, or log movement.

Core Features & Use Cases

  • Current location: Retrieve latitude and longitude using GPS or network providers.
  • Updates: Request a single update or continuous updates to track position over time.
  • Use Case: Build location-aware automations such as nearby-places recommendations or geofenced reminders.

Quick Start

On Android with Termux, ensure termux-location is available, then run the following commands to fetch location data: termux-location -r once termux-location -p gps The output is a JSON object containing latitude, longitude, altitude, accuracy, bearing, speed, and provider.

Frequently Asked Questions about location

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

FAQPage Schema
How do I get device location on Android with Termux?

Retrieve device location on Android using Termux commands like termux-location -r once for a single fetch or termux-location -r updates for continuous tracking. The Skill outputs latitude, longitude, altitude, accuracy, bearing, speed, and provider as JSON after permissions are granted.

Can I choose between GPS and network location providers?

Yes, location retrieval supports provider selection. Use termux-location -p gps to prioritize GPS or switch to network providers based on accuracy and availability needs for your context-aware automation.

What location data does this Skill return?

The Skill returns a JSON payload containing latitude, longitude, altitude, accuracy, bearing, speed, and provider information from the device's current geographic position via GPS or network sources.

What permissions are required to access device location?

Location access requires obtaining necessary location permissions on Android before running termux-location commands. Permissions must be granted before the Skill can retrieve geographic coordinates and movement data.

Can I use location data for geofenced reminders and automation?

Yes, the Skill retrieves coordinates for location-aware automations such as geofenced reminders, nearby-place recommendations, and movement tracking by fetching single updates or continuous position streams.

Does this work on non-Android platforms or outside Termux?

The Skill is designed for Android via Termux using termux-location commands. It requires the Termux environment and does not support other platforms or alternative location access methods without modification.