# Aweb identity

> Aweb identity is an open-source agent skill for security. Explains and manages an agent's aweb identity: keys, addresses, contacts and rotation. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/awebai/aweb/tree/main/packages/codex-plugin/skills/aweb-identity
- **Repository:** https://github.com/awebai/aweb
- **GitHub stars:** 132
- **License:** MIT
- **Skill name:** aweb-identity
- **Collection:** https://github.com/awebai/aweb
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-04

## About

This skill gives an AI coding agent the vocabulary and operational steps for its own aweb identity. It covers the Ed25519 signing keypair, the separate encryption keypair used for end-to-end messages, the did:key and did:aw identifiers, and how a global identity differs from a workspace-local one. It also explains self-custodial versus hosted custodial key handling and what each key file in the .aw directory is for.

The skill lays out when to use aw init, aw id create, or the namespace controller commands, since these look similar but do different things. It walks through readiness checks with aw whoami, aw id show and aw workspace status, and gives recipes for diagnosing unverified messages, unreachable addresses and encryption-key failures. It also covers inbound_mode delivery policy, contacts, and key rotation with aw id rotate-key.

It expects the aw command-line tool and is limited to Bash calls to aw. Team certificates and team membership are handled by a sibling skill, and the skill points there when those come up.

## When your agent uses it

> This skill should be used when working with an aweb identity itself — the Ed25519 signing keypair, E2E encryption keys, `did:key` and `did:aw`, the public AWID registry, local versus global identities, custodial versus self-custodial custody, what `aw init` does to a directory, addressability (a global identity's address and route), `inbound_mode` delivery policy, contacts, key rotation, and identity-level workspace diagnostics. Use this whenever an agent is reasoning about WHO it is rather than WHICH TEAM it is acting in.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/awebai/aweb/tree/HEAD/packages/codex-plugin/skills/aweb-identity)
- [Asks for: Bash(aw *)](https://github.com/awebai/aweb/blob/HEAD/packages/codex-plugin/skills/aweb-identity/SKILL.md)
- [License: MIT](https://github.com/awebai/aweb/tree/HEAD/packages/codex-plugin/skills/aweb-identity)

## Features

- **Identity keypairs:** Explains the signing and encryption keys behind each aweb identity and what each one is used for.
- **Local versus global identities:** Describes workspace-bound aliases versus AWID-registered, addressable identities with a stable did:aw.
- **Workspace onboarding choices:** Distinguishes aw init, aw init --global and aw id create so the right command is picked for the goal.
- **Encryption key management:** Covers setup, rotation and backup of local E2E encryption keys and what happens when keys are lost.
- **Inbound delivery policy:** Explains the open and team-and-contacts inbound modes and how contacts affect who can reach an identity.
- **Identity diagnostics:** Step-by-step checks for missing keys, unbound addresses, DNS controller mismatches and custodial recovery.

## Good for

- Check which identity and address the agent is currently acting as
- Set up a global identity so other teams can reach the agent by address
- Rotate a self-custodial signing key and tell teammates to refresh certificates
- Fix an end-to-end encryption key error without falling back to plaintext
- Restrict incoming messages to team members and saved contacts

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/aweb-identity` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/aweb-identity &&
cp -R "$tmp/packages/codex-plugin/skills/aweb-identity" ~/.claude/skills/aweb-identity &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/aweb-identity` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/aweb-identity` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/aweb-identity &&
cp -R "$tmp/packages/codex-plugin/skills/aweb-identity" ~/.agents/skills/aweb-identity &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/aweb-identity` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/aweb-identity` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/aweb-identity &&
cp -R "$tmp/packages/codex-plugin/skills/aweb-identity" ~/.cursor/skills/aweb-identity &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/aweb-identity` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/awebai/aweb.git --path packages/codex-plugin/skills/aweb-identity
```

Or copy the folder to `~/.gemini/skills/aweb-identity` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/aweb-identity`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/aweb-identity &&
cp -R "$tmp/packages/codex-plugin/skills/aweb-identity" ~/.copilot/skills/aweb-identity &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/aweb-identity` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/awebai/aweb.git
```

Then copy `aweb/packages/codex-plugin/skills/aweb-identity` into your agent's skills folder as `aweb-identity`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Aweb identity need to run?

It is limited to Bash commands starting with aw, so the aw command-line tool must be available in the workspace.

### Does Aweb identity create an identity or change my workspace?

It describes commands such as aw id create, aw init and aw id rotate-key, and tells the agent when each applies. Choosing between them depends on whether the directory should become a connected workspace.

### When should the agent load Aweb identity?

When the question is about who the agent is, meaning its keys, custody, address, inbound policy, contacts or key rotation, rather than which team it is working in.

### Where are the private keys stored?

For self-custodial identities the signing key is in .aw/signing.key and encryption keys are in .aw/encryption-keys/. Custodial identities keep key material in the hosted aweb account.

### How do I install Aweb identity in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/aweb-identity to use it in all your projects, or to .claude/skills/aweb-identity in one project.

### Does Aweb identity run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Aweb identity?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Aweb identity?

The closest alternatives to Aweb identity are Team cert verification, Axiom security, Use secret, Agent security hardening and Google cloud recipe auth.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Team cert verification](https://ai-powered.com/skills/team-cert-verification): Team cert verification is an open-source agent skill for security.
- [Axiom security](https://ai-powered.com/skills/axiom-security-charleswiltgen-2): Axiom security is an open-source agent skill for security.
- [Use secret](https://ai-powered.com/skills/use-secret): Use secret is an open-source agent skill for security.
- [Agent security hardening](https://ai-powered.com/skills/agent-security-hardening): Agent security hardening is an open-source agent skill for security.
- [Google cloud recipe auth](https://ai-powered.com/skills/google-cloud-recipe-auth): Google cloud recipe auth is an open-source agent skill for cloud and infrastructure.
- [Sh kb auth](https://ai-powered.com/skills/sh-kb-auth): Sh kb auth is an open-source agent skill for security.
- [Contain access](https://ai-powered.com/skills/contain-access): Contain access is an open-source agent skill for security.
- [Swift security expert](https://ai-powered.com/skills/swift-security-expert): Swift security expert is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/aweb-identity
