telegram-bot-management

terrylica 的头像作者 terrylica

Telegram机器人生产管理、监控和故障排除。当用户提到telegram机器人、claude-orchestrator、机器人状态、机器人重启或机器人监控时使用。

📖 中文导读:Telegram机器人生产管理、监控和故障排除。当用户提到telegram机器人、claude-orchestrator、机器人状态、机器人重启或机器人监控时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: telegram-bot-management description: Telegram bot production management, monitoring, and troubleshooting. Use when user mentions telegram bot, claude-orchestrator, bot status, bot restart, or bot monitoring.

Telegram Bot Management

Overview

Multi-workspace Telegram bot workflow orchestration with full supervision (launchd + watchexec). Manages the claude-orchestrator Telegram bot for headless Claude Code interactions.

When to Use This Skill

  • Check bot status, restart, or troubleshoot issues
  • Monitor bot health and resource usage
  • View bot logs and debug problems
  • Manage bot lifecycle (start/stop/restart)

Production Mode

As of v5.8.0, production mode is the only operational mode.

Bot Management Commands

Check Status

bot-service.sh status
# Or use alias
bot status

Shows:

  • launchd supervision status
  • watchexec process (PID, uptime, memory)
  • Bot process (PID, uptime, memory)
  • Full process tree
  • Recent log activity

View Logs

bot-service.sh logs
# Or use alias
bot logs

Tails all logs:

  • Launchd logs (supervision layer)
  • Bot logs (application layer)

Restart Bot

bot-service.sh restart
# Or use alias
bot restart

Rarely needed due to automatic code reload via watchexec.

Stop Bot

bot-service.sh stop
# Or use alias
bot stop

Reference Documentation

For detailed information, see: