โœ“ Verified ๐Ÿ’ป Development โœ“ Enhanced Data

Token Alert

๐Ÿšจ **Monitor session tokens and get alerts at 75%/90%/95%**.

Rating
4.3 (416 reviews)
Downloads
5,293 downloads
Version
1.0.0

Overview

๐Ÿšจ **Monitor session tokens and get alerts at 75%/90%/95%**.

โœจKey Features

1

โœ… 6-Level Threshold System - Alerts at 25%, 50%, 75%, 90%, 95%, 100%

2

โœ… Material Design Progress Bar - Box-style (โ–ฐ/โ–ฑ) with color gradients

3

โœ… Rich UI Dashboard - Interactive HTML dashboard with animations

4

โœ… Session Status - Shows current token usage on demand

5

โœ… Telegram Alerts - Get notified before hitting limits

6

โœ… HEARTBEAT Integration - Optional automated checks

7

โœ… Stateless - No state file needed, calculates on-demand

8

โœ… Session Estimates - Predicts remaining sessions (~50k avg)

Complete Documentation

View Source โ†’

Token Alert Skill

๐Ÿšจ Monitor session tokens and get alerts at 75%/90%/95%

Overview

The Token Alert Skill automatically monitors your Clawdbot session token usage and sends alerts when you approach limits. Never lose context mid-conversation again!

Features

  • โœ… 6-Level Threshold System - Alerts at 25%, 50%, 75%, 90%, 95%, 100%
  • โœ… Material Design Progress Bar - Box-style (โ–ฐ/โ–ฑ) with color gradients
  • โœ… Rich UI Dashboard - Interactive HTML dashboard with animations
  • โœ… Session Status - Shows current token usage on demand
  • โœ… Telegram Alerts - Get notified before hitting limits
  • โœ… HEARTBEAT Integration - Optional automated checks
  • โœ… Stateless - No state file needed, calculates on-demand
  • โœ… Session Estimates - Predicts remaining sessions (~50k avg)

Usage

Interactive Dashboard

Ask Grym:

  • "Show token dashboard"
  • "Open dashboard"
Or run directly:
bash
python3 ~/clawd/skills/token-alert/scripts/show_dashboard.py

Terminal Check

Ask Grym:

  • "Wie viele Tokens habe ich noch รผbrig?"
  • "Check token status"
  • "Token usage?"
Or run:
bash
python3 ~/clawd/skills/token-alert/scripts/check.py

Automatic Alerts

Grym will automatically alert you when:

  • ๐ŸŸก 25% - Low warning (~150k tokens left)
  • ๐ŸŸ  50% - Medium warning (~100k tokens left)
  • ๐Ÿ”ถ 75% - High warning (~50k tokens left)
  • ๐Ÿ”ด 90% - Critical warning (~20k tokens left)
  • ๐Ÿšจ 95% - Emergency! (<10k tokens left)

Example Output

text
๐Ÿ”ถ 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

Installation

bash
# Via ClawdHub
clawdhub install token-alert

# Manual
cd ~/clawd/skills
git clone https://github.com/r00tid/clawdbot-token-alert token-alert

Configuration

HEARTBEAT Integration (Optional)

Add to ~/clawd/HEARTBEAT.md:

markdown
### Token Usage Check (tรคglich)
- [ ] `python3 ~/clawd/skills/token-alert/scripts/check.py`
- **Warning ab 70%:** "โš ๏ธ Session bei XX% - Token-Sparend ab jetzt!"

How It Works

  • Uses Clawdbot's session_status tool
  • Calculates percentage of token usage
  • Compares against thresholds (75%, 90%, 95%)
  • Sends Telegram alert if threshold crossed

Technical Details

Files

text
skills/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

Dependencies

  • Python 3.8+
  • Clawdbot session_status tool
  • Optional: Telegram channel configured

Script API

python
# 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"""

When to Use

  • Before long tasks - Check if you have enough tokens
  • Mid-conversation - Monitor usage during long sessions
  • Daily check - Add to HEARTBEAT for automatic monitoring

Limitations

  • Only monitors session tokens (not Claude.ai API limits)
  • Requires active Clawdbot session
  • Alert frequency can be noisy if near threshold

Future Enhancements

  • [ ] Claude.ai API limits scraping (optional)
  • [ ] Historical token usage tracking
  • [ ] Weekly/monthly usage reports
  • [ ] Integration with token-router skill

Support

  • GitHub Issues: https://github.com/r00tid/clawdbot-token-alert/issues
  • ClawdHub: https://clawdhub.com/skills/token-alert
  • Docs: https://docs.clawd.bot

License

MIT License - See LICENSE file


Built with โค๏ธ by Grym ๐Ÿฅœ

Installation

Terminal bash

openclaw install token-alert
    
Copied!

๐Ÿ’ปCode Examples

git clone https://github.com/r00tid/clawdbot-token-alert token-alert

git-clone-httpsgithubcomr00tidclawdbot-token-alert-token-alert.txt
## Configuration

### HEARTBEAT Integration (Optional)

Add to `~/clawd/HEARTBEAT.md`:

- **Warning ab 70%:** "โš ๏ธ Session bei XX% - Token-Sparend ab jetzt!"

--warning-ab-70--session-bei-xx---token-sparend-ab-jetzt.txt
## How It Works

1. Uses Clawdbot's `session_status` tool
2. Calculates percentage of token usage
3. Compares against thresholds (75%, 90%, 95%)
4. Sends Telegram alert if threshold crossed

## Technical Details

### Files

โ””โ”€โ”€ show_dashboard.py # Dashboard launcher

--showdashboardpy--dashboard-launcher.txt
### Dependencies

- Python 3.8+
- Clawdbot session_status tool
- Optional: Telegram channel configured

### Script API
example.txt
๐Ÿ”ถ 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
example.sh
# Via ClawdHub
clawdhub install token-alert

# Manual
cd ~/clawd/skills
git clone https://github.com/r00tid/clawdbot-token-alert token-alert
example.md
### Token Usage Check (tรคglich)
- [ ] `python3 ~/clawd/skills/token-alert/scripts/check.py`
- **Warning ab 70%:** "โš ๏ธ Session bei XX% - Token-Sparend ab jetzt!"
example.txt
skills/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
example.py
# 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"""

Tags

#ai_and-llms

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author r00tid
Last Updated 3/10/2026
๐Ÿš€
Optimized for
Claude 3.5
๐Ÿง 

Ready to Install?

Get started with this skill in seconds

openclaw install token-alert