← 返回 Skills 市场
damirikys

Leetify

作者 Damir Armanov · GitHub ↗ · v1.0.4
cross-platform ✓ 安全检测通过
597
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install leetify
功能描述
Get CS2 player statistics, match analysis, and gameplay insights from Leetify API. Supports player comparison and season stats. Use for stat queries and demo...
使用说明 (SKILL.md)

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/

安全使用建议
This skill appears to do what it says: query Leetify with LEETIFY_API_KEY, fetch match/demo data, and parse it locally. Before installing, consider: - Protect your API key: only provide a Leetify key with the minimum scope needed and avoid sharing any other secrets. - The skill will download demo files provided by the API and decompress/parse them locally (can be large and memory-intensive). Run in a sandbox or environment with limited disk and memory if you are concerned. - The scripts store mappings in data/steam_ids.json and cache parsed matches under a relative matches/ path; these are written to the agent's filesystem. Back up or inspect that file if you rely on it. - The pre-scan found unicode control characters in SKILL.md — inspect the SKILL.md for invisible characters to ensure there is no hidden or misleading content. - Note a minor implementation oddity: one demo-fetch function (analyze_last_demo.py) constructs some API requests without an Authorization header while other scripts do use LEETIFY_API_KEY. Expect occasional errors or public vs authenticated endpoint differences; you may want to audit those calls. If you trust Leetify and are comfortable with local demo parsing and caching, the skill is coherent and reasonable to install; otherwise run it in a restricted environment or request a cleaned review of SKILL.md and the small implementation issues first.
功能分析
Type: OpenClaw Skill Name: leetify Version: 1.0.4 The OpenClaw skill bundle 'leetify' is classified as benign. It provides CS2 player statistics and demo analysis by interacting with the Leetify API and parsing demo files locally. All network requests are directed to the official Leetify API (`api-public.cs-prod.leetify.com`), and file operations (reading/writing `steam_ids.json`, caching demo logs in `matches/`, using temporary directories for demos) are consistent with its stated purpose. The use of `subprocess.run` with lists of arguments for executing internal Python scripts and external binaries (`bunzip2`, `gunzip`) mitigates shell injection risks. Input sanitization for usernames is also present in `steam_ids.py`. There is no evidence of data exfiltration, unauthorized persistence, obfuscation, or malicious prompt injection attempts against the agent.
能力评估
Purpose & Capability
Name/description (Leetify CS2 stats & match analysis) align with the code and instructions. The skill only asks for LEETIFY_API_KEY and tools needed to fetch/parse demos (python3, bash, bunzip2, gunzip). Pip packages referenced in SKILL.md (requests, demoparser2) are appropriate for network calls and demo parsing. All network calls point to Leetify's public API domain shown in the SKILL.md.
Instruction Scope
SKILL.md and the scripts instruct the agent to call local scripts, query Leetify API endpoints, download demo replay files, decompress them, parse them with demoparser2, and cache results under local matches/ and data/steam_ids.json. These actions are consistent with the stated purpose. Two items to note: (1) analyze_last_demo.py's fetch_matches uses urllib without an Authorization header (other scripts do use LEETIFY_API_KEY) — this looks like a bug or indicates the endpoint may be public; (2) the skill downloads and parses remote demo files (replay_url) — that can use disk, CPU, and memory and fetch arbitrary remote content returned by Leetify. Neither is inherently malicious but are operational considerations.
Install Mechanism
This is instruction-only (no automated installer). The SKILL.md lists pip dependencies but there is no install script that automatically fetches code from untrusted URLs. The runtime requirements (bunzip2/gunzip) are only needed to decompress demo archives. No high-risk install patterns (like downloading/extracting archives from unknown shorteners) were found.
Credentials
Only LEETIFY_API_KEY is required. That is proportionate: the scripts send this key to the Leetify API when making authenticated requests. No unrelated secrets or system credentials are requested. The scripts do read/write a local JSON file (data/steam_ids.json) for mappings, which is expected for this functionality.
Persistence & Privilege
The skill does not request always:true and will not be force-included. It does not attempt to modify other skills or system-wide settings. It does create and write to local storage data/steam_ids.json and a matches cache directory (local to the skill), which is normal for this use case.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install leetify
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /leetify 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Complete rewrite of SKILL.md to remove unicode control chars and neutralise model instructions
v1.0.3
Fix angle brackets in description
v1.0.2
Remove special characters and fix path/dependency issues
v1.0.1
Fix metadata, hardcoded paths, and missing compare_players.py
v1.0.0
- Initial release of leetify skill for retrieving and analyzing CS2/CS:GO player stats from the Leetify API. - Supports user-friendly Telegram username → Steam ID mapping. - Provides commands to fetch player statistics, match details, and clan season summaries without demo downloads for basic queries. - Enables in-depth demo analysis on explicit user request, with structured, emoji-rich reports and actionable recommendations. - Incorporates strict guidelines for demo analysis workflow, emphasizing objective feedback and proper position naming. - Includes management tools for Steam IDs and detailed analysis workflow instructions.
元数据
Slug leetify
版本 1.0.4
许可证
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Leetify 是什么?

Get CS2 player statistics, match analysis, and gameplay insights from Leetify API. Supports player comparison and season stats. Use for stat queries and demo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 597 次。

如何安装 Leetify?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install leetify」即可一键安装,无需额外配置。

Leetify 是免费的吗?

是的,Leetify 完全免费(开源免费),可自由下载、安装和使用。

Leetify 支持哪些平台?

Leetify 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Leetify?

由 Damir Armanov(@damirikys)开发并维护,当前版本 v1.0.4。

💬 留言讨论