/install corelocationcli
CoreLocationCLI
Gets the physical location of your device and prints it to standard output. Kill it with CTRL-C.
Note: Make sure Wi-Fi is turned on, otherwise you will see kCLErrorDomain error 0.
Usage
CoreLocationCLI --help
CoreLocationCLI --version
CoreLocationCLI [--watch] [--verbose] [--format FORMAT]
CoreLocationCLI [--watch] [--verbose] --json
| Switch | Description |
|---|---|
-h, --help |
Display help message and exit |
--version |
Display the program version |
-w, --watch |
Continually print location updates |
-v, --verbose |
Show debugging output |
-f, --format |
Print a string with the specified substitutions |
-j, --json |
Print a JSON object with all available information |
Format Specifiers
Location: %latitude %longitude %altitude %direction %speed %h_accuracy %v_accuracy %time
Reverse geocoding: %address %name %isoCountryCode %country %postalCode %administrativeArea %subAdministrativeArea %locality %subLocality %thoroughfare %subThoroughfare %region %timeZone %time_local
Default format: %latitude %longitude
Examples
CoreLocationCLI
# 50.943829 6.941043
CoreLocationCLI --format "%latitude %longitude\
%address"
# 50.943829 6.941043
# Kaiser-Wilhelm-Ring 21
# Cologne North Rhine-Westphalia 50672
# Germany
CoreLocationCLI --json
# {"latitude":"40.141196","longitude":"-75.034815","altitude":"92.00",...}
Installation
brew install cask corelocationcli
Gatekeeper
First run may be blocked by macOS Gatekeeper. Go to System Settings → Privacy & Security → Security to approve.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install corelocationcli - After installation, invoke the skill by name or use
/corelocationcli - Provide required inputs per the skill's parameter spec and get structured output
What is CoreLocationCLI?
Get the physical location of your macOS device and print it to stdout. It is an AI Agent Skill for Claude Code / OpenClaw, with 102 downloads so far.
How do I install CoreLocationCLI?
Run "/install corelocationcli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is CoreLocationCLI free?
Yes, CoreLocationCLI is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does CoreLocationCLI support?
CoreLocationCLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created CoreLocationCLI?
It is built and maintained by JerryKFC (@jerrykfc); the current version is v1.0.0.