원클릭으로
sapphire-telegram
Telegram bot framework — handlers, commands, notification routing, agent dispatch
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Telegram bot framework — handlers, commands, notification routing, agent dispatch
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
| name | sapphire-telegram |
| description | Telegram bot framework — handlers, commands, notification routing, agent dispatch |
| type | library |
| runtime | python |
| deploy_target | rari1 |
| dependencies | ["sapphire-core"] |
| entry_point | src/sapphire_telegram/bot.py |
| test_command | pytest tests/ |
Shared Telegram bot framework used by control-plane and lighter services. Handles bot lifecycle, command routing, and outbound notifications.
bot.py — Bot init, webhook/polling mode switch, startup validatorhandlers.py — Command handlers: /status, /pnl, /deploy, /task, /alertfrom sapphire_telegram.bot import SapphireBot
bot = SapphireBot(token=os.getenv("TELEGRAM_BOT_TOKEN"))
bot.run_polling()
Outbound notifications are tagged before send:
priority:p0 → immediate push, bypass quiet hourstype:trading → trading channelagent:kimi → Kimi status channelsapphire-telegram-bot-tokenhttps://pm.sapphirealpha.xyz/telegram/webhookInfrastructure-as-code — GCP Terraform, Pi deployment configs, Docker
Trading engine — signals, risk, execution, self-improvement loop
PM hub — project board, task scoring, event stream, Telegram integration
Send a test trading signal through the Sapphire pipeline
Agent dispatch — OpenClaw, NemoClaw, orchestrator, runtime policy
Aster DEX trading bot — Solana perpetuals, CEX-style API, Shield HFT strategy