agentuity-cli-auth-whoami
Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials
When & Why to Use This Skill
The agentuity-cli-auth-whoami Claude skill provides a streamlined way to retrieve and display details about the currently authenticated user. By accessing essential identity data such as user IDs and organization affiliations, it enhances security management and enables context-aware automation within the Agentuity CLI environment.
Use Cases
- Identity Verification: Quickly confirm the active user's identity and credentials to ensure secure session management.
- Organizational Context: Retrieve a list of associated organizations to determine access levels and workspace permissions.
- Automated Troubleshooting: Use within scripts to verify authentication status before executing complex deployment or management tasks.
- Personalized Agent Interactions: Enable AI agents to address users by name and tailor outputs based on their specific profile data.
| 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:*)" |
| 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 |