OpenParable
Skip to content
← Back to skills

Location

Apps & Automation
location

Location is an Agent Skill for apps & automation published in the mikeyobrien/rho repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Get device location via GPS or network. Use for location-aware actions, finding nearby places, or logging position.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/mikeyobrien/rho/blob/HEAD/platforms/android/skills/location/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/location, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Location

Get current location

termux-location                    # default (GPS if available)
termux-location -p gps             # GPS only (more accurate, slower)
termux-location -p network         # Network only (faster, less accurate)
termux-location -p passive         # Last known location (instant)

Request single update (default)

termux-location -r once

Continuous updates

termux-location -r updates         # keep updating until killed

Output format

{
  "latitude": 37.7749,
  "longitude": -122.4194,
  "altitude": 10.0,
  "accuracy": 20.0,
  "bearing": 0.0,
  "speed": 0.0,
  "provider": "gps"
}

Note: Requires location permission. GPS may take 10-30s for first fix.