一键导入
agentuity-cli-auth-whoami
Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Display the API key for the currently authenticated user. Requires authentication. Use for managing authentication credentials
Login to the Agentuity Platform using a browser-based authentication flow. Use for managing authentication credentials
Logout of the Agentuity Cloud Platform. Use for managing authentication credentials
Set up machine authentication by uploading a public key for self-hosted infrastructure. Requires authentication. Use for managing authentication credentials
Show the current default organization. Use for managing authentication credentials
Set the default organization for all commands. Requires authentication. Use for managing authentication credentials
| name | agentuity-cli-auth-whoami |
| description | Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials |
| version | 0.1.24 |
| license | Apache-2.0 |
| allowed-tools | Bash(agentuity:*) |
| metadata | {"command":"agentuity auth whoami","tags":"read-only fast requires-auth"} |
Display information about the currently authenticated user
agentuity auth loginagentuity auth whoami
Show current user:
bunx @agentuity/cli auth whoami
Show output in JSON format:
bunx @agentuity/cli --json auth whoami
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 |