← 返回 Skills 市场
jerrykfc

CoreLocationCLI

作者 JerryKFC · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install corelocationcli
功能描述
Get the physical location of your macOS device and print it to stdout.
使用说明 (SKILL.md)

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.

安全使用建议
This skill will access your Mac's location (a privacy-sensitive operation). Before installing or running it: 1) Confirm the binary's provenance — prefer an official homepage, GitHub repo, or a verified Homebrew cask. 2) Don't run unfamiliar install commands; the SKILL.md's 'brew install cask corelocationcli' looks incorrect — correct invocation would usually be 'brew install --cask <name>' or 'brew install <formula>'. 3) After installing, inspect the binary (which CoreLocationCLI; codesign -dv --verbose=4 /path/to/CoreLocationCLI) and review its source if available. 4) Be prepared to deny macOS location permission if you don't trust the binary. 5) If you need strong assurance, request the skill author/source info (homepage or repository) or prefer a version from a well-known package repository.
功能分析
Type: OpenClaw Skill Name: corelocationcli Version: 1.0.0 The skill bundle provides documentation and usage instructions for the legitimate 'CoreLocationCLI' macOS utility, which retrieves device location data. It contains no executable code, suspicious network calls, or prompt injection attempts, and its functionality is transparently described in SKILL.md.
能力评估
Purpose & Capability
The skill claims to run a CoreLocation-backed CLI on macOS, which is coherent. However the registry requires the 'swift' binary even though the SKILL.md shows usage of a prebuilt CLI (CoreLocationCLI) and provides no build instructions. Requiring 'swift' is disproportionate unless the agent is expected to compile the tool from source (no source or build steps are provided). The registry's top-level OS restriction is 'none' while the SKILL.md metadata states 'os: macOS' — minor inconsistency.
Instruction Scope
SKILL.md instructs only how to run the CLI and how to install it via Homebrew; it does not ask the agent to read unrelated files or credentials. However the action itself is privacy-sensitive (device geolocation) and will require macOS location permissions and Gatekeeper approval. The instructions do not explain where the CLI binary comes from or what code will run when invoked.
Install Mechanism
There is no formal install spec (instruction-only), which is lower risk for automatic installs, but the manual Installation line is ambiguous/malformed ('brew install cask corelocationcli' is not a standard brew command). Because no source, homepage, or release URL is provided, there's no provenance for the binary the user is asked to run. That missing provenance increases risk if the user chooses to install a third-party cask.
Credentials
The skill declares no environment variables, credentials, or config paths. That's proportionate for a CLI that prints local location. The primary risk here is privacy (location), not credential access.
Persistence & Privilege
The skill is not always-enabled and does not request persistent privileges in the registry metadata. It does not attempt to modify other skills or system config in the provided instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install corelocationcli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /corelocationcli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of corelocationcli. - Get the physical location of your macOS device and print it to stdout. - Supports output in plain text (with customizable format) or JSON. - Options include: watch mode, verbose/debug output, formatting, and version/help commands. - Reverse geocoding supported with detailed fields. - Installation instructions provided for Homebrew. - Notes on Wi-Fi requirements and macOS Gatekeeper approval included.
元数据
Slug corelocationcli
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论