configure
Qué hace
Guía a tu agente para conectar Telegram con un token de bot y revisar la política de acceso. Es para personas que configuran Telegram como forma de hablar con su asistente.
Cuándo usarla
- ✓Cuando tienes un token de bot de BotFather y quieres conectarlo.
- ✓Cuando preguntas cómo configurar Telegram o quién puede contactar a tu asistente allí.
- ✓Cuando quieres comprobar si el canal de Telegram está listo para usarse.
Link de la skill
https://github.com/anthropics/claude-plugins-official/blob/main/external_plugins/telegram/skills/configure/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Obtuve un token de bot de BotFather. ¿Puedes guardarlo y decirme cómo empezar a escribir a mi asistente?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente guarda el token del bot en un archivo de configuración local y lee la configuración de acceso. Después muestra lo que está definido y te indica el siguiente paso, como enviar un mensaje a tu bot para obtener un código de emparejamiento.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
/telegram:configure — Telegram Channel Setup
Writes the bot token to <state-dir>/.env and orients the user on access
policy. The server reads both files at boot.
Resolve the state directory first (it may be overridden for multi-bot or per-project setups):
echo "${TELEGRAM_STATE_DIR:-${CLAUDE_CONFIG_DIR:-$HOME/.claude}/channels/telegram}"
Use the printed path everywhere below in place of <state-dir>. The default
is ~/.claude/channels/telegram.
Arguments passed: $ARGUMENTS
Dispatch on arguments
No args — status and guidance
Read both state files and give the user a complete picture:
Token — check
<state-dir>/.envforTELEGRAM_BOT_TOKEN. Show set/not-set; if set, show first 10 chars masked (123456789:...).Access — read
<state-dir>/access.json(missing file = defaults:dmPolicy: "pairing", empty allowlist). Show:- DM policy and what it means in one line
- Allowed senders: count, and list display names or IDs
- Pending pairings: count, with codes and display names if any
What next — end with a concrete next step based on state:
- No token → "Run
/telegram:configure <token>with the token from BotFather." - Token set, policy is pairing, nobody allowed → "DM your bot on
Telegram. It replies with a code; approve with
/telegram:access pair <code>." - Token set, someone allowed → "Ready. DM your bot to reach the assistant."
- No token → "Run
Push toward lockdown — always. The goal for every setup is allowlist
with a defined list. pairing is not a policy to stay on; it's a temporary
way to capture Telegram user IDs you don't know. Once the IDs are in, pairing
has done its job and should be turned off.
Drive the conversation this way:
- Read the allowlist. Tell the user who's in it.
- Ask: "Is that everyone who should reach you through this bot?"
- If yes and policy is still
pairing→ "Good. Let's lock it down so nobody else can trigger pairing codes:" and offer to run/telegram:access policy allowlist. Do this proactively — don't wait to be asked. - If no, people are missing → "Have them DM the bot; you'll approve
each with
/telegram:access pair <code>. Run this skill again once everyone's in and we'll lock it." - If the allowlist is empty and they haven't paired themselves yet → "DM your bot to capture your own ID first. Then we'll add anyone else and lock it down."
- If policy is already
allowlist→ confirm this is the locked state. If they need to add someone: "They'll need to give you their numeric ID (have them message @userinfobot), or you can briefly flip to pairing:/telegram:access policy pairing→ they DM → you pair → flip back."
Never frame pairing as the correct long-term choice. Don't skip the lockdown
offer.
<token> — save it
- Treat
$ARGUMENTSas the token (trim whitespace). BotFather tokens look like123456789:AAH...— numeric prefix, colon, long string. mkdir -pthe resolved<state-dir>.- Read existing
.envif present; update/add theTELEGRAM_BOT_TOKEN=line, preserve other keys. Write back, no quotes around the value. chmod 600on<state-dir>/.env— the token is a credential.- Confirm, then show the no-args status so the user sees where they stand.
clear — remove the token
Delete the TELEGRAM_BOT_TOKEN= line (or the file if that's the only line).
Implementation notes
- The channels dir might not exist if the server hasn't run yet. Missing file = not configured, not an error.
- The server reads
.envonce at boot. Token changes need a session restart or/reload-plugins. Say so after saving. access.jsonis re-read on every inbound message — policy changes via/telegram:accesstake effect immediately, no restart.
Preguntas frecuentes
¿Dónde va el token?
La skill lo escribe en un archivo de la carpeta de estado del canal de Telegram, que el servidor lee al arrancar.
¿Cuál es la política de acceso por defecto?
Es el emparejamiento, así que los nuevos remitentes reciben un código que tú debes aprobar antes de que puedan contactar al asistente.
¿Debo mantener el emparejamiento para siempre?
No. La skill dice que el objetivo es una lista de permitidos definida, y el emparejamiento no está pensado como política a largo plazo.
Detalles
Descripción original del autor
Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.
Popularidad
- Estrellas en GitHub
- 46 mil
- Posición en el ranking
- #6330
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
access
46 milTe permite gestionar quién puede escribir a tu asistente por el canal de Discord, incluidas las aprobaciones de emparejamiento y las listas de permitidos.
configure
46 milConfigura el canal de Discord para tu asistente guardando el token del bot y revisando quién puede contactarlo.
access
46 milTe permite gestionar quién puede enviar mensajes a tu asistente por el canal de iMessage, incluidas las aprobaciones y las listas de permitidos.
configure
46 milRevisa la configuración de tu canal de iMessage, incluido el Acceso completo al disco, y explica quién puede contactar con tu asistente.
Skills parecidas
discord-user-post
394 milPermite que tu agente publique en Discord, como tú y desde la app de escritorio, un mensaje que hayas aprobado, después de confirmar el canal exacto.
configure-channel
394 milEnseña a tu agente a conectar una app de chat, como Telegram, a OpenClaw, guardar el token del bot de forma segura y comprobar que los mensajes llegan.
discord
394 milAyuda a tu agente a leer, enviar, editar y reaccionar a mensajes de Discord a través de OpenClaw, revisando el mensaje exacto antes de hacer cambios.