← ClaudeAtlas

telegram-multi-sessionlisted

Install, repair, and manage the multi-session Telegram channel server that allows switching between Claude Code sessions from Telegram
IgnatRozhkoTR/governed-workflow · ★ 8 · AI & Automation · score 78
Install: claude install-skill IgnatRozhkoTR/governed-workflow
# /telegram-multi-session — Multi-Session Telegram Channel Manager Manages the custom multi-session Telegram server that replaces the default plugin server. This skill is **self-contained**: `server.ts` lives inside the skill directory and is deployed by the `install` command. Throughout this skill, `<tg-state>` refers to the Telegram state directory. Resolve it at runtime: ```bash TG_STATE="${GOVERNED_WORKFLOW_TELEGRAM_STATE:-$(python3 -c 'from core.paths import REPO_ROOT; print(REPO_ROOT)')/.local/channels/telegram}" ``` If `GOVERNED_WORKFLOW_TELEGRAM_STATE` is not set, the default is `<repo>/.local/channels/telegram/`. The source `server.ts` lives inside this skill directory and is deployed to `<tg-state>/server.ts`. Arguments passed: (check the args variable from the skill invocation) --- ## Dispatch on arguments Parse the arguments (space-separated). If empty or unrecognized, run status. --- ### No args — `status` 1. Check if custom server exists at `<tg-state>/server.ts` 2. Check if `.mcp.json` in the telegram plugin directory is patched (points to custom server vs default) 3. Check if `<tg-state>/.env` exists and contains `BOT_TOKEN` 4. Read all files from `<tg-state>/sessions/`, check PID liveness, list active sessions 5. Report overall status: installed/not installed, patched/not patched, token present/missing, active sessions --- ### `install` 1. Create `<tg-state>/` if it doesn't exist 2. Copy `server.ts` from the skill directory to `<tg-state>/server.