Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

geocodegeocode 搜索

Agent Skill

geocode 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,616

周安装

389

GitHub Stars

公开资料未说明

下载量

3,019
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:geocode(geocode 搜索)
来源仓库:https://github.com/jvy/geocode
安装命令:
openclaw skills install geocode
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install geocode

简介

用于通过经纬度坐标反查人类可读地理位置信息。

  • 支持反向地理编码,适用于地图应用、物流追踪等场景的数据补全。
  • 调用 geocode.com.cn 接口获取结果,返回结构化地址详情。
  • 输出受服务商覆盖范围限制,偏远地区可能返回不完整信息。
  • 使用前请检查网络连接与 API 配额,避免因调用失败影响主流程。

SKILL.md

name
geocode
description
Reverse geocode latitude/longitude to a human-readable region using geocode.com.cn. Triggers on reverse geocode, lat/lng, latitude/longitude, coordinates to address, 经纬度转地址, 坐标查地点.
metadata
{ "openclaw": { "emoji": "🧭", "requires": { "bins": ["curl"] } } }

geocode

Resolve coordinates back to a place name.

Provider: https://geocode.com.cn via curl.

Current root response behavior:

  • GET https://geocode.com.cn/ without params returns 400 Bad Request
  • returns field labels for Chinese and English display
  • demo: https://geocode.com.cn/?lat=39.9042&lon=116.4074

Quick Start

{baseDir}/scripts/geocode.sh hint
{baseDir}/scripts/geocode.sh reverse 32.9042 110.805 --lang zh-CN
{baseDir}/scripts/geocode.sh reverse 37.819929 -122.478255 --lang en

When to Use

  • "Reverse geocode 32.9042, 110.805"
  • "Coordinates to address"
  • "根据经纬度查地点"
  • "把经纬度转成地址"

When NOT to Use

  • Address/place name to coordinates (forward geocoding): use another provider
  • Rich place details, reviews, opening hours, or POI metadata: use goplaces
  • Routing, distance matrices, or navigation
  • High-volume batch geocoding

Query Rules

  • Pass decimal latitude and longitude.
  • The endpoint supports reverse geocoding only via GET /?lat=<latitude>&lon=<longitude>.
  • A bare root request returns a field-label hint payload describing the reverse-geocode result columns.
  • accept-language may still be passed, but the documented contract on the site only guarantees lat and lon.

Config

  • GEOCODE_BASE_URL optionally points at another endpoint for testing or self-hosting.
  • GEOCODE_USER_AGENT overrides the default identifying User-Agent.

Public API Limits

  • Use public endpoints only for low-frequency, interactive lookups.
  • Send an identifying User-Agent; do not use default curl UA for repeated calls.
  • Do not loop, bulk geocode, or aggressively retry against the public endpoint.

Commands

Scripted Reverse Geocode

{baseDir}/scripts/geocode.sh reverse 32.9042 110.805 --lang zh-CN
{baseDir}/scripts/geocode.sh reverse 37.819929 -122.478255 --lang en

Raw Reverse Geocode

curl --get 'https://geocode.com.cn/' \
  -A 'openclaw-geocode-skill/1.0 (interactive use)' \
  --data 'lat=32.9042' \
  --data 'lon=110.805'

Scripted Root Hint

{baseDir}/scripts/geocode.sh hint

Raw Root Hint Response

curl -iL 'https://geocode.com.cn/'

Current response body:

{
  "demo": "https://geocode.com.cn/?lat=25.7433&lon=123.4733",
  "zh": ["国家/地区", "省", "市", "县", "乡镇/街道"],
  "en": ["Country", "admin1", "admin2", "", "name"]
}

Response Shape

Successful responses return a compact JSON array, not an object. The root hint now documents five display fields instead of the old six-field output description.

Fixed order mapping:

  • index 0: Country / 国家/地区
  • index 1: admin1 /
  • index 2: admin2 /
  • index 3: county-level field when present /
  • index 4: name / 乡镇/街道

Example:

["CN", "Taiwan Province", "Yilan County", "Toucheng Township", ""]

What to Return

  • The original coordinates
  • Best available locality/region text assembled from name, county, admin2, and admin1
  • Country or region value when present
  • A note that some positions may be empty, especially the county or name slot over water or remote areas
  • A short note if any fields are empty

Notes

  • The bundled script prints raw JSON to stdout and keeps dependencies to curl only.
  • search is intentionally unsupported because geocode.com.cn explicitly says it only supports GET /?lat=<latitude>&lon=<longitude>.
  • If the user needs address-to-coordinate lookup, switch to a forward-geocoding provider instead of this endpoint.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.3%
按下载量换算2,907

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills