skills/anp-agent/SKILL.md
ANP 协议跨 Agent 调用技能。通过 did:wba 去中心化身份,调用 ANP 网络中的任意 Agent(如高德地图、酒店预订、快递查询等)。当用户提到 ANP、调用 Agent、订酒店、查快递、查地图、路线规划时触发此技能。
npx skillsauth add agent-network-protocol/anp anp-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
通过 ANP (Agent Network Protocol) 协议,使用去中心化身份 (did:wba) 调用远程 Agent。
当用户需要:
给定 AD URL,获取 Agent 的可用方法:
python scripts/anp_cli.py connect "<AD_URL>"
示例:
python scripts/anp_cli.py connect "https://agent-connect.ai/mcp/agents/amap/ad.json"
使用已注册 ID 或 AD URL 调用:
python scripts/anp_cli.py call <id|ad_url> <method> '<json_params>'
示例:
# 搜索北京咖啡厅
python scripts/anp_cli.py call amap maps_text_search '{"keywords":"咖啡厅","city":"北京"}'
# 查询天气
python scripts/anp_cli.py call amap maps_weather '{"city":"上海"}'
# 列出已注册
python scripts/anp_cli.py list
# 添加新 Agent
python scripts/anp_cli.py add <id> "<ad_url>"
# 移除
python scripts/anp_cli.py remove <id>
| ID | 名称 | AD URL | |----|------|--------| | amap | 高德地图 | https://agent-connect.ai/mcp/agents/amap/ad.json | | kuaidi | 快递查询 | https://agent-connect.ai/mcp/agents/kuaidi/ad.json | | hotel | 酒店预订 | https://agent-connect.ai/agents/hotel-assistant/ad.json | | juhe | 聚合查询 | https://agent-connect.ai/mcp/agents/juhe/ad.json | | navigation | Agent导航 | https://agent-search.ai/agents/navigation/ad.json |
| 方法 | 功能 | 参数示例 |
|------|------|----------|
| maps_text_search | 搜索地点 | {"keywords":"咖啡厅","city":"北京"} |
| maps_weather | 查询天气 | {"city":"上海"} |
| maps_direction_driving | 驾车路线 | {"origin":"经度,纬度","destination":"经度,纬度"} |
| maps_around_search | 周边搜索 | {"location":"经度,纬度","keywords":"美食"} |
anp-agent/
├── SKILL.md # 本文件
├── config/
│ ├── did.json # DID 文档(公钥)
│ ├── private-key.pem # 私钥(签名用)
│ ├── agents.json # 已注册的 Agent 列表
│ └── .gitignore # 防止私钥泄露
└── scripts/
└── anp_cli.py # 主程序
pip install anp aiohttp
development
在 ANP SDK 仓库里统一发布 Go、Python、Rust 三个 SDK。用于同时更新 pyproject.toml、anp/__init__.py、uv.lock、rust/Cargo.toml、rust/Cargo.lock、golang/version.go,执行 uv/cargo/go 校验,发布 PyPI 与 crates.io,并按 Go 子目录 module 规则推送 golang/vX.Y.Z tag。用户提到 Go/Python/Rust 一起发版、统一版本号、固定发布 0.7.2、下一版自动 +1、保持版本段为一位数时使用此 skill。
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
OpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.