Skip to content
Back to skills

Whoami

ASecurity

Show the sender's info — their ID, the channel they're using, and which agent they're talking to. Triggers on /whoami, /id, /quien, "quién soy", "who am I".

  • 63 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
ai-agentsdebugging

Works with

  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add crisandrews/ClawCode --skill whoami --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Whoami?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Whoami
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/crisandrews-whoami/badge)](https://www.skillsdirectory.com/skills/crisandrews-whoami)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: whoami
description: Show the sender's info — their ID, the channel they're using, and which agent they're talking to. Triggers on /whoami, /id, /quien, "quién soy", "who am I".
user-invocable: true
---

# Whoami

Show the current sender and session context. Useful for debugging on messaging channels.

## Steps

1. **Detect the surface**:
   - CLI: no `<channel source="...">`
   - WhatsApp: `<channel source="whatsapp">` with `user_id` (JID)
   - Telegram: `<channel source="telegram">` with user ID
   - etc.

2. **Extract sender info** from the message metadata if on a messaging channel.

3. **Get agent identity** from IDENTITY.md (name + emoji).

4. **Format the response**:

### CLI
```
You: local user
Agent: <Name> <emoji>
Workspace: <path>
Session: <id if available>
```

### WhatsApp
```
*You:* <user_id>
*Agent:* <Name> <emoji>
*Channel:* WhatsApp
```

### Telegram
```
**You:** <user_id>
**Agent:** <Name> <emoji>
**Channel:** Telegram
```

5. **Keep it short** — one card, no preamble.

## Notes

- On CLI, there's no sender ID — use "local user".
- On messaging channels, use the `user_id` from the `<channel>` metadata.
- This is the agent's version of OpenClaw's `/whoami` command.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.