com um clique
telegram-parallel-sessions
Manage parallel Hermes sessions in Telegram topics.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Manage parallel Hermes sessions in Telegram topics.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Guides Cloudflare One Zero Trust and SASE work across Access, Gateway, WARP, Tunnel, Cloudflare WAN, DLP, CASB, device posture, and identity. Use when designing, configuring, troubleshooting, or reviewing Cloudflare One deployments. Retrieval-first: use current Cloudflare docs/API schemas instead of embedded product docs.
Use when scheduling recurring polls, read-only monitors, or background jobs that must survive shell session boundaries.
Discover, register, and maintain Hermes skills from non-default paths (plugin directories, external repos, shared vaults). Use when skills are missing from `skills_list()`, when the user mentions plugin skills, when symlinking skills, or when reconciling duplicate/overlapping skills between the default tree and external sources.
Operate the Antigravity CLI (agy): plugins, auth, sandbox.
Tune HERMES_STREAM_RETRIES for mid-stream reconnect resilience.
Run a startup checklist via a gateway:startup hook on every boot.
| name | telegram-parallel-sessions |
| description | Manage parallel Hermes sessions in Telegram topics. |
| version | 0.1.0 |
| author | Hermes |
| metadata | {"hermes":{"tags":["Telegram","Sessions","Topics","Parallel","Hermes"]}} |
Hermes supports multiple isolated conversation sessions within a single Telegram bot DM using forum-style topics. Each topic gets its own session ID, conversation history, context window, and model state — completely independent from other topics. This skill covers when to use /new (which replaces a topic's session) versus creating a new topic (which adds a parallel session), and how to operate the multi-session model effectively.
/new in a Telegram topic and wants to understand what happened/new is the wrong choice for parallel work/topic command in root DMAll actions are performed through Telegram chat commands. The agent frames guidance to the user; no terminal or write_file calls are needed for the core workflow.
| Action | How | Effect |
|---|---|---|
| Start fresh session in current topic | /new or /reset | Replaces the topic's session with a new ID — old history is gone from this topic |
| Create a parallel session | Tap All Messages → send any message | Telegram creates a new topic; Hermes assigns it a fresh isolated session |
| Enable multi-session mode | /topic in root DM | Activates user-driven topic mode; root DM becomes a system lobby |
| Check current topic binding | /topic inside a topic | Shows session title, ID, and binding status |
| Restore a previous session | /topic <session-id> inside a topic | Binds that topic to an existing Hermes session |
| Disable multi-session mode | /topic off in root DM | Clears all topic bindings; root DM reverts to normal chat |
Skip confirmation on /new | /new now or /new --yes | Bypasses the destructive-command modal |
Understand the isolation model. Each Telegram topic maps to a session key: agent:main:telegram:dm:{chat_id}:{thread_id}. Messages in each topic have their own conversation history, memory flush, and context window. Topics are fully isolated — context does not leak between them.
When the user runs /new inside a topic:
telegram_dm_topic_bindings to point at the new session./topic <old-session-id>.When the user wants parallel work (the correct approach):
When the user should NOT use /new:
/new will destroy the current topic's session binding and replace it; use "All Messages" to create separate topics.Restoring a previous session:
/topic (no argument) in the root DM to list unlinked sessions./topic <session-id> to bind that topic to the old session./new is not parallel. It replaces the session attached to the current topic. The old session still exists in the store but is no longer bound to this topic. If the user wanted parallel work, they should create a new topic via "All Messages" instead./topic is enabled, normal messages in the root DM are rejected with guidance to use "All Messages." System commands (/status, /help, /sessions, etc.) still work in the root./topic will refuse activation and send a BotFather settings screenshot. These screenshots are rate-limited to one per 5 minutes./new confirmation modal. In the CLI, /new triggers a destructive-command confirmation. In messaging, append now, --yes, or -y to skip (e.g., /new --yes my-experiment). Set approvals.destructive_slash_confirm: false in config.yaml to disable globally.extra.dm_topics config), Hermes picks it up when a forum_topic_created service message arrives or on the next cache miss.extra.dm_topics (config-driven) vs /topic (user-driven) can coexist. Config-driven topics are operator-curated with fixed names and optional skill binding. User-driven topics are ad-hoc. Both use the same isolation key pattern.extra.disable_topic_auto_rename: true to preserve manual topic names.TELEGRAM_CRON_THREAD_ID=<topic_id> to route cron results to a dedicated topic. Without this, cron messages land in the system lobby.Send /topic inside any Telegram topic in the bot DM. Hermes replies with the current topic's session title, session ID, and binding status — confirming the multi-session model is active and the topic has its own isolated session.