/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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install corelocationcli - 安装完成后,直接呼叫该 Skill 的名称或使用
/corelocationcli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
CoreLocationCLI 是什么?
Get the physical location of your macOS device and print it to stdout. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。
如何安装 CoreLocationCLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install corelocationcli」即可一键安装,无需额外配置。
CoreLocationCLI 是免费的吗?
是的,CoreLocationCLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
CoreLocationCLI 支持哪些平台?
CoreLocationCLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 CoreLocationCLI?
由 JerryKFC(@jerrykfc)开发并维护,当前版本 v1.0.0。