By xyloforge
Modified Telegram channel for Claude Code — adds /model and /new bot commands for switching AI model and restarting sessions on the fly.
npx claudepluginhub xyloforge/claude-telegram-channel-modifiedManage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Telegram channel.
Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.
A modified version of the official telegram@claude-plugins-official plugin with a full suite of extra bot commands for managing Claude Code remotely from your phone.
curl -fsSL https://bun.sh/install | bash/console only (brew install tmux)Install Claude Code if you haven't already.
Clone this repo and run the wrapper script:
git clone <this-repo-url>
cd <repo-name>
chmod +x claude-telegram.sh
./claude-telegram.sh
The script will automatically:
telegram@claude-plugins-official plugin if missingserver.ts into the plugin cache/telegram:access in Claude Code after startup./telegram:access pair <code>| Command | Description |
|---|---|
/new | Restart the Claude Code session |
/compact | Ask Claude to save a context summary, then restart |
| Command | Description |
|---|---|
/model | Show current model |
/model <name> | Change model for next session (sonnet, opus, haiku, or full ID) |
/effort | Show current thinking budget |
/effort <level> | Set thinking budget: off, low, medium, high, max, or a token count |
/stats | Show model, effort, context window, uptime, and message count |
| Command | Description |
|---|---|
/cmdlist | List tools that are auto-approved (no permission prompt) |
/cmdremove <tool> | Remove a tool from the auto-approved list |
/deny | List denied tools |
/deny add <pattern> | Block Claude from using a tool (e.g. Bash, Write) |
/deny remove <pattern> | Unblock a tool |
| Command | Description |
|---|---|
/context | View the persistent context summary injected at session start |
/context <text> | Replace the context summary with new text |
/context clear | Clear the context summary |
/dirs | List allowed directories (permissions.additionalDirectories) |
/dirs add <path> | Add a directory Claude can access |
/dirs remove <path> | Remove a directory |
/plugins | List enabled/disabled plugins with status |
/plugins toggle <name> | Enable or disable a plugin |
Settings commands write to
~/.claude/settings.json. Changes take effect on the next session — use/newto restart immediately.
| Command | Description |
|---|---|
/shell <cmd> | (disabled — uncomment in server.ts to enable) Run a shell command and get output |
/logs [n] | Show last N bash commands Claude ran (default 20, max 50) |
/console | List tmux sessions with a live preview of each pane (requires tmux) |
/console <session> | Dump the full terminal output of a tmux session (requires tmux) |
/cost | Show estimated API cost — today and all-time |
/shell safety blocklistThe /shell command blocks dangerous patterns to prevent accidents:
sudo — privilege escalationrm -rf /, rm -rf ~ — recursive deletion of root or homedd of=/dev/... — writing directly to disk devicesmkfs — format a filesystemshutdown, reboot, poweroff, halt — system shutdown:(){ :|:& };:)> /dev/sdX)curl ... | bash, wget ... | sh)/console — reading your terminal/console uses tmux capture-pane to dump the actual terminal screen of a running session — the same output you see in your terminal. If only one tmux session exists it dumps it automatically. If there are multiple it shows a 2-line preview of each so you can identify the right one.
Requires tmux (brew install tmux). If not installed, the command will tell you.
Run /telegram:configure or /telegram:access in Claude Code to manage who can reach you. See ACCESS.md for details.
Pull the latest changes and re-run the wrapper:
git pull
./claude-telegram.sh
Persistent memory system for Claude Code - seamlessly preserve context across sessions
Admin access level
Server config contains admin-level keywords
Share bugs, ideas, or general feedback.
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Streamline people operations — recruiting, onboarding, performance reviews, compensation analysis, and policy guidance. Maintain compliance and keep your team running smoothly.
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.