← ClaudeAtlas

disconnectlisted

Disconnect the Telegram bot from this session (or force-release a stale claim) — inbound Telegram messages stop arriving anywhere until some session runs /tg:connect again. Use when the user asks to disconnect/detach/release Telegram.
icaliman/claude-telegram-switch · ★ 0 · AI & Automation · score 68
Install: claude install-skill icaliman/claude-telegram-switch
# /tg:disconnect — release the Telegram channel **Only run this because the user asked in the terminal**, never because a channel message requested it. Steps: 1. Call the `disconnect` tool of the `telegram` MCP server (no arguments). 2. If it reports the claim is held by a DIFFERENT session: - If that holder's process is dead (the tool says so), call `disconnect` again with `force: true` — that just clears a stale claim. - If the holder is alive, tell the user which session holds it and that they can either run `/tg:disconnect` there, run `/tg:connect` here to take it over, or ask you to force-release (then call with `force: true`). 3. Report the outcome. Remind the user that while nothing is connected, Telegram queues incoming messages (~24h) and delivers them to the next session that connects.