session-monitor
Installation
SKILL.md
Session Monitor
Persistent background process that polls all JSONL transcript files in an
agent's session directory, parses new entries, and pushes formatted HTML
updates to a Telegram chat. Messages within the same time window are merged
via editMessageText to avoid spam.
When to Use
- User wants continuous, push-based monitoring of agent activity
- User wants a live dashboard in a Telegram chat showing what the agent does
- NOT for one-shot queries — use
sessions_list/sessions_historyinstead
Quick Start
# 1. Configure
cp scripts/.env.example scripts/.env
# Edit scripts/.env with bot token, chat ID, session dir, user/group mappings