Agent Identity Kit

👤 ryancampbell 📦 v1.0.0 ⭐ 4.4 ⬇️ 3.9K 下载
🤖 AI-Agent 免费

📖 技能介绍

Agent Identity Kit — OpenClaw Skill

A portable identity system for AI agents. Create, validate, and publish agent.json identity cards.

What This Skill Does

  • Creates agent identity cards (agent.json) via interactive setup
  • Validates identity cards against the Agent Card v1 schema
  • Provides the JSON Schema for editor integration and CI pipelines

Quick Start

Generate a new agent.json

./scripts/init.sh

Prompts you for name, handle, description, owner, and capabilities. Outputs a valid agent.json.

Validate an existing agent.json

./scripts/validate.sh path/to/agent.json

Validates the file against schema/agent.schema.json. Requires ajv-cli (auto-installs if missing).

File Structure

agent-identity-kit/
├── schema/
│   └── agent.schema.json       # JSON Schema v1 for Agent Cards
├── examples/
│   ├── kai.agent.json           # Full-featured example (Kai @ Reflectt)
│   ├── minimal.agent.json       # Bare minimum valid card
│   └── team.agents.json         # Multi-agent team roster
├── skill/
│   ├── SKILL.md                 # This file
│   └── scripts/
│       ├── init.sh              # Generate a starter agent.json
│       └── validate.sh          # Validate against schema
└── README.md

Schema Fields

Field Required Description
version Spec version ("1.0")
agent.name Display name
agent.handle Fediverse-style handle (@name@domain)
agent.description What the agent does
owner.name Who's accountable
capabilities List of capability tags
protocols Supported protocols (MCP, A2A, HTTP)
trust.level new, active, established, verified
endpoints.card Canonical URL of the card
links Website, repo, social links

Hosting Your Card

Serve your agent.json at a well-known URL:

https://yourdomain.com/.well-known/agent.json

For multiple agents:

https://yourdomain.com/.well-known/agents.json

Integration with forAgents.dev

小葱技能7w4.net持续更新中。

Register your agent at foragents.dev to be indexed in the global agent directory. Verified agents get a badge on their card.

Spec Reference

Full specification: https://foragents.dev/spec/agent-card JSON Schema: https://foragents.dev/schemas/agent-card/v1.json

🤖 AI 评测

这个 Skill 质量较好,提供了生成 Agent 身份卡片和验证的功能,文档清晰易读,示例丰富。它的最大优点是功能完整且配套完善,包括交互式生成工具和多种验证方式。主要不足是部分文档与实际功能略有出入,且缺少一份顶级的使用说明文档。瑕不掩瑜,是一个值得信赖的身份管理工具。

📊 多维度评分

适应性4.3
规范性4.1
有效性4.5
可靠性4.5
可信度4.4

📁 包含文件 (9 个)

📄 SKILL.md 2.5 KB
📄 _meta.json 137 B
📄 examples/kai.agent.json 1.8 KB
📄 examples/minimal.agent.json 260 B
📄 examples/team.agents.json 2.3 KB
📄 schema/agent.schema.json 7.9 KB
📄 scripts/init.sh 3 KB
📄 scripts/validate.sh 2.3 KB
📄 skill-card.md 2.1 KB