agentuity-cli-auth-whoami
显示有关当前经过身份验证的用户的信息。需要身份验证。用于管理身份验证凭据
📖 中文导读:显示有关当前经过身份验证的用户的信息。需要身份验证。用于管理身份验证凭据 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: agentuity-cli-auth-whoami description: Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials version: "0.0.103" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" metadata: command: "agentuity auth whoami" tags: "read-only fast requires-auth"
Auth Whoami
Display information about the currently authenticated user
Prerequisites
- Authenticated with
agentuity auth login
Usage
agentuity auth whoami
Examples
Show current user:
bunx @agentuity/cli auth whoami
Show output in JSON format:
bunx @agentuity/cli --json auth whoami
Output
Returns JSON object:
{
"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 |