Install
openclaw skills install token-alertMonitors Clawdbot session token usage and sends alerts at 25%, 50%, 75%, 90%, 95%, and 100% thresholds with a dashboard and Telegram notifications.
openclaw skills install token-alert🚨 Monitor session tokens and get alerts at 75%/90%/95%
The Token Alert Skill automatically monitors your Clawdbot session token usage and sends alerts when you approach limits. Never lose context mid-conversation again!
Ask Grym:
Or run directly:
python3 ~/clawd/skills/token-alert/scripts/show_dashboard.py
Ask Grym:
Or run:
python3 ~/clawd/skills/token-alert/scripts/check.py
Grym will automatically alert you when:
🔶 Token Alert: Achtung!
🔶 ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▱▱▱▱▱▱ 78.0%
156,000 / 200,000 Tokens verwendet
⚠️ Status: High Warning (Rot-Orange Zone)
💡 Verbleibend: ~44k Tokens
⏰ Geschätzte Sessions: <1 Session
🔧 Empfehlung:
✅ Wichtige Entscheidungen jetzt treffen
✅ Neue Session vorbereiten
✅ Token-sparend arbeiten
# Via ClawdHub
clawdhub install token-alert
# Manual
cd ~/clawd/skills
git clone https://github.com/r00tid/clawdbot-token-alert token-alert
Add to ~/clawd/HEARTBEAT.md:
### Token Usage Check (täglich)
- [ ] `python3 ~/clawd/skills/token-alert/scripts/check.py`
- **Warning ab 70%:** "⚠️ Session bei XX% - Token-Sparend ab jetzt!"
session_status toolskills/token-alert/
├── SKILL.md # This file
├── README.md # GitHub documentation
├── LICENSE # MIT License
├── .clawdhub/
│ └── manifest.json # ClawdHub metadata
├── assets/
│ ├── dashboard-78-high.png # Screenshot (High Warning)
│ └── dashboard-96-emergency.png # Screenshot (Emergency)
└── scripts/
├── check.py # Token checker (Terminal)
├── dashboard.html # Rich UI dashboard
└── show_dashboard.py # Dashboard launcher
# scripts/check.py
def get_session_tokens():
"""Get current session token usage via session_status tool"""
def check_thresholds(percent):
"""Check if usage exceeds thresholds"""
def format_alert(used, limit, percent, level):
"""Format alert message for Telegram"""
token-router skillMIT License - See LICENSE file
Built with ❤️ by Grym 🥜