whoami

Displays the sender's ID, messaging channel, and agent identity in a compact card.

62|14|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/crisandrews/ClawCode --skill whoami-crisandrews
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: whoami
Source: https://github.com/crisandrews/ClawCode/tree/main/skills/whoami
Command: npx skills add https://github.com/crisandrews/ClawCode --skill whoami-crisandrews

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When debugging conversations across multiple messaging channels, it is hard to confirm which user ID is talking, which channel the message arrived on, and which agent identity is responding. This Skill answers that instantly with a single identity card. ## Core Features & Use Cases - Surface Detection: Distinguishes CLI sessions from messaging channels like WhatsApp and Telegram by inspecting channel metadata. - Sender Identification: Extracts the sender's user ID (such as a WhatsApp JID or Telegram user ID) from message metadata. - Agent Identity Display: Reads the agent's name and emoji from IDENTITY.md and formats a channel-appropriate response card. - Use Case: A user on Telegram sends "/whoami" and immediately sees their Telegram user ID, the agent's name and emoji, and the channel, confirming the bot is wired to the right account. ## Quick Start Ask the agent "who am I" or send /whoami in your chat to see your sender ID, channel, and the agent's identity.

Frequently Asked Questions about whoami

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my user ID on WhatsApp or Telegram through a chatbot?

Send /whoami, /id, or ask "who am I" in the chat. The agent reads the user_id from the channel metadata and replies with your ID, the channel name, and the agent's identity in a short card.

How to debug which messaging channel a Claude Code agent is using?

Invoke the whoami command and inspect the channel field in the response. The skill detects the surface from the channel source metadata, distinguishing CLI, WhatsApp, Telegram, and similar channels.

Does whoami work in a local CLI session without messaging channels?

Yes. On CLI there is no sender ID, so the response shows "local user" along with the agent name, workspace path, and session ID when available.

Where does the agent name and emoji in the whoami response come from?

The agent identity is read from IDENTITY.md, which stores the configured name and emoji. If that file is missing or incomplete, the identity fields cannot be populated.

Why does whoami show no user ID in some conversations?

A user ID only appears when the message arrives through a messaging channel that provides one in its metadata. CLI sessions have no sender ID, so the skill falls back to "local user".