🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

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.

Versionv1.0.0
Downloads4,278
Stars⭐ 1
TERMINAL
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

  • 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

    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: JSON Schema:

    πŸ’‘ 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).