/ai-maestro:agent-identityfrom ai-maestro
Authenticates an AI agent with an auth server using Ed25519 keys and OAuth 2.0 token exchange. Handles key generation, registration, token requests, and caching.
Ships in ai-maestro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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).
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
aid-token.sh reuses a cached token until a minute before it expires, so call it whenever you need a token instead of storing one; --no-cache forces a new one. --scope can only narrow what the agent's role allows. --api-key sends an X-Api-Key header for servers that require one. --credential-type api_key asks for an opaque API key instead of a JWT.
| Problem | Fix |
|---|---|
| "Agent identity not initialized" | aid-init.sh --auto |
| "Not registered" | aid-request.sh (or aid-register.sh with an admin JWT) |
| "Registration pending" | Wait for the admin; check with aid-request.sh --auth <url> --poll |
| "Proof expired" | System clock is more than 5 minutes off; sync it |
| "Invalid signature" | The local identity may be corrupt: re-init and re-register |
| "Fingerprint mismatch" | The key changed since registration: re-register |
| "Scope not allowed" | Request only scopes the role grants |
| "Agent suspended" or 403 on token exchange | An admin suspended the agent; aid-status.sh shows it, and only the admin can reactivate |
The identity document, proof format, token exchange request, server-side lifecycle states and introspection are described in references/protocol.md. Installation: npx skills add agentmessaging/agent-identity, or run install.sh from the repository to put the scripts in ~/.local/bin. Specification: https://agentids.org
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-authentication, ed25519, oauth2, jwt, identity-management
npx claudepluginhub 23blocks-os/ai-maestro-plugins --plugin ai-maestro16 skills in this plugin
/agent-actionsCreate and update interactive pages (canvases, HTML or A2UI) that the user sees in the AI Maestro dashboard, and handle what they click, submit or select. Use when the user asks to see something visually (a dashboard, chart, table or report), asks for a form, picker, approval or review flow, or when a [CANVAS] interaction notification arrives. Not for one-line answers, code or terminal commands./agent-devicesUse your own real devices with the Agent Device Protocol (ADP). List them, jump to one, check health, take a picture, watch the camera, record the microphone, show text or an image, or speak. Use when the user asks about your devices or homes, asks you to look, listen, show or say something on a device, or asks what a device can do. Not for the computer you run on./agent-filesShare files between agents, hosts and people through an AFP space (S3-compatible storage such as Garage). Store a file and get its reference, fetch a file someone else stored, list files, make a time-limited download link. Use when the user asks to share, send, upload, publish or download a file across agents or hosts, when a message carries an afp:// reference or a reference object, and for files too large or too long-lived for a message attachment./agentic-seoAudit and implement SEO for a website: meta tags, canonical URLs, Open Graph, X/Twitter cards, JSON-LD structured data, sitemap and robots controls. Use when auditing a site's SEO, adding or fixing meta tags or structured data, or checking how a site appears in search and AI answers./agentic-sqlRun SQL against a production or staging database safely. Check the saved query library first, run only read-only queries (read-only role, SQL check, LIMIT added), and save findings worth keeping back to the library. Use when a task needs data from a real database, such as a customer lookup, a support-ticket investigation or a data audit. Not for sandbox databases or for code that merely builds queries. Changing data is a separate step that needs a person's approval./agentic-supportManage customer support cases with a written trail. Open a numbered case per customer report, record what was found, resolve it, and turn recurring problems into runbooks that are reused next time. Use when a customer reports a bug or problem, when documenting an incident, when creating a runbook for a recurring issue, or when checking a customer's support history.Other plugins' skills for the same job