matecode

Manage Claude Code remotely via a Telegram bridge with lifecycle scripts.

46|6|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/aresbit/MateBot --skill matecode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matecode
Source: https://github.com/aresbit/MateBot/tree/main/matecode
Command: npx skills add https://github.com/aresbit/MateBot --skill matecode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MateCode provides a self-contained Telegram bridge to manage Claude Code by starting, stopping, and monitoring the service, enabling remote control of the code execution environment.

Core Features & Use Cases

  • Lifecycle control: Start, stop, and restart the bridge to manage Claude Code remotely.
  • Status & logs: Check current status and view logs for quick troubleshooting.
  • Configuration & hooks: Set Telegram bot token and Claude stop hook for automated workflows.
  • Self-contained tooling: All necessary scripts and configuration live in a single unit with a manifest.

Quick Start

Install dependencies: macOS: brew install tmux Ubuntu/Debian: sudo apt-get install tmux

  1. Set the Telegram Bot Token: export TELEGRAM_BOT_TOKEN="your_token_here" Add to shell startup files: echo 'export TELEGRAM_BOT_TOKEN="your_token_here"' >> ~/.zshrc

  2. Start the service: ./matecode.sh start

Frequently Asked Questions about matecode

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Claude Code remotely using a Telegram bot?

You can control Claude Code remotely by deploying a self-contained Telegram bridge to start, stop, and monitor the execution environment through bot commands and executable scripts.

How do I set up a Telegram bridge for my development and operations workflows?

To set up the Telegram bridge, install tmux, export your Telegram Bot Token to your shell startup file, and execute the startup script to initialize the deterministic service lifecycle management.

Does managing Claude Code via Telegram require any specific system dependencies?

Yes, managing Claude Code via Telegram requires installing tmux on your system, using brew on macOS or apt-get on Ubuntu/Debian, to handle the self-contained background execution sessions.

How can I monitor Claude Code logs and status for troubleshooting?

You can monitor Claude Code logs and check the current bridge status by utilizing the built-in lifecycle control commands, providing real-time visibility and quick troubleshooting for operations.

Can I automate Claude Code stop workflows using Telegram bot hooks?

Yes, you can automate stop workflows by configuring a specific Claude stop hook alongside the Telegram bot token, enabling automated DevOps workflows and remote lifecycle management.

What is the best way to manage code execution environments when away from the terminal?

Using a Telegram bridge provides remote management for code execution environments, allowing you to start, stop, and monitor services deterministically without direct terminal access.