map

A Chinese-language map tool for finding places and planning routes. POI means a searchable place such as a restaurant, museum, or attraction.

In plain words
What is it for?
Planning driving, walking, cycling, and public-transport routes, and finding attractions or restaurants in a city.
Why use it?
It helps answer travel questions with route directions and searchable places instead of requiring separate map searches for each stop.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/countbot-ai/countbot/map
Any agent
npx skills add countbot-ai/CountBot --skill map
Clone the repo
git clone --depth 1 https://github.com/countbot-ai/CountBot

Made for: Claude Code, Codex.

Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.00726
Opus 5 $0.00026 $0.00363
Sonnet 5 $0.00011 $0.00145
Haiku 4.5 $0.00005 $0.00073

Measured 2d ago against content hash dc8d59fc623c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

map 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 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/map_manager.py, scripts/map.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.

workspace/skills/map/SKILL.md · 90 lines

What it actually says

地图路线规划与 POI 搜索

基于高德地图 API 的路线规划和 POI 搜索服务。

配置

编辑 skills/map/scripts/config.json,填写高德地图 API Key:

{
  "amap_key": "YOUR_AMAP_KEY"
}

AI 调用示例

用户说"我想去东莞玩3天":

# 1. 搜索景点
python3 skills/map/scripts/map.py attractions --city 东莞 --page-size 20 --json

# 2. 查询景点间路线
python3 skills/map/scripts/map.py driving --origin "旗峰公园" --destination "可园博物馆" --origin-city 东莞 --dest-city 东莞

用户说"东莞有什么好吃的":

python3 skills/map/scripts/map.py restaurants --city 东莞 --page-size 20 --json

用户说"从天安门到鸟巢坐地铁怎么走":

python3 skills/map/scripts/map.py transit --origin "天安门" --destination "鸟巢" --city1 010 --city2 010

命令行参考

路线规划

# 驾车
python3 skills/map/scripts/map.py driving --origin "起点" --destination "终点" --origin-city 城市 --dest-city 城市

# 步行
python3 skills/map/scripts/map.py walking --origin "起点" --destination "终点" --origin-city 城市 --dest-city 城市

# 公交(需要城市编码)
python3 skills/map/scripts/map.py transit --origin "起点" --destination "终点" --city1 编码 --city2 编码

# 显示详细步骤
python3 skills/map/scripts/map.py driving --origin "起点" --destination "终点" --show-steps

POI 搜索

# 景点搜索(风景名胜 + 博物馆)
python3 skills/map/scripts/map.py attractions --city 城市 --page-size 20

# 餐厅搜索(排除快餐)
python3 skills/map/scripts/map.py restaurants --city 城市 --page-size 20

# 通用搜索
python3 skills/map/scripts/map.py search --keywords 关键词 --city 城市

常用城市编码

城市 编码 城市 编码
北京 010 上海 021
广州 020 深圳 0755
东莞 0769 杭州 0571

注意事项

  • 支持地址名称或经纬度坐标作为起终点,系统自动识别
  • 建议提供城市参数以提高地址解析准确性
  • 公交路线必须提供城市编码
  • 所有搜索命令支持 --json 输出
Files

What ships with it

4 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. 2d ago First seen · 90 lines · 53 tokens per session scan A dc8d59fc623c

Subscribe to this mod's changes

map is a skill published in the GitHub repository countbot-ai/CountBot (773 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 726 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.