Telegram bot running server-admin tasks via Claude Agent SDK

kurigram bot with admin check by user IDs from env, per-chat Claude
session resume, streaming progress, /model command for model and
reasoning effort selection, and systemd deploy script.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 12:40:44 +02:00
commit c6c3a70b9a
12 changed files with 676 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=Claude Server Admin Telegram Bot
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/claude-tg-bot
EnvironmentFile=/etc/claude-tg-bot/.env
Environment=IS_SANDBOX=1
ExecStart=/opt/claude-tg-bot/venv/bin/python -m bot.main
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target