Agent Identity Kit
by @ryancampbell
Create, validate, and manage agent identity cards (agent.json) following the Agent Card v1 schema with interactive setup and validation tools.
clawhub install agent-identity-kitπ About This Skill
Agent Identity Kit β OpenClaw Skill
A portable identity system for AI agents. Create, validate, and publish agent.json identity cards.
What This Skill Does
agent.json) via interactive setupQuick 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
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:
π‘ Examples
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).