amap-service

amap-service is a skill for Claude Code, Codex from xyva-yuangui/XyvaClaw. It costs 52 tokens per session (438 once invoked), scanned A, original, MIT.

A China-focused map and location service using the Amap Web Service API. It covers routes, nearby-place searches, address-to-coordinate conversion, coordinate-to-address lookup, static maps, IP location, districts, and weather.

In plain words
What is it for?
Use it to plan driving, walking, public-transit, or cycling routes; find nearby places; convert addresses and coordinates; create static map images; locate IP addresses; query districts; and check weather.
Why use it?
It puts several location tasks behind one interface instead of requiring separate map operations. It can answer both “where is this?” and “how do I get there?” questions for China.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to plan driving, walking, public-transit, or cycling routes; find nearby places; convert addresses and coordinates; create static map images; locate IP addresses; query districts; and check weather.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyva-yuangui/xyvaclaw/amap-service
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xyva-yuangui/XyvaClaw --skill amap-service
Clone the repo
git clone --depth 1 https://github.com/xyva-yuangui/XyvaClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for amap-service

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/amap-service/github.svg)](https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/amap-service)
Your own site
<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/amap-service"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/amap-service/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for amap-service

Your own site · 80×15
<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/amap-service"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/amap-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00438
Opus 5 $0.00026 $0.00219
Sonnet 5 $0.00010 $0.00088
Haiku 4.5 $0.00005 $0.00044

Measured 12d ago against content hash cdaa45261c42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

amap-service scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/amap_api.py, scripts/amap_service.py, scripts/health_check.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

config-base/workspace/skills/amap-service/SKILL.md · 42 lines

What it actually says

高德地图服务 (amap-service)

调用高德 Web Service API,支持 9 大类地图能力。

When to Use

  • 导航 / 路径规划(驾车、步行、公交、骑行)
  • 查附近餐厅 / 加油站 / 商场等 POI
  • 地址 → 经纬度(地理编码)
  • 经纬度 → 地址(逆地理编码)
  • 生成静态地图图片
  • IP 定位
  • 行政区查询
  • 天气查询(高德版,可替代 weather-query)

Commands

uv run amap_service.py route --origin "北京南站" --dest "天安门" [--mode driving|walking|transit|riding]
uv run amap_service.py poi --keywords "火锅" --city "成都" [--radius 3000]
uv run amap_service.py geo --address "上海市浦东新区陆家嘴"
uv run amap_service.py regeo --location "121.473701,31.230416"
uv run amap_service.py staticmap --location "121.473701,31.230416" [--zoom 14] [--size 400x300]
uv run amap_service.py ip [--ip 8.8.8.8]
uv run amap_service.py district --keywords "海淀区"
uv run amap_service.py weather --city "北京"
uv run amap_service.py search --keywords "星巴克" --city "上海" [--type text|around]

Configuration

API Key 读取顺序:

  1. 环境变量 AMAP_API_KEY
  2. openclaw.jsonskills.amap.apiKey

申请地址:https://lbs.amap.com/(免费额度:5000次/天)

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 42 lines · 52 tokens per session scan A cdaa45261c42

Subscribe to this mod's changes

amap-service is a skill published in the GitHub repository xyva-yuangui/XyvaClaw (21 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 438 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

imap-smtp-email

Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.

netease-youdao/LobsterAI · 82 tokens

technology-search

Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation. Use this skill only when the topic is clearly about programming, software, hardware, AI, or IT infrastructure.

netease-youdao/LobsterAI · 65 tokens

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens

article-writer

Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".

netease-youdao/LobsterAI · 62 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

content-planner

WeChat Official Account topic planning and content calendar management. Based on WeChat article search and trending analysis, generates differentiated topic recommendations and outputs structured content calendars. Activated when users mention "topic", "planning", "content calendar", "trending", or "what to write next…

netease-youdao/LobsterAI · 63 tokens