# Agentuity CLI Auth Whoami

> Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials

- Skill: `majiayu000/agentuity-cli-auth-whoami` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/agentuity-cli-auth-whoami`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/agentuity-cli-auth-whoami/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/agentuity-cli-auth-whoami

---


# Auth Whoami

Display information about the currently authenticated user

## Prerequisites

- Authenticated with `agentuity auth login`

## Usage

```bash
agentuity auth whoami
```

## Examples

Show current user:

```bash
bunx @agentuity/cli auth whoami
```

Show output in JSON format:

```bash
bunx @agentuity/cli --json auth whoami
```

## Output

Returns JSON object:

```json
{
  "userId": "string",
  "firstName": "string",
  "lastName": "string",
  "organizations": "array"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `userId` | string | Unique user identifier |
| `firstName` | string | User first name |
| `lastName` | string | User last name |
| `organizations` | array | Organizations the user belongs to |

