What is tg-router?
tg-router is a Claude Code mod by SipengXie2024 that telegram Router: dispatches each request to a background worker, routes replies to that worker, posts its answers, and shows a progress card per run; under claude-magpie it leaves worker. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | SipengXie2024 |
| Repository | SipengXie2024/claude-mods |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | High risk (52/100) |
| Rank | #8,430 of 9,397 Claude Code mods; #704 in Agents & automation |
| Last commit | 2026-11-26 |
| Hooks | 6 events |
| Sees | every prompt, every tool call |
| Draws on | nothing |
Is tg-router safe to install?
tg-router scores 52/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 2 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.agent.spawn | drives Claude |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.send | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.log | draws interface |
How do I install tg-router?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/SipengXie2024/claude-mods claude plugin validate ./claude-mods/mods/tg-router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/SipengXie2024/claude-mods && claude --plugin-dir ./claude-mods/mods/tg-router
Or ask Claude to set it up
Paste this into Claude Code and it installs tg-router for you:
Install the "tg-router" Claude Code mod from https://github.com/SipengXie2024/claude-mods/tree/master/mods/tg-router. Run claude plugin validate on it first and show me what it can access before you enable it.
More from SipengXie2024/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- advisor-guard: Under a Fable or Mythos main loop, tell the model never to consult the advisor tool, so the session does not pay for a s (Low risk)
- context-memory: Lets the working model keep a task note, archives the conversation at compaction, carries the latest note verbatim into (Review before installing)
- jev: Jev effort routing for Opus, Mythos, GPT-6 Astra and GPT-6.1 Sol (policy.v15): start effort per prompt from per-model ki (High risk)
- kernel-model-hint: Under Fable 5.2 or Mythos 5.2, rewrite the system-prompt note on their kernel-optimization training limits so the model (Low risk)
- magpie-tasks: Long-running task windows for claude-magpie sessions: an architect per long task, subagent model and effort routing by r (High risk)
- peer-send: Scenario driver of the magpie-tasks e2e scripts: a session loaded with it sends a text to another session, the way the R (Review before installing)
- math-render: Draws the TeX math in assistant replies as Unicode in the terminal: inline formulas on one line, display formulas as cha (Low risk)
- mode: Per-repo general/academic mode: /mode writes .claude/settings.local.json; paper repos get a one-time hint. (Low risk)