agent-identity

agent-identity is a skill for Claude Code from 23blocks-OS/ai-maestro-plugins. It costs 82 tokens per session (1,069 once invoked), scanned A, 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.

Part of the ai-maestro plugin — 16 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 16 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-identity

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00082 $0.01069
Opus 5.5 $0.00033 $0.00428
Sonnet 5.5 $0.00016 $0.00214
Haiku 4.5 $0.00008 $0.00107

Measured 2mo ago against content hash 929a7a8c4653, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-identity scanned grade A with 1 finding 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 2mo 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.

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 · 59 lines

How it starts

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

Agent Identity (AID)

AID lets an agent sign in to an auth server with its own Ed25519 key instead of a shared secret. The agent registers its public key once; after that, each token request is a signed proof of possession exchanged for a short-lived JWT scoped to the agent's role. The aid-*.sh scripts handle keys, signing, discovery and caching. AID shares ~/.agent-messaging/agents/ with AMP when both are installed, so one identity serves both; neither needs the other.

Flow

aid-init.sh --auto                                   # 1. once: create the keypair and identity

aid-request.sh --auth https://auth.example.com/acme  # 2a. ask for access; an admin approves it
aid-request.sh --auth https://auth.example.com/acme --poll   #     check whether it was approved
# or
aid-register.sh --auth https://auth.example.com/acme --token <ADMIN_JWT> --role-id 2   # 2b. admin registers directly

TOKEN=$(aid-token.sh --auth https://auth.example.com/acme --quiet)   # 3. get a token
curl -H "Authorization: Bearer $TOKEN" https://api.example.com/resource

Use aid-request.sh unless the user has given you an admin JWT. If you only know the API's URL, pass --resource <api-url> instead of --auth to aid-request.sh or aid-token.sh, and the auth server is discovered (RFC 9728, then RFC 8414).

Commands

aid-init.sh --auto | --name <name> [--force]          # --force overwrites the existing identity
aid-discover.sh --resource <api-url> [--json | --quiet]   # --quiet prints only the auth server URL
aid-request.sh --auth <url> | --resource <api-url> [--name <display>] [--description "<why>"] [--api-key <k>] [--poll]
aid-register.sh --auth <url> --token <admin-jwt> --role-id <id> [--name <display>] [--description "<text>"] [--lifetime <seconds>] [--api-key <k>]
aid-token.sh --auth <url> | --resource <api-url> [--scope "a:read b:write"] [--credential-type access_token|api_key] [--quiet | --json] [--no-cache] [--api-key <k>]
aid-status.sh [--json]                                # identity, registrations, cached tokens

Read the full file on GitHub · 59 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · -253 lines · +29 tokens per session scan C → A 929a7a8c4653
  2. 3mo 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 (11 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 1,069 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

agent-identity compared with skills from other repositories

agent-identity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-identity23blocks-OS/ai-maestro-pluginsSkill11yesterdayMITA82Claude Code
pdfsmith-network-solutions/threadknotSkill93d agoApache-2.0A88Claude Code, Codex
memory-searchevoelsewhere/evofluxSkill131mo agoApache-2.0A112Claude Code
intelligent-uievoelsewhere/evofluxSkill131mo agoApache-2.0A90Claude Code, Codex
diagram-designevoelsewhere/evofluxSkill131mo agoApache-2.0A90Claude Code, Codex
agentsitaywol/adeptabilitySkill94mo agoMITA5Claude Code, Codex
authoring-adept-agentsitaywol/adeptabilitySkill94mo agoMITA47Claude Code