| name | resolving-identity |
| description | Internal shared skill to resolve current user identity and org members. Not intended for direct user invocation. |
| user-invocable | false |
Agentic Tasks — Identity Resolve
Resolve the current user's identity from the active provider.
Skip if current_user is already set in this conversation.
Prerequisites
active_provider must already be determined (caller must run detecting-provider first).
If active_provider is not set, stop and return an error to the caller.
Step 1: Resolve Current User
If current_user is already set in this session, skip to Step 2.
Load ${CLAUDE_PLUGIN_ROOT}/skills/providers/{active_provider}/SKILL.md and follow the
Identity: Resolve Current User section.
Result: set session variable current_user: { id, name, email }.
- If the provider does not support user identity, set
current_user: { id: "local", name: $USER env var or "local", email: null }.
- Always produce a
current_user value — never fail the caller due to identity resolution.
Step 1b: Resolve Team Membership
Skip if current_user.teams is already set in this session.
If teamsDatabaseId exists in headless_config:
- Load
${CLAUDE_PLUGIN_ROOT}/skills/providers/{active_provider}/SKILL.md and follow the
section.