360 Secure SkillHub
360 安全技能中心

Leetify

核心功能:通过bash/python脚本查询CS2玩家基础 stats、单场数据、对比两名玩家、生成赛季统计表格;可解析demo生成回合级战术日志,分析射击、utility等表现。典型场景:玩家复盘比赛、教练分析选手表现、对比自身与对手差距。输入为带参数的脚本命令,输出含结构化报告、JSON数据、战术分析日志;需配置LEETIFY_API_KEY环境变量。

jeminay
jeminay
热度 87.86
最近更新 2026-05-11 17:26:30
分类:数据依赖:代码执行 / 第三方 API / 读写文件应用场景:数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add leetify
Metadata
name
leetify
description
Get CS2 player statistics, match analysis, and gameplay insights from Leetify API. Supports player comparison and season stats. Use for stat queries and demo analysis.
metadata
{"openclaw":{"requires":{"env":["LEETIFY_API_KEY"],"bins":["python3","bash","bunzip2","gunzip"],"pip":["requests","demoparser2"]}}}

Leetify API Skill

Access CS2 statistics and match data from the Leetify platform.

Quick Stats

Use these commands for general statistics, ranks, and recent performance.

Show Statistics

bash scripts/get_stats_by_username.sh USERNAME

Displays averages, recent match performance, and ranks.

Get Match Data

bash scripts/get_match_details.sh USERNAME [INDEX]

Fetches raw JSON statistics for a specific match. When presenting this data, provide a structured report covering shooting, utility usage, and performance metrics.

Compare Players

bash scripts/compare_by_username.sh USERNAME1 USERNAME2

Compares two players based on their Leetify profiles.

Season Stats

python3 scripts/season_stats.py

Provides a summary table for players tracked in the local database.

Demo Analysis

Use this workflow for detailed tactical reviews and round-by-round breakdowns.

1. Identify the Player

  • Resolve Steam ID: python3 scripts/steam_ids.py get --username USERNAME
  • Match the player in the match log using the resolved Steam ID.

2. Generate Match Log

python3 scripts/analyze_last_demo.py --username USERNAME [--match-index N] [--no-cache]
  • Downloads and parses the demo file (requires significant memory).
  • Generates a text log containing scoreboard and round timeline.

3. Analyze Performance

Review the generated log to assess:

  • Shooting accuracy and trade efficiency.
  • Utility effectiveness (flash duration, grenade damage).
  • Role performance (entry, anchor, support).
  • Tactical highlights and mistakes.

Actionable recommendations can be provided based on the observed patterns. Guides or tutorials for specific map positions may be referenced if performance in those areas was suboptimal.

Data Management

Manage Steam IDs

# Save a player profile
python3 scripts/steam_ids.py save --username "username" --steam-id "7656119..." --name "Name"

# List all tracked players
python3 scripts/steam_ids.py list

Configuration

The skill requires the LEETIFY_API_KEY environment variable. API documentation is available at: https://api-public-docs.cs-prod.leetify.com/