agent-identity

agent-identity is a skill for Claude Code from 23blocks-OS/ai-maestro-plugins. It costs 53 tokens per session (2,882 once invoked), scanned C, original, MIT.

A protocol and set of tools for giving AI agents cryptographic identities and controlled access to services. It uses identity documents, proof of ownership, OAuth token exchange, and scoped JWT access tokens.

In plain words
What is it for?
Use it to create an agent identity, register it with an authentication server, check registration, obtain access tokens, and configure permissions for APIs.
Why use it?
It removes the need to treat every agent as an unnamed client and helps limit what an authenticated agent is allowed to access.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the ai-maestro plugin — 8 skills, 3 hooks shipped together

Good fit Use it to create an agent identity, register it with an authentication server, check registration, obtain access tokens, and configure permissions for APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/23blocks-os/ai-maestro-plugins/agent-identity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 23blocks-OS/ai-maestro-plugins --skill agent-identity
Clone the repo
git clone --depth 1 https://github.com/23blocks-OS/ai-maestro-plugins

Made for: Claude Code.

Or install ai-maestro, the plugin that ships this one along with the rest of its 8 skills, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-identity

README.md
[![agentmods](https://agentmods.dev/badge/skills/23blocks-os/ai-maestro-plugins/agent-identity.svg)](https://agentmods.dev/skills/23blocks-os/ai-maestro-plugins/agent-identity)
Your own site
<a href="https://agentmods.dev/skills/23blocks-os/ai-maestro-plugins/agent-identity"><img src="https://agentmods.dev/badge/skills/23blocks-os/ai-maestro-plugins/agent-identity.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,882 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02882
Opus 5 $0.00026 $0.01441
Sonnet 5 $0.00011 $0.00576
Haiku 4.5 $0.00005 $0.00288

Measured 8d ago against content hash 290139efe480, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

agent-identity scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/agentmessaging/agent-identity/main/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires curl, jq, openssl (3.x for Ed25519), and base64 CLI tools. macOS and Linux supported.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/ai-maestro/skills/agent-identity/SKILL.md · 312 lines

How it starts

The opening of the file, as written. The whole thing — 312 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Identity (AID) Protocol

Authenticate AI agents with auth servers using cryptographic identity documents and proof of possession. AID is self-contained — no other protocols required.

When to use this skill

Use this skill when the user or task requires:

  • Initializing an agent's Ed25519 identity
  • Requesting registration with an auth server (agent-initiated)
  • Registering an agent's identity with an auth server (admin-initiated)
  • Checking the status of a pending registration request
  • Obtaining JWT tokens for API access via token exchange
  • Checking an agent's AID registration status
  • Setting up agent-to-server authentication
  • Configuring scoped permissions for agent API access

Quick Start

# 1. Initialize agent identity (one-time)
aid-init.sh --auto

# 2a. Request registration (agent-initiated, no admin token needed)
aid-request.sh --auth https://auth.23blocks.com/acme
# ... wait for admin approval ...
aid-request.sh --auth https://auth.23blocks.com/acme --poll

# 2b. Or: admin-initiated registration (requires admin token)
aid-register.sh --auth https://auth.23blocks.com/acme \
  --token <ADMIN_JWT> --role-id 2

# 3. Get a JWT token
TOKEN=$(aid-token.sh --auth https://auth.23blocks.com/acme --quiet)

# 4. Use it for API calls
curl -H "Authorization: Bearer $TOKEN" https://api.example.com/resource

Installation

For Claude Code (skill)

npx skills add agentmessaging/agent-identity

Quick Install

curl -fsSL https://raw.githubusercontent.com/agentmessaging/agent-identity/main/install.sh | bash

Manual

git clone https://github.com/agentmessaging/agent-identity.git ~/agent-identity
export PATH="$HOME/agent-identity/scripts:$PATH"

Commands Reference

aid-init.sh — Initialize Agent Identity

Create an Ed25519 keypair and identity for this agent.

aid-init.sh --auto              # Auto-detect name from environment
aid-init.sh --name my-agent     # Specify agent name
aid-init.sh --name my-agent --force  # Overwrite existing

Read the full file on GitHub · 312 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 312 lines · 53 tokens per session scan C 290139efe480

Subscribe to this mod's changes

agent-identity is a skill published in the GitHub repository 23blocks-OS/ai-maestro-plugins (9 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 2,882 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

compose-next

Use this skill only when the user explicitly asks for the Compose Next delivery workflow, by name or in clear natural language. It carries one feature, fix, or refactor through requirement resolution, workspace setup, specification, implementation, verification, independent review, and hand-off in a single contract.…

evoelsewhere/evoflux · 96 tokens

coding-investigation

Investigate unfamiliar code behavior, or answer an exact symbol's definition, callers, callees, references, impact, and cross-repository relationship questions. Use it to trace activation, ownership, data flow, configuration, registration, and runtime wiring with bounded source evidence without mutating code; do not…

evoelsewhere/evoflux · 81 tokens

deep-research

Use this skill for a thorough multi-source investigation that must end in a cited report: competitive landscapes, technology comparisons across many candidates, market or policy questions where one search is not enough. It scopes a brief, gathers evidence into a durable workspace, and writes one coherent sourced…

evoelsewhere/evoflux · 85 tokens

skill-installer

Create, import, update, validate, or relocate portable Agent Skill bundles with SKILL.md, on-demand references, deterministic scripts, output assets, UI metadata, and EvoFlux mode settings. Use for explicit skill authoring or installation; do not use for invoking an existing skill, changing agent configuration, or…

evoelsewhere/evoflux · 71 tokens

pdf

Read, create and manipulate PDF files — extract text and tables, merge, split, rotate, reorder and delete pages, read and fill AcroForm fields, add or strip metadata, encrypt and decrypt, and generate new PDFs from HTML or from scratch. Also covers rasterising pages to images so a PDF can actually be looked at, and…

smith-network-solutions/threadknot · 88 tokens

easd-implement

Implement bounded work for an active EASD run under its accepted specification and AC ownership. Use only when EASD has authorized implementation; do not use while the run is Intent, authoring, draft, or merely accepted.

evoelsewhere/evoflux · 51 tokens