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.

Updated 2026-11-26

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.

TypeClaude code mod
AuthorSipengXie2024
RepositorySipengXie2024/claude-mods
Popularityno public popularity data yet
CategoryAgents & automation
SecurityHigh risk (52/100)
Rank#8,430 of 9,397 Claude Code mods; #704 in Agents & automation
Last commit2026-11-26
Hooks6 events
Seesevery prompt, every tool call
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.agent.spawndrives Claude
$.clock.after
$.clock.every
$.clock.now
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.send
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.logdraws interface

How do I install tg-router?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)