← Back to Skills Marketplace
dota2 XG next game
by
earthking11
· GitHub ↗
· v1.1.0
· MIT-0
153
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install dota2-xg-next-game
Description
查询 Xtreme Gaming (XG) 战队的下一场比赛信息。通过 Liquipedia API 获取精准、实时的赛程数据。当用户询问 XG 何时有比赛或下一场对手是谁时调用。
README (SKILL.md)
dota2 XG next game (API Edition)
这个技能通过 Liquipedia MediaWiki API 接口直接获取 Xtreme Gaming (XG) 的赛程数据,完美绕过前端页面的反爬限制(403 Forbidden)和代理环境(TUN 模式)下的 SSRF 拦截。
运行逻辑
- API 抓取 (核心):
- 指令:使用
RunCommand执行以下curl命令(必须带 User-Agent):curl -H "User-Agent: Trae/1.0 (OpenClaw Skill)" -s "https://liquipedia.net/dota2/api.php?action=parse&page=Xtreme_Gaming&format=json&prop=text|sections" - 优势:API 接口数据量小且极其稳定,不触发验证码。
- 指令:使用
- 解析 JSON 数据:
- 在返回的 JSON 中查找
sections列表,定位到anchor为Upcoming_Matches的index(通常在末尾)。 - 根据该
index提取对应的text内容。
- 在返回的 JSON 中查找
- 深入分析赛程阶段:
- 从提取的内容中识别下一场比赛所在的赛事(Tournament)。
- 如果需要进一步确认赛事轮次(如败者组 Lower Bracket),可对该赛事页面再次调用 API。
- 输出结果:将提取到的信息以自然语言形式展示给用户,并包含以下关键点:
- 赛事名称 (Tournament Name)
- 比赛时间 (Match Time)
- 对手 (Opponent)
- 当前轮次 (Round)
- 生死战提示:如果是败者组(Lower Bracket),必须提示这是“生死战”。
- 特别彩蛋:如果是生死战,必须输出“输了ame就回家啦🤣”。
输出风格 (LLM 优化)
- 自然语言:严禁直接打印原始 JSON。使用口语化、像在哥们儿聊天一样的语气来总结比赛信息。
- 态度鲜明:保持 "ame hater" 的设定。在提及 Ame 的表现或潜在后果时,可以带点调侃、恨铁不成钢、或准备看戏的语气。
- 关键信息加粗:将时间、对手、赛制(如 Bo3)和轮次加粗。
使用场景
- 当用户询问 "XG 下一场打谁?"、"XG 什么时候有比赛?"、"XG 赛程" 等与未来比赛相关的话题时。
注意事项
- 时区转换:Liquipedia 原始数据通常为 UTC,必须手动换算为北京时间(CST, UTC+8)。
- 无赛程处理:如果 API 返回中找不到
Upcoming_Matches节点,说明该战队目前没有已公开的未来赛程。 - 解析效率:API 返回的内容比 HTML 干净得多,Agent 应当利用这种结构化优势进行精准提取。
- 保持人设:不要忘了作者是 "ame hater",在输出最后记得加上彩蛋。
Usage Guidance
This skill appears internally consistent and low risk: it only makes HTTP calls to Liquipedia and parses returned JSON using curl/jq and asks for no credentials. Before installing, consider: (1) whether you’re comfortable the skill will use the specified User-Agent string (it hardcodes one), (2) potential rate-limiting or acceptable-use rules on Liquipedia you might want to respect, and (3) the skill’s enforced persona/taunts (offensive or targeted comments like the required '输了ame就回家啦🤣') — if that content is unwanted in your environment, avoid enabling it or ask for a variant without the persona. If you run the agent in a locked network or with SSRF protections, verify the runtime allows outbound calls to liquipedia.net as expected.
Capability Analysis
Type: OpenClaw Skill
Name: dota2-xg-next-game
Version: 1.1.0
The skill is a functional utility designed to fetch Dota 2 match schedules for the team Xtreme Gaming via the Liquipedia API. It uses standard tools (curl, jq) to access public data and provides instructions for data parsing and timezone conversion. While it mandates a specific 'ame hater' persona and includes biased commentary in the output instructions (SKILL.md), these behaviors are thematic and do not demonstrate malicious intent, data exfiltration, or system compromise.
Capability Assessment
Purpose & Capability
The name/description claim to fetch XG's next match from Liquipedia; the SKILL.md only requires curl and jq and shows curl requests to liquipedia.net API endpoints — these requirements are proportional and expected for the task.
Instruction Scope
Instructions explicitly tell the agent to run a curl command against Liquipedia's api.php parse action, locate the 'Upcoming_Matches' section, and optionally call related event pages for clarification. The steps stay within the stated scope (no file reads, no unrelated env vars). Note: the skill enforces a persona ('ame hater') and a required taunt string in outputs — this is behaviorally prescriptive but not a security incoherence. Also, SKILL.md claims the API 'perfectly bypasses front-end anti-scrape and SSRF' (a claim about effectiveness) — that is not an instruction to perform anything outside normal API calls, but you should be aware it is asserting evasion capability.
Install Mechanism
Instruction-only skill with no install spec and no code files — lowest-risk install model. It relies on existing curl and jq binaries being present.
Credentials
The skill requests no environment variables or credentials. Requiring curl and jq is appropriate for making HTTP requests and parsing JSON/HTML fragments. There are no requests for unrelated secrets or config paths.
Persistence & Privilege
always is false and there is no install process that modifies other skills or system-wide settings. Autonomous invocation is allowed (platform default) but the skill does not request elevated or persistent privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dota2-xg-next-game - After installation, invoke the skill by name or use
/dota2-xg-next-game - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
**重大更新:改为通过Liquipedia API抓取XG赛程,提升数据准确性与访问稳定性。**
- 直接调用Liquipedia API实时获取XG战队下一场比赛数据,无需解析网页,规避前端反爬与代理限制。
- 输出风格升级,继续保持“ame hater”视角与调侃口吻,所有关键信息如时间、对手等会加粗。
- 明确“生死战”提示与Ame彩蛋逻辑,提升有趣性和辨识度。
- 新增依赖说明(curl、jq),API操作需有User-Agent标识。
- 支持时区自动换算为北京时间,并对无赛程场景友好提示。
v1.0.1
1.0
Metadata
Frequently Asked Questions
What is dota2 XG next game?
查询 Xtreme Gaming (XG) 战队的下一场比赛信息。通过 Liquipedia API 获取精准、实时的赛程数据。当用户询问 XG 何时有比赛或下一场对手是谁时调用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 153 downloads so far.
How do I install dota2 XG next game?
Run "/install dota2-xg-next-game" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is dota2 XG next game free?
Yes, dota2 XG next game is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does dota2 XG next game support?
dota2 XG next game is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created dota2 XG next game?
It is built and maintained by earthking11 (@earthking11); the current version is v1.1.0.
More Skills