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.
CODEBLOCK0
2. Real-time Monitoring
Background continuous polling, automatically output reports when new matches are detected.
CODEBLOCK1
Start Method: Use tmux to run monitoring in background, check output regularly.
CODEBLOCK2
3. Configuration File (Optional)
Create
{SKILL_DIR}/config.json to set default players:
CODEBLOCK3
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:
- 1. 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
技能名称: cs-stats-monitor-generic
详细描述:
CS Stats Monitor (通用版)
5E平台CS2数据查询与实时监控工具(通用版本)。
核心功能
1. 查询数据
查询指定玩家最近5场比赛的详细数据。
bash
查询单个玩家最近5场比赛
python {SKILL
DIR}/scripts/csmonitor.py --once --players <玩家名称>
查询多个玩家
python {SKILL
DIR}/scripts/csmonitor.py --once --players player1 player2 player3
使用默认玩家列表(在配置中设置)
python {SKILL
DIR}/scripts/csmonitor.py --once
2. 实时监控
后台持续轮询,检测到新比赛时自动输出报告。
bash
启动监控(默认60秒轮询)
python {SKILL
DIR}/scripts/csmonitor.py --players player1 player2
自定义轮询间隔
python {SKILL
DIR}/scripts/csmonitor.py --players player1 --interval 30
重置监控状态
python {SKILL
DIR}/scripts/csmonitor.py --reset
启动方式:使用tmux在后台运行监控,定期检查输出。
bash
推荐:tmux后台运行
tmux new-session -d -s cs-monitor
tmux send-keys -t cs-monitor python {SKILL
DIR}/scripts/csmonitor.py --players player1 player2 Enter
查看输出
tmux capture-pane -t cs-monitor -p
3. 配置文件(可选)
创建{SKILL_DIR}/config.json设置默认玩家:
json
{
default_players: [player1, player2, player3],
default_interval: 60
}
数据能力
每场比赛:
- - 核心指标:Rating、ADR、KAST、RWS、K/D/A
- 击杀详情:爆头率、首杀、首死、AWP击杀、多杀(3K/4K/5K)
- 残局:1v1~1v5成功次数
- 道具:闪光助攻、闪白队友、道具伤害、下包/拆包
- 半场:T方/CT方K/D/Rating
- 计分板:全部10名玩家数据
限制:
- - API仅返回最近5场比赛,无法获取更多历史数据
- 赛季概览需要登录Cookie
分析指南
查看比赛报告时,从以下维度分析:
- 1. 核心数据Rating:Rating>1.3优秀,1.0-1.3正常,<0.85拉胯;ADR>90强力,60-90一般,<60疲软
- 风格判断:AWP击杀占比、爆头率、首杀/首死比、T/CT方差异
- 稳定性:多场比赛Rating标准差、最高最低差距
- 团队贡献:KAST(回合参与率)、道具使用、残局能力
- 同场多人:横向对比,谁在Carry谁在躺
语言风格:直接犀利,带点黑色幽默。不整虚的。打得好就夸,打得菜就喷。
依赖
- - Python 3.10+
- aiohttp(pip install aiohttp)
资源
scripts/
- - cs_monitor.py — 主监控脚本,支持--once单次查询和持续监控模式