Receber por email
← Voltar para o catálogo

whoami

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".

61estrelas
Atualizado há 3 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add crisandrews/ClawCode

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/whoami/svg)](https://www.skillteca.com.br/skills/whoami)

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Whoami

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

Steps

  1. Detect the surface:
  2. CLI: no <channel source="...">
  3. WhatsApp: <channel source="whatsapp"> with user_id (JID)
  4. Telegram: <channel source="telegram"> with user ID
  5. etc.
  1. Extract sender info from the message metadata if on a messaging channel.
  1. Get agent identity from IDENTITY.md (name + emoji).
  1. 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
  1. 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.
Compartilhar X LinkedIn