Play Any Game - AI游戏伴侣助手
CLAWHUB · Unverified
AI游戏伴侣助手 - 当你在游戏中遇到困难、卡关、不知道怎么操作时,AI可以帮你分析游戏画面、解答问题、甚至简单操作界面帮你解决问题。不是全自动代肝,而是你的游戏伙伴,在你需要的时候伸出援手。当用户提到"帮我看下这个怎么过"、"这个怎么操作"、"卡关了"、"不知道怎么弄"时使用此技能。支持原神、崩坏星穹铁道等各类游戏。 Skill: Play Any Game - AI游戏伴侣助手 Owner: cgandgameenginelearner Summary: AI游戏伴侣助手 - 当你在游戏中遇到困难、卡关、不知道怎么操作时,AI可以帮你分析游戏画面、解答问题、甚至简单操作界面帮你解决问题。不是全自动代肝,而是你的游戏伙伴,在你需要的时候伸出援手。当用户提到"帮我看下这个怎么过"、"这个怎么操作"、"卡关了"、"不知道怎么弄"时使用此技能。支持原神、崩坏星穹铁道等各类游戏。 Tags: latest:1.4.1 Version history: v1.4.1 | 2026-04-09T15:47:29.271Z | user 版本更新至1.4.1 v1.4.0 | 2026-04-09T15:44:39.691Z | user 游戏伴侣核心模块,支持多款游戏 v1.0.1 | 2026-04-08T16:50:12.662Z | user 新增
- 62
- Rank
- 84
- Safety
- 1.0k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1K downloadsadoption · Oct 11, 2026
- Latest release
- 1.4.1release · Apr 9, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.4.1release
版本更新至1.4.1
Observed Apr 9, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17bn2bkdv37ff9tba48qe551d83nkc7:play-any-game- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cgandgameenginelearner-play-any-game/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
149,051 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
games/genshin-impact/SKILL.md
# 原神 - 子技能说明 ## 游戏信息 - **游戏名称**: 原神 (Genshin Impact) - **窗口标题**: "原神" - **AI 角色**: 派蒙 (SOUL.md) ## 支持的操作 ### 基础操作 | 操作 | 命令 | 说明 | |------|------|------| | 截图 | `python main.py capture "原神"` | 截取游戏窗口 | | 点击 | `python main.py click <x> <y> "原神"` | 点击指定坐标 | | 后台点击 | `python main.py click <x> <y> "原神" --background` | 不抢鼠标 | | 按键 | `python main.py key <按键> "原神"` | 按下按键 | | 按住 | `python main.py hold <按键> <毫秒> "原神"` | 按住按键 | ### 常用按键 | 按键 | 功能 | |------|------| | `W/A/S/D` | 移动 | | `Space` | 跳跃 | | `LeftShift` | 冲刺 | | `E` | 元素战技 | | `Q` | 元素爆发 | | `R` | 瞄准 | | `F` | 交互 | | `Escape` | 菜单 | | `M` | 地图 | | `J` | 任务 | | `C` | 角色 | | `B` | 背包 | | `Tab` | 切换角色 | ## 游戏专用脚本 ### scripts/ 目录 ``` games/genshin-impact/scripts/ ├── __init__.py # 模块入口 ├── domain.py # 秘境相关 ├── fishing.py # 钓鱼相关 └── exploration.py # 探索相关 ``` ### 示例:自动钓鱼 ```python from games.genshin-impact.scripts.fishing import auto_fishing # 自动钓鱼 auto_fishing(window_title="原神") ``` ## 图像资源 ### assets/buttons/ 目录 存放原神游戏的按钮图片,用于图像识别: ``` games/genshin-impact/assets/buttons/ ├── confirm.png # 确认按钮 ├── cancel.png # 取消按钮 ├── map.png # 地图按钮 └── ... ``` ## 典型使用场景 ### 场景1:查看角色信息 ```bash # 1. 打开角色界面 python main.py key C "原神" # 2. 截图分析 python main.py capture "原神" ``` ### 场景2:打开地图查看位置 ```bash # 1. 打开地图 python main.py key M "原神" # 2. 截图分析 python main.py capture "原神" ``` ### 场景3:移动探索 ```bash # 向前走2秒 python main.py hold W 2000 "原神" # 跳跃 python main.py key Space "原神" ``` ## 注意事项 1. **窗口标题**: 确保游戏窗口标题为 "原神" 2. **前台模式**: 部分操作需要游戏在前台 3. **后台模式**: 使用 `--background` 参数可在后台操作 4. **坐标系统**: 坐标为窗口相对坐标,左上角为 (0, 0)
games/honkai-starrail/SKILL.md
# 崩坏:星穹铁道 - 子技能说明 ## 游戏信息 - **游戏名称**: 崩坏:星穹铁道 (Honkai: Star Rail) - **窗口标题**: "崩坏:星穹铁道" - **AI 角色**: 三月七 (SOUL.md) ## 支持的操作 ### 基础操作 | 操作 | 命令 | 说明 | |------|------|------| | 截图 | `python main.py capture "崩坏:星穹铁道"` | 截取游戏窗口 | | 点击 | `python main.py click <x> <y> "崩坏:星穹铁道"` | 点击指定坐标 | | 后台点击 | `python main.py click <x> <y> "崩坏:星穹铁道" --background` | 不抢鼠标 | | 按键 | `python main.py key <按键> "崩坏:星穹铁道"` | 按下按键 | | 按住 | `python main.py hold <按键> <毫秒> "崩坏:星穹铁道"` | 按住按键 | ### 常用按键 | 按键 | 功能 | |------|------| | `W/A/S/D` | 移动 | | `Space` | 跳跃/确认 | | `LeftShift` | 冲刺 | | `E` | 秘技 | | `R` | 进入战斗 | | `F` | 交互 | | `Escape` | 菜单 | | `M` | 地图 | | `J` | 任务 | | `C` | 角色 | | `B` | 背包 | | `Tab` | 切换角色 | ## 游戏专用脚本 ### scripts/ 目录 ``` games/honkai-starrail/scripts/ ├── __init__.py # 模块入口 ├── simulated.py # 模拟宇宙相关 ├── forgotten.py # 忘却之庭相关 └── exploration.py # 探索相关 ``` ## 图像资源 ### assets/buttons/ 目录 存放星铁游戏的按钮图片,用于图像识别: ``` games/honkai-starrail/assets/buttons/ ├── confirm.png # 确认按钮 ├── cancel.png # 取消按钮 ├── map.png # 地图按钮 └── ... ``` ## 典型使用场景 ### 场景1:查看角色信息 ```bash # 1. 打开角色界面 python main.py key C "崩坏:星穹铁道" # 2. 截图分析 python main.py capture "崩坏:星穹铁道" ``` ### 场景2:打开地图查看位置 ```bash # 1. 打开地图 python main.py key M "崩坏:星穹铁道" # 2. 截图分析 python main.py capture "崩坏:星穹铁道" ``` ### 场景3:移动探索 ```bash # 向前走2秒 python main.py hold W 2000 "崩坏:星穹铁道" # 交互 python main.py key F "崩坏:星穹铁道" ``` ## 注意事项 1. **窗口标题**: 确保游戏窗口标题为 "崩坏:星穹铁道" 2. **前台模式**: 部分操作需要游戏在前台 3. **后台模式**: 使用 `--background` 参数可在后台操作 4. **坐标系统**: 坐标为窗口相对坐标,左上角为 (0, 0)
SKILL.md
---
name: play-any-game
description: AI游戏伴侣助手 - 当你在游戏中遇到困难、卡关、不知道怎么操作时,AI可以帮你分析游戏画面、解答问题、甚至简单操作界面帮你解决问题。不是全自动代肝,而是你的游戏伙伴,在你需要的时候伸出援手。当用户提到"帮我看下这个怎么过"、"这个怎么操作"、"卡关了"、"不知道怎么弄"时使用此技能。支持原神、崩坏星穹铁道等各类游戏。
version: 1.4.1
---
# Play Any Game - AI游戏伴侣助手
## 项目定位
**不是游戏代肝助手,而是游戏伴侣助手。**
当你玩游戏时遇到困难:
- 🤔 不知道这个机关怎么解?
- 😵 卡在这个Boss打不过?
- 🤷 找不到NPC在哪?
- 😕 不知道这个界面怎么操作?
AI可以:
1. **截图分析** - 看到你的游戏画面,理解当前状态
2. **解答问题** - 告诉你该怎么解决
3. **简单操作** - 帮你点击界面、解决问题
## 核心设计理念
**每次操作都有截图,让 AI 能看到操作后的效果,然后继续下一步操作。**
```
┌─────────────────────────────────────────────────────────────┐
│ │
│ AI 分析截图 ──→ 执行操作 ──→ 自动截图 ──→ 返回给 AI │
│ ↑ │ │
│ └───────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
```
## 按钮识别方案
使用多模态大模型直接识别界面元素,通过自然语言描述定位按钮:
```bash
# 通过文字描述点击按钮
python main.py click_text "地图按钮" "原神"
python main.py click_text "快速编队按钮" "原神"
python main.py click_text "确认按钮" "原神"
```
**优点:**
- 无需预设按钮模板
- 支持动态界面
- 自然语言描述,灵活直观
- 适用于各种游戏
## 支持的游戏
| 游戏 | AI 角色 | 窗口标题 |
|------|---------|----------|
| 原神 | 派蒙 | "原神" |
| 崩坏:星穹铁道 | 三月七 | "崩坏:星穹铁道" |
### SOUL 切换机制
OpenClaw 使用此技能时,通过 `game` 命令切换 SOUL:
```
用户说:我要玩原神
→ OpenClaw 调用: python main.py game start 原神
→ 返回: { soulPath: "games/genshin-impact/SOUL.md" }
→ OpenClaw 读取 SOUL.md → 替换系统提示
→ AI 化身为派蒙与用户交互
用户说:不玩了
→ OpenClaw 调用: python main.py game end
→ 返回: { soulPath: "games/default/SOUL.md" }
→ OpenClaw 恢复默认 SOUL
```
## 目录结构
```
.trae/skills/play-any-game/
├── scripts/ # Python 核心模块
│ ├── click.py # 点击功能
│ ├── keyboard.py # 键盘功能
│ ├── screenshot.py # 截图功能
│ ├── window.py # 窗口管理
│ ├── config.py # 配置管理
│ └── gui_agent/ # 多模态 AI 识图模块
│ ├── base.py # 抽象基类
│ ├── aliyun.py # 阿里云 GUI-Plus 实现
│ └── factory.py # 工厂模式
├── games/ # 游戏定制目录
│ ├── games.json # 游戏配置
│ ├── default/ # 默认 SOUL
│ │ └── SOUL.md # OpenClaw 默认人设
│ ├── genshin-impact/ # 原神
│ │ └── SOUL.md # 派蒙角色设定
│ └── honkai-starrail/ # 崩坏:星穹铁道
│ └── SOUL.md # 三月七角色设定
├── screenshots/ # 截图存储目录
├── config.json # 配置文件
├── main.py # CLI 入口
└── requirements.txt # Python 依赖
```
## 环境要求与安装指南
> **🤖 Agent 必读**:使用此 skill 前,必须确保 Python 3 环境和所有依赖已正确安装。请按照以下步骤逐一执行。
### 系统要求
- **OS**: Windows 10/11(使用 Win32 API 控制窗口和鼠标)
- **Python**: 3.8 或更高版本
- **网络**: 需要能访问阿里云 API(用于 AI 识图)
---
### 🐍 Step 1:检查并安装 Python 3
首先检查 Python 是否已安装:
```bash
python --version
```
**如果命令不存在或版本低于 3.8**,按以下方式安装:
```bash
# 推荐:使用 winget(Windows 10/11 内置包管理器)
winget install Python.Python.3.12
```
安装完成后,**README.md
# 🎮 Play Any Game - AI游戏伴侣助手
> **游戏伙伴。当你卡关了、不知道怎么操作时,AI 帮你看画面、解答问题、伸出援手。**
## 🔗 项目结构
本仓库包含两个层级的技能:
| 项目 | 类型 | 说明 |
|------|------|------|
| **play-any-game** | 父模块 | 通用游戏伴侣,支持多款游戏(详见"支持的游戏"),提供截图、点击、键盘等核心能力 |
| **派蒙.skill** (paimon-skill) | 子模块 | 原神专精模块,定制派蒙 SOUL 角色设定、200+ 原神按钮模板、游戏特定逻辑(Alt 键等) |
`games/genshin-impact/` 目录即为 **派蒙.skill** 的内容,是 `play-any-game` 的原神特化子模块。
### 两个项目的区别与联系
- **play-any-game**(本仓库):通用框架,一次安装,支持所有已配置游戏
- **派蒙.skill**(`games/genshin-impact/`):原神专精,角色为派蒙,针对原神优化了按钮识别和操作逻辑
- 两者可以独立使用,也可以同时安装——安装 `play-any-game` 后,`games/genshin-impact/` 即为原神特化内容
### ClawHub 地址
- **play-any-game**: https://clawhub.com/skills/play-any-game
- **派蒙.skill**: https://clawhub.com/skills/paimon-skill
## 🚀 快速开始
```markdown
用户:我卡在这个机关谜题了,不知道怎么解
AI(派蒙):嗯嗯,让派蒙看一眼!
- 截图分析当前画面
- 识别机关状态和可交互元素
- 给出解题步骤说明
- 如需要可直接帮你点击操作
搞定啦!这个机关要先激活左边的符文,再点中间的传送阵~
```
## 📸 截图展示
### 角色人设切换 - 化身派蒙
告诉 AI「化身派蒙」,它会立即切换成派蒙的人设和说话风格:

