amap-traffic
Skill1 starsChanged 12 days agoMITView on GitHub
高德地图实时路况查询与最优自驾路线规划技能。基于高德交通态势API和路径规划API,提供实时拥堵信息和最快路线建议。
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- agentbay-ai/agentbay-skillsedited, first seen Feb 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- agentbay-ai/agentbay-skills★ 5089% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository199 other files it gives its agents.
- activecampaignSkill
- adcp-advertisingSkill
- admapixSkill
- aegis-auditSkill
- afrexai-compliance-auditSkill
- afrexai-seo-content-engineSkill
- agent-browserSkill
- agentic-codingSkill
- agent-overflowSkill
- agent-skills-toolsSkill
- ai-ppt-generatorSkill
- airdrop-hunterSkill
- ai-web-automationSkill
- alicloud-ai-video-wan-r2vSkill
- alpha-finderSkill
- amazon-product-apiSkill
- apertureSkill
- api-developmentSkill
- api-gatewaySkill
- asterSkill
- auto-replySkill
- auto-updaterSkill
- aviation-weatherSkill
- awwwards-designSkill
- base-8004Skill
- bioskillsSkill
- brainrepoSkill
- browserless-agentSkill
- browser-secureSkill
- btc15-autonomous-marketSkill
- buy-anythingSkill
- byteroverSkill
- cal-com-automationSkill
- capability-evolverSkill
- catalogSkill
- chargebeeSkill
- clawcostSkill
- clawdbot-documentation-expertSkill
- clawdbot-for-vcsSkill
- clawddocsSkill
- claw-syncSkill
- claw-trader-liteSkill
- clean-codeSkill
- cloudphoneSkill
- cls-certifySkill
- codebergSkill
- code-mentorSkill
- commit-analyzerSkill
- competitor-analysis-reportSkill
- content-ideas-generatorSkill
- content-ideasSkill
- contract-generatorSkill
- conventional-commitsSkill
- copywritingSkill
- crypto-payments-ecommerceSkill
- custom-smtp-senderSkill
- dashboard-manager2Skill
- data-analystSkill
- docker-sandboxSkill
- elite-longterm-memorySkill
- The first 60 shown.
The file
Files
迁移说明:本技能原为 OpenClaw / ClawHub 生态技能,现已转为 WorkBuddy 技能规范。正文如出现
openclaw/clawhub/claw命令或~/.openclaw路径,请忽略该命令形式,改用 WorkBuddy 等价操作:技能目录 =~/.workbuddy/skills/<name>/;装包用 pip / npm;联网用 WebSearch / WebFetch;读写文件用 Read / Write / Edit;执行命令用 Bash(Windows 走 PowerShell 工具)。
运行依赖:需要环境变量
AMAP_KEY(未配置则该技能不可用);缺失时先安装 / 配置,再执行正文步骤。
高德实时路况与路线规划
概述
本技能通过高德地图API实现:
- 实时路况查询:获取指定道路/区域的拥堵状态
- 智能路线规划:基于实时路况计算最快自驾路线
- 多方案对比:提供时间、距离、费用等维度的路线比较
🔑 API Key 配置
- 访问 高德开放平台 创建 Key
- 在 OpenClaw Web 配置页面设置:
地址: http://127.0.0.1:18789/skills
配置文件字段:skills.entries.amap-traffic.AMAP_KEYinopenclaw.json
值: 你的高德API Key
注意: 本技能每次调用时都会重新读取
openclaw.json中的最新AMAP_KEY,支持前端动态更新密钥后立即生效。
API 使用说明
1. 实时路况查询
curl "https://restapi.amap.com/v3/traffic/status/road?roadid={道路ID}&key={动态读取的AMAP_KEY}"2. 智能路线规划(含实时路况)
curl "https://restapi.amap.com/v3/direction/driving?origin={起点坐标}&destination={终点坐标}&strategy=2&key={动态读取的AMAP_KEY}"strategy=2:优先考虑实时路况的最快路线
路况状态说明
- 畅通:🟢 绿色(速度 > 40km/h)
- 缓行:🟡 黄色(20-40km/h)
- 拥堵:🔴 红色(< 20km/h)
- 严重拥堵:🟣 紫红色(< 10km/h)
资源
scripts/
包含高德实时路况查询和路线规划的核心脚本。
scripts/amap_traffic.py
Python 脚本,实现完整的实时路况查询和最优路线规划功能。
每次执行时都会从 /home/admin/.openclaw/openclaw.json 读取最新的 AMAP_KEY,
确保前端动态更新密钥后立即生效。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

