CS Stats Monitor (Generic)
5E Platform CS2 Stats Query and Real-time Monitoring Tool (Generic Version).
Core Capabilities
1. Query Stats
Query detailed data of the last 5 matches for specified players.
# Query single player's last 5 matches
python {SKILL_DIR}/scripts/cs_monitor.py --once --players <player_name>
# Query multiple players
python {SKILL_DIR}/scripts/cs_monitor.py --once --players player1 player2 player3
# Use default player list (set in config)
python {SKILL_DIR}/scripts/cs_monitor.py --once
2. Real-time Monitoring
Background continuous polling, automatically output reports when new matches are detected.
# Start monitoring (default 60s polling)
python {SKILL_DIR}/scripts/cs_monitor.py --players player1 player2
# Custom polling interval
python {SKILL_DIR}/scripts/cs_monitor.py --players player1 --interval 30
# Reset monitoring state
python {SKILL_DIR}/scripts/cs_monitor.py --reset
Start Method: Use tmux to run monitoring in background, check output regularly.
# Recommended: tmux background run
tmux new-session -d -s cs-monitor
tmux send-keys -t cs-monitor "python {SKILL_DIR}/scripts/cs_monitor.py --players player1 player2" Enter
# Check output
tmux capture-pane -t cs-monitor -p
3. Configuration File (Optional)
Create {SKILL_DIR}/config.json to set default players:
{
"default_players": ["player1", "player2", "player3"],
"default_interval": 60
}
Data Capabilities
Per Match:
- Core Metrics: Rating, ADR, KAST, RWS, K/D/A
- Kill Details: Headshot rate, first kill, first death, AWP kills, multi-kills (3K/4K/5K)
- Clutches: 1v1~1v5 success count
- Utility: Flash assists, team flashes, utility damage, bomb plants/defuses
- Sides: T-side/CT-side K/D/Rating
- Scoreboard: Full 10-player data
Limitations:
- API returns only last 5 matches, cannot get more history
- Season overview requires login Cookie
Analysis Guidelines
When reviewing match reports, analyze from these dimensions:
- Core Data Rating: Rating >1.3 excellent, 1.0-1.3 normal, <0.85 poor; ADR >90 strong, 60-90 average, <60 weak
- Style Judgment: AWP kill ratio, headshot rate, first kill/death ratio, T/CT side differences
- Stability: Standard deviation of Rating across multiple matches, gap between highest and lowest
- Team Contribution: KAST (round participation), utility usage, clutch ability
- If multiple players same match: Horizontal comparison, identify who carried and who underperformed
Language Style: Direct, sharp, with a touch of dark humor. No formalities. Praise when good, roast when bad.
Dependencies
- Python 3.10+
- aiohttp (
pip install aiohttp)
Resources
scripts/
cs_monitor.py — Main monitoring script, supports --once single query and continuous monitoring mode
1---2name: cs-stats-monitor-generic3description: 5E CS2 Stats Query and Real-time Monitor. Supports custom player lists, query specified players' CS2 match history, analyze match performance, and real-time monitoring for new matches. Keywords: CS stats, 5E, check stats, monitor matches, CS2 stats, match report.4---56# CS Stats Monitor (Generic)785E Platform CS2 Stats Query and Real-time Monitoring Tool (Generic Version).910## Core Capabilities1112### 1. Query Stats13Query detailed data of the last 5 matches for specified players.1415```bash16# Query single player's last 5 matches17python {SKILL_DIR}/scripts/cs_monitor.py --once --players <player_name>1819# Query multiple players20python {SKILL_DIR}/scripts/cs_monitor.py --once --players player1 player2 player32122# Use default player list (set in config)23python {SKILL_DIR}/scripts/cs_monitor.py --once24```2526### 2. Real-time Monitoring27Background continuous polling, automatically output reports when new matches are detected.2829```bash30# Start monitoring (default 60s polling)31python {SKILL_DIR}/scripts/cs_monitor.py --players player1 player23233# Custom polling interval34python {SKILL_DIR}/scripts/cs_monitor.py --players player1 --interval 303536# Reset monitoring state37python {SKILL_DIR}/scripts/cs_monitor.py --reset38```3940**Start Method**: Use tmux to run monitoring in background, check output regularly.4142```bash43# Recommended: tmux background run44tmux new-session -d -s cs-monitor45tmux send-keys -t cs-monitor "python {SKILL_DIR}/scripts/cs_monitor.py --players player1 player2" Enter4647# Check output48tmux capture-pane -t cs-monitor -p49```5051### 3. Configuration File (Optional)52Create `{SKILL_DIR}/config.json` to set default players:5354```json55{56 "default_players": ["player1", "player2", "player3"],57 "default_interval": 6058}59```6061## Data Capabilities6263**Per Match**:64- Core Metrics: Rating, ADR, KAST, RWS, K/D/A65- Kill Details: Headshot rate, first kill, first death, AWP kills, multi-kills (3K/4K/5K)66- Clutches: 1v1~1v5 success count67- Utility: Flash assists, team flashes, utility damage, bomb plants/defuses68- Sides: T-side/CT-side K/D/Rating69- Scoreboard: Full 10-player data7071**Limitations**:72- API returns only last **5 matches**, cannot get more history73- Season overview requires login Cookie7475## Analysis Guidelines7677When reviewing match reports, analyze from these dimensions:78791. **Core Data Rating**: Rating >1.3 excellent, 1.0-1.3 normal, <0.85 poor; ADR >90 strong, 60-90 average, <60 weak802. **Style Judgment**: AWP kill ratio, headshot rate, first kill/death ratio, T/CT side differences813. **Stability**: Standard deviation of Rating across multiple matches, gap between highest and lowest824. **Team Contribution**: KAST (round participation), utility usage, clutch ability835. **If multiple players same match**: Horizontal comparison, identify who carried and who underperformed8485Language Style: Direct, sharp, with a touch of dark humor. No formalities. Praise when good, roast when bad.8687## Dependencies8889- Python 3.10+90- aiohttp (`pip install aiohttp`)9192## Resources9394### scripts/95- `cs_monitor.py` — Main monitoring script, supports `--once` single query and continuous monitoring mode