← Back to Skills Marketplace
Play Any Game - AI游戏伴侣助手
by
CGandGameEngineLearner
· GitHub ↗
· v1.4.1
· MIT-0
216
Downloads
0
Stars
0
Active Installs
12
Versions
Install in OpenClaw
/install play-any-game
Description
AI游戏伴侣助手 - 当你在游戏中遇到困难、卡关、不知道怎么操作时,AI可以帮你分析游戏画面、解答问题、甚至简单操作界面帮你解决问题。不是全自动代肝,而是你的游戏伙伴,在你需要的时候伸出援手。当用户提到"帮我看下这个怎么过"、"这个怎么操作"、"卡关了"、"不知道怎么弄"时使用此技能。支持原神、崩坏星穹铁道等各类游戏。
Usage Guidance
Before installing, note these points:
- Metadata mismatch: The skill's registry entry says no environment variables are required, but the documentation and code require an API key (DASHSCOPE_API_KEY). Confirm with the author why the registry omitted this requirement.
- Privacy: The skill captures screenshots of your game window and (per docs) sends them to a cloud service (Aliyun GUI-Plus) for analysis. Do not use this skill if those screenshots might contain sensitive information you do not want uploaded.
- API key handling: The skill stores the API key in a local config.json by default. Ensure that file is stored securely and not committed or shared. Consider using temporary keys or scoped accounts if possible.
- Local control risk: The skill can move your mouse, send keystrokes, and perform background PostMessage clicks. That capability is necessary for automation but can affect other applications. Only run it on a machine/account where you accept this level of control.
- Implementation oddities: The project uses the 'openai' Python client in requirements but documents Aliyun GUI-Plus as the provider. Review scripts/gui_agent/aliyun.py (network endpoints, upload behavior) to confirm where images and keys are actually sent. Also scan the code for TODOs or obvious bugs (there are at least some small code issues) before running.
- Mitigations: Run initially in a controlled environment (non-critical account, VM, or sandboxed Windows user), inspect network traffic (to see which endpoints are used), and rotate API keys if you test the skill. If you need assurance, ask the maintainer to (1) update registry metadata to declare the API key requirement, (2) document exact endpoints used and whether images are persisted server-side, and (3) provide an option to run the recognition model locally or with a self-hosted endpoint.
Capability Analysis
Type: OpenClaw Skill
Name: play-any-game
Version: 1.4.1
The skill bundle provides an AI-powered game assistant that utilizes high-risk capabilities, including screen capture, window manipulation, and simulated mouse/keyboard input via Win32 APIs (implemented in scripts/screenshot.py, scripts/click.py, and scripts/keyboard.py). It exfiltrates screen data to a third-party endpoint (dashscope.aliyuncs.com) for multi-modal analysis using Aliyun's GUI-Plus model (scripts/gui_agent/aliyun.py). While these behaviors are consistent with the stated purpose of assisting players in games like Genshin Impact, the combination of remote screen monitoring and automated input control represents a significant security risk.
Capability Assessment
Purpose & Capability
The skill's name/description match what the code implements (screenshot analysis, UI recognition, mouse/keyboard control). However the registry metadata declares no required environment variables or primary credential while SKILL.md and the code require an API key (DASHSCOPE_API_KEY) for a cloud GUI model. That mismatch (declared no env vs runtime instructions requiring a secret) is an incoherence and should be clarified.
Instruction Scope
Runtime instructions request capturing screenshots, saving them under screenshots/, and sending them to a cloud GUI-Plus model (Aliyun) for multimodal recognition; they also direct local mouse/keyboard and background window message clicks. These actions are consistent with the stated purpose but involve collecting and uploading user screenshots and controlling the local input subsystem — both are privacy- and security-sensitive and should be explicitly disclosed to users.
Install Mechanism
No opaque remote download/install spec is present; installation is via pip installing requirements.txt (pywin32, Pillow, opencv-python, numpy, openai). This is a typical and traceable mechanism. There is no evidence of arbitrary binary downloads from untrusted URLs in the provided files.
Credentials
Although registry metadata lists no required env vars, SKILL.md instructs storing an API key (DASHSCOPE_API_KEY) in config.json or as an env var and uses it to call a cloud model. Requesting a cloud API key is proportionate to the image-recognition feature, but the metadata omission is inconsistent. Also the skill persists the API key to config.json (albeit .gitignored), which raises risk if the file is not handled correctly. The use of the 'openai' client (per requirements) to call Aliyun GUI-Plus is unusual and should be audited to confirm endpoints.
Persistence & Privilege
The skill does not request 'always: true' or system-wide privileges. It writes config.json and stores screenshots under its screenshots/ directory, which is expected for this functionality. It performs local mouse/keyboard actions and may run in background mode; those are necessary for its purpose but are privileged actions on the host and should be allowed only by users who understand the risk.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install play-any-game - After installation, invoke the skill by name or use
/play-any-game - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.4.1
版本更新至1.4.1
v1.4.0
游戏伴侣核心模块,支持多款游戏
v1.0.1
新增项目结构章节,说明与 paimon-skill(派蒙.skill)的关系
v1.3.5
**v1.3.5 - 安装指引与易用性优化**
- 全面增强了 SKILL.md 的环境安装说明,新增逐步 Python 配置和依赖校验流程,极大方便首次使用者快速上手。
- 明确区分系统/依赖环境要求,修订为更清晰的 Step by Step 中文/英文混合指引,并补充了常见问题与验证环节。
- 推荐并详细说明了 Windows 下 Python 安装、PATH 配置等常见卡点的处理方法。
- 对命令实例、依赖包用途说明和项目结构描述进行了增补和格式调整,进一步降低配置门槛,提升文档可读性。
- 新增温馨提示和 FAQ 常见报错解决建议,改善总体用户体验。
- README.md 与 SKILL.md 内容保持同步,重大操作引导和平台要求详尽说明。
v1.3.3
更新README:准确描述为游戏伴侣助手,修正功能说明
v1.3.2
- Initial public release with complete codebase.
- Added full Python CLI support for in-game screenshotting, window management, mouse click simulation (foreground/background), and keyboard input.
- Game-specific subdirectories and configuration for Genshin Impact and Honkai: Star Rail, with dedicated SOUL.md and SKILL.md files.
- Clear project structure, documentation (README.md, SKILL.md), and extension instructions for new games.
- All commands return standardized JSON results for easy integration and automation.
v1.3.1
Play Any Game v1.3.1
- 全面重写技能说明文档,突出“游戏伴侣助手”定位,明确非全自动脚本。
- 新增 AGENTS.md,详细说明项目规则和 agent 体系。
- 游戏支持模块化,原神和崩坏:星穹铁道分别拥有独立的 SOUL 角色设定文件。
- 移除了不再匹配新版结构的 README.md 及参考资料,整体目录更清晰。
- 文档明确主流程(截图、分析、指令、反馈)和添加新游戏的标准方式。
v1.3.0
强调AI伴侣可直接操作游戏、答疑解惑、处理繁琐事务
v1.2.1
已更新为AI游戏伴侣助手
v1.2.0
标题改为AI游戏伴侣助手
v1.1.0
转型为AI游戏向导,强调陪伴和引导玩家
v1.0.0
AI游戏伴侣技能,支持日常代管、体力清理、副本刷取等
Metadata
Frequently Asked Questions
What is Play Any Game - AI游戏伴侣助手?
AI游戏伴侣助手 - 当你在游戏中遇到困难、卡关、不知道怎么操作时,AI可以帮你分析游戏画面、解答问题、甚至简单操作界面帮你解决问题。不是全自动代肝,而是你的游戏伙伴,在你需要的时候伸出援手。当用户提到"帮我看下这个怎么过"、"这个怎么操作"、"卡关了"、"不知道怎么弄"时使用此技能。支持原神、崩坏星穹铁道等各类游戏。 It is an AI Agent Skill for Claude Code / OpenClaw, with 216 downloads so far.
How do I install Play Any Game - AI游戏伴侣助手?
Run "/install play-any-game" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Play Any Game - AI游戏伴侣助手 free?
Yes, Play Any Game - AI游戏伴侣助手 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Play Any Game - AI游戏伴侣助手 support?
Play Any Game - AI游戏伴侣助手 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Play Any Game - AI游戏伴侣助手?
It is built and maintained by CGandGameEngineLearner (@cgandgameenginelearner); the current version is v1.4.1.
More Skills