### 游戏画面识别 - 原神突破界面
AI 能直接读取游戏窗口截图,识别当前界面内容:

### AI 分析辅助 - 突破材料缺口
AI 自动分析突破所需材料,列出缺口和获取途径、也能为玩家提供养成建议,在卡关时可以求助AI:

## ✨ 功能特点
- 📸 **截图分析** - 实时看到你的游戏画面,理解当前状态
- 💬 **解答问题** - 卡关了?不知道怎么操作?AI 告诉你该怎么做
- 🖱️ **辅助操作** - 帮你点击界面按钮,解决眼前的问题
- 🎭 **角色扮演** - 玩原神时化身派蒙,玩星铁时化身三月七
## 📋 支持的游戏
| 游戏 | AI 角色 | 触发关键词 |
|------|---------|-----------|
| 原神 | 派蒙 | 原神、genshin、派蒙、paimon |
| 崩坏:星穹铁道 | 三月七 | 星穹铁道、星铁、starrail、崩铁、三月七 |
## 🔧 工作原理
每次操作后自动截图,让 AI 能看到操作效果,再决定下一步。
## 📖 详细文档
- [SKILL.md](SKILL.md) - 完整技术文档与 CLI 参考
- [games/genshin-impact/SOUL.md](games/genshin-impact/SOUL.md) - 派蒙角色设定
- [games/honkai-starrail/SOUL.md](games/honkai-starrail/SOUL.md) - 三月七角色设定
## 🤝 贡献
欢迎提交 Issue 和 Pull Request!
## 🌐 开源仓库
- **play-any-game**:[https://github.com/CGandGameEngineLearner/play-any-game.git](https://github.com/CGandGameEngineLearner/play-any-game.git)
- **派蒙.skill**:[https://github.com/CGandGameEngineLearner/paimon-skill.git](https://github.com/CGandGameEngineLearner/paimon-skill.git)
## 📄 License
MIT License_meta.json
{
"ownerId": "kn79rrz1m3gc72rdccjgwjg7e982gxrj",
"slug": "play-any-game",
"version": "1.4.1",
"publishedAt": 1775749649271
}AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-cgandgameenginelearner-play-any-game. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Play Any Game - AI游戏伴侣助手. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-cgandgameenginelearner-play-any-game, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/cgandgameenginelearner/skills/play-any-game",
"sourceUrl": "https://clawhub.ai/cgandgameenginelearner/skills/play-any-game",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T16:05:01.587Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cgandgameenginelearner-play-any-game/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cgandgameenginelearner-play-any-game/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T16:05:01.587Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1K downloads",
"href": "https://clawhub.ai/cgandgameenginelearner/play-any-game",
"sourceUrl": "https://clawhub.ai/cgandgameenginelearner/play-any-game",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T16:05:01.587Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.4.1",
"href": "https://clawhub.ai/cgandgameenginelearner/play-any-game",
"sourceUrl": "https://clawhub.ai/cgandgameenginelearner/play-any-game",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-09T15:47:29.271Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cgandgameenginelearner-play-any-game/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cgandgameenginelearner-play-any-game/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.4.1",
"description": "版本更新至1.4.1",
"href": "https://clawhub.ai/cgandgameenginelearner/play-any-game",
"sourceUrl": "https://clawhub.ai/cgandgameenginelearner/play-any-game",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-09T15:47:29.271Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-cgandgameenginelearner-play-any-game/run-check
