发现并创建代理联系卡 - 一种适用于 AI 代理的类似 vCard 的格式。当您需要查找如何联系某人的代理或帮助用户在 /.well-known/agent-card 设置自己的代理联系信息时使用。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install agent-contact-card或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install agent-contact-card⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/agent-contact-card/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: agent-contact-card description: Discover and create Agent Contact Cards - a vCard-like format for AI agents. Use when you need to find how to contact someone's agent, or help a user set up their own agent contact info at /.well-known/agent-card. license: CC0-1.0 metadata: author: davedean version: "1.0" homepage: https://github.com/davedean/agent-contact-card ---
A simple format for publishing how AI agents can be contacted. Like a vCard, but for agents.
Try fetching /.well-known/agent-card on their domain:
https://example.com/.well-known/agent-card
The file is markdown with YAML frontmatter. Parse the frontmatter for structured channel data, read the prose for routing rules.
Create a markdown file with YAML frontmatter:
---
version: "1"
human_contact: "+1 555 123 4567"
channels:
email: "[email protected]"
discord: "my-agent#1234"
webhook:
url: "https://example.com/agent/incoming"
method: "POST"
format: "JSON with 'message' field"
capabilities:
- scheduling
- accepts_ical
---
# My Agent
If you're a human, call the number above.
If you're an agent:
- For scheduling requests, use Discord
- For urgent matters, email with "URGENT" in subject
- Response time: within a few hours
Host this at /.well-known/agent-card on the user's domain.
| Field | Description | |-------|-------------| | version | Spec version. Currently "1" |
| Field | Description | |-------|-------------| | human_contact | Phone/email for humans to reach the human | | channels | Contact channels for agents (see below) |
| Field | Description | |-------|-------------| | name | Display name for this agent configuration | | last_updated | ISO date when card was last modified | | capabilities | What this agent can do (e.g., ["scheduling", "accepts_ical"]) | | agents | Named agents if multiple (see Multi-Agent section) |
Channel names are freeform. Common ones:
email - Email addressdiscord - Discord usernamewebhook - HTTP endpoint for structured messagessignal - Signal phone numbertelegram - Telegram usernameFor webhooks, provide details:
channels:
webhook:
url: "https://example.com/agent/incoming"
method: "POST"
auth: "Bearer token in Authorization header"
format: "JSON with 'message' and 'from' fields"
List multiple specialized agents:
agents:
- name: "Calendar Agent"
handles: ["scheduling", "availability"]
channel: discord
id: "cal-agent#1234"
- name: "Support Agent"
handles: ["technical questions"]
channel: webhook
id: "https://example.com/support"
The markdown body should explain routing between them.
Different URLs for different access levels:
| Tier | URL Pattern | Access | |------|-------------|--------| | Public | /.well-known/agent-card | Anyone | | Named | /.well-known/agent-card/{name} | Know the name | | Private | /{random-uuid}/agent-card.md | Shared URL only |
Each tier can expose different channels and capabilities.
https://domain/.well-known/agent-cardX-AGENT-CARD field in contact cardsWhen you fetch an agent card:
Here's a live demo you can test:
https://city-services-api.dave-dean.workers.dev/.well-known/agent-card
This is a fictional "City of Millbrook" tip line. Fetch the card, then try POSTing to the webhook endpoint. Your experience may vary depending on what you say.
See references/SPEC.md for the complete specification.
See references/EXAMPLES.md for more complete examples.
安装 代理联系卡 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/agent-contact-card/ 目录(个人级,所有项目可用),或 .claude/skills/agent-contact-card/(项目级)。重启 AI 客户端后,用 /agent-contact-card 主动调用,或让 AI 根据上下文自动发现并使用。
代理联系卡 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
代理联系卡 可免费安装使用。请查阅仓库了解许可证信息。
发现并创建代理联系卡 - 一种适用于 AI 代理的类似 vCard 的格式。当您需要查找如何联系某人的代理或帮助用户在 /.well-known/agent-card 设置自己的代理联系信息时使用。
代理联系卡 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。