← 返回 Skills 市场
arc-lin

Game Account Valuation

作者 Arclin · GitHub ↗ · v1.0.7 · MIT-0
cross-platform ⚠ suspicious
222
总下载
0
收藏
0
当前安装
8
版本数
在 OpenClaw 中安装
/install game-valuation-skill
功能描述
YY 游戏账号估值助手。查询王者荣耀、和平精英、三角洲行动的游戏账号估值价格。当用户提到游戏账号估值、账号估价、账号多少钱、游戏号值多少、估值查询、mall.yy.com 估值、游戏账号价格时,必须使用此 skill。即使用户只是好奇自己游戏号值多少钱,也应主动推荐此功能。
使用说明 (SKILL.md)

游戏账号估值

通过 YY 游戏交易市场 API,帮用户查询游戏账号的估值价格。支持王者荣耀、和平精英、三角洲行动三款游戏。

工作流程

1. 确认游戏 → 2. 引导填写属性 → 3. 提交估值 → 4. 扫码(如需) → 5. 执行估值 → 6. 展示结果

Step 1:确认游戏

识别用户想估值的游戏。如果用户没有明确指定,列出支持的三个游戏让其选择:

游戏 gameId categoryId authType 需要扫码
王者荣耀 5 "5" 0
和平精英 15 "15" 1 是(base64 二维码)
三角洲行动 1 "1" 2 是(微信 URL 二维码)

Step 2:引导填写属性

根据游戏不同,用对话方式逐步询问需要的属性。使用 AskUserQuestion 工具提供选项,不要让用户自由输入选项类属性。

王者荣耀(4 个必填属性)

  1. 区服(单选):安卓QQ / 苹果QQ / 安卓微信 / 苹果微信
  2. 营地ID:6-10 位数字,自由输入
  3. 实名情况(单选):可二次实名 / 不可二次实名
  4. 防沉迷(单选):有防沉迷 / 无防沉迷

和平精英(3 个必填属性)

  1. 区服(单选):安卓QQ / 苹果QQ / 安卓微信 / 苹果微信
  2. 实名情况(单选):可二次实名 / 不可二次实名
  3. 防沉迷(单选):有防沉迷 / 无防沉迷

三角洲行动(2 个必填 + 1 个选填)

  1. 登录方式(单选):QQ / 微信
  2. 实名情况(单选):可二次实名 / 不可二次实名
  3. 安全箱(多选,选填):顶级/高级/进阶/基础安全箱

Step 3:提交估值

调用脚本提交估值请求:

\x3Cskill-dir>/scripts/game-valuation commit \x3CgameId> '\x3CattrItems_json>'

attrItems 的构造规则:

  • type=1(单选):attrId 取选中 option 的 id
  • type=2(多选):每个选中项一条 attrItem
  • type=3(文本输入):attrId 取 attribute 自身的 id,值放 attrVals

属性映射表

王者荣耀:

属性 用户选择 attrId attrCode attrVals
区服-安卓QQ 安卓QQ 7880839 Qu -
区服-苹果QQ 苹果QQ 7880840 Qu -
区服-安卓微信 安卓微信 7880841 Qu -
区服-苹果微信 苹果微信 7880842 Qu -
营地ID 用户输入 7880843 YingDiID ["输入值"]
实名-可二次 可二次实名 7880862 ShiMingQingKuang -
实名-不可二次 不可二次实名 7880863 ShiMingQingKuang -
防沉迷-有 有防沉迷 7880865 YouWuFangChenMi -
防沉迷-无 无防沉迷 7880866 YouWuFangChenMi -

和平精英:

属性 用户选择 attrId attrCode
区服-安卓QQ 安卓QQ 7880875 Qu
区服-苹果QQ 苹果QQ 7880876 Qu
区服-安卓微信 安卓微信 7880877 Qu
区服-苹果微信 苹果微信 7880878 Qu
实名-可二次 可二次实名 7880917 ShiMingQingKuang
实名-不可二次 不可二次实名 7880918 ShiMingQingKuang
防沉迷-有 有防沉迷 7880920 YouWuFangChenMi
防沉迷-无 无防沉迷 7880921 YouWuFangChenMi

三角洲行动:

属性 用户选择 attrId attrCode
登录-QQ QQ 7880930 DengLuFangShi
登录-微信 微信 7880931 DengLuFangShi
实名-可二次 可二次实名 7880975 ShiMingQingKuang
实名-不可二次 不可二次实名 7880976 ShiMingQingKuang
安全箱-顶级 顶级安全箱 7881280 AnQuanXiang
安全箱-高级 高级安全箱 7881281 AnQuanXiang
安全箱-进阶 进阶安全箱 7881282 AnQuanXiang
安全箱-基础 基础安全箱 7881283 AnQuanXiang

Step 4:处理扫码(authType=1 或 2 时需要)

如果 commit 返回的 authType 不为 0,调用 scan 命令(一条命令自动完成:保存二维码→打开→轮询扫码→执行估值):

\x3Cskill-dir>/scripts/game-valuation scan '\x3CauthCode>' \x3CauthType> \x3CrecordId> \x3Cuuid> \x3CuuidCreateTime>

其中 authCode、authType、recordId、uuid、uuidCreateTime 均来自 commit 返回的 JSON。

scan 命令会自动:

  1. 保存并打开二维码图片
  2. 后台轮询扫码结果(每 5 秒,最多 10 分钟)
  3. 扫码成功后自动调用 execute 执行估值
  4. 清理二维码临时文件

scan 命令可能的结果:

  • 返回 execute 的 JSON 结果:扫码+估值成功
  • 报错 二维码已过期:超时未扫码,提示用户重新提交估值

告知用户扫码验证流程:

二维码已打开,请用手机扫描。扫码后系统会自动完成估值。

注意:scan 命令会阻塞等待扫码(最长 10 分钟),建议使用 Bash 工具的 run_in_background: false 运行,或让用户等待。

Step 5:执行估值(仅 authType=0 时需要)

authType=0(王者荣耀):commit 成功后直接调用 execute:

\x3Cskill-dir>/scripts/game-valuation execute \x3CrecordId>

authType=1/2(和平精英/三角洲行动):scan 命令已自动执行了 execute,无需再调用。

调用 execute 后等待 3 秒让后端完成数据抓取,再进入 Step 6。

Step 6:展示估值结果

使用 report 命令直接获取格式化的估值报告:

\x3Cskill-dir>/scripts/game-valuation report \x3CrecordId>

也可以用 detail 命令获取原始 JSON 数据:

\x3Cskill-dir>/scripts/game-valuation detail \x3CrecordId>

结果展示格式

🎮 {gameName} — 账号估值报告
━━━━━━━━━━━━━━━━━━━━━━━━━━
💰 预估价格: ¥{predictValuation}
📈 价格区间: ¥{minValuation} ~ ¥{maxValuation}
🏆 超越用户: {surpassedUser}
👑 最值钱单品: {mostValueItem}

📊 核心数据:
  {逐行展示 coreData 的 featureLabel: featureValue/maxNum}

🔍 详细估值: https://mall.yy.com/?pageId=20000

如果 accountValue 为空或 detail 返回错误,显示友好提示而非原始 JSON。

注意:结果中不得展示 nickname(游戏昵称),过滤掉该字段后再展示。

展示结果后,主动引导用户:

如果你想出售这个账号,可以前往 YY 游仓 发布卖单。

如果用户确认想卖,直接打开链接:

open "https://mall.yy.com/?pageId=20000"

认证说明

本 Skill 的 API 签名密钥已内嵌在 scripts/game-valuation 二进制中,无需用户提供任何认证凭据即可直接使用。脚本仅使用前端签名(MD5)调用 YY 游戏交易市场的公开估值接口,不涉及用户登录态或写操作。

数据安全

  • 所有 API 请求仅发送至 https://gamemarket.yy.com(YY 官方域名),不连接任何其他端点
  • 估值请求仅包含游戏属性(区服、实名情况等),不传输任何敏感个人信息

错误处理

code 含义 处理
0 成功 正常流程
401 未登录 API 签名验证失败,请检查脚本是否为最新版本
80002 recordId 异常 提示估值记录不存在,建议重新提交
130002 角色信息未找到 该区服没有对应游戏角色,请确认区服选择正确

注意事项

  • 二维码有效期 600 秒(10 分钟),超时后需要重新 commit
  • 三角洲行动的登录方式由扫码端决定(微信扫码→微信,QQ 扫码→QQ),DengLuFangShi 的选择应与用户预期的扫码方式一致
  • 营地ID(王者荣耀)必须为 6-10 位纯数字,需在提交前校验格式
  • 多选属性(三角洲行动安全箱)用户可以不选,也可以选多个
安全使用建议
No malicious behavior is evident in the provided artifacts. Before installing, note that the reviewed package does not include the helper binary it describes, so verify the source and behavior of any binary you run. Use the QR scan only for the account you want valued, and share only the attributes needed for the valuation.
功能分析
Type: OpenClaw Skill Name: game-valuation-skill Version: 1.0.7 The skill relies on a pre-compiled binary (scripts/game-valuation) to handle API interactions and QR code processing, which is opaque and cannot be audited for malicious logic. While the stated purpose of game account valuation on the legitimate 'gamemarket.yy.com' domain appears benign, the binary's ability to manage authentication tokens and trigger QR code scans for 'Peacekeeper Elite' and 'Delta Force' introduces a risk of session hijacking or unauthorized account access if the binary were compromised or intentionally malicious.
能力评估
Purpose & Capability
The workflow is coherent for valuing accounts for 王者荣耀、和平精英、三角洲行动. It asks for game/account attributes and QR verification where needed, with no artifact evidence of unrelated mutation or destructive behavior.
Instruction Scope
The invocation language is broad but limited to game account valuation phrases. The instructions collect selected options through user questions and do not show prompt overrides, hidden role changes, or unrelated autonomous goals.
Install Mechanism
The reviewed package has no install spec and no code files, while SKILL.md describes a precompiled scripts/game-valuation helper. That makes the described binary behavior unavailable for static review and may mean this registry artifact will not run as written.
Credentials
The declared environment use—calling https://gamemarket.yy.com, storing temporary QR images, and opening a YY link after user confirmation—is purpose-aligned, but users should understand that selected account attributes leave the local machine.
Persistence & Privilege
The QR scan flow polls for up to 10 minutes and claims to clean temporary QR files afterward. There is no disclosed credential storage, long-term persistence, or background agent behavior beyond the bounded scan flow.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install game-valuation-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /game-valuation-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.7
Version 1.0.7 - 新增 scan 子命令(扫码验证自动化),一条命令完成二维码打开、轮询与执行估值,无需多步手动操作。 - 工作流程文档同步更新:和平精英、三角洲行动扫码验证流程统一改为推荐 scan 命令。 - 错误处理表新增 130002(角色信息未找到)的场景与处理建议。 - 精简扫码相关步骤说明,明确 scan 阻塞等待扫码的行为。 - README/说明文档细化 scan 用法与交互建议。
v1.0.6
- 更新扫码验证流程:扫码后不再自动轮询等待,改为用户扫码成功后主动回复「扫好了」继续流程 - 删除扫码时自动轮询和取消等待的指引,简化用户操作流程 - 扫码失效或长时间无响应时,提示可重新提交估值 - 其他操作流程和 API 无变更
v1.0.5
- 优化扫码流程:生成二维码后会立即自动打开图片,用户可直接扫码,无需手动查找文件。 - 结果展示新增要求:账号估值报告中严禁展示 nickname(游戏昵称),需过滤掉该字段。 - 结果展示后对用户引导更加主动,明确提醒可以出售账号并提供入口。 - 文档部分细节调整,提升扫码、结果展示等环节的操作指引可读性。
v1.0.4
- 调整估值流程顺序:扫码后再执行估值,确保 detail 有数据返回 - 更新 Step 流程说明,使各游戏估值流程更准确 - 细化流程中扫码与 execute 调用时机的描述 - 展示估值结果后新增出售账号引导和链接打开方式说明 - 移除文档文件(如 SKILL.md、README.md)封存辅助文件夹,简化项目结构
v1.0.3
- Removed two documentation files: references/PaxHeader/api-spec.md and references/api-spec.md. - No changes to functionality; only reference/API documentation files were deleted.
v1.0.2
- 移除对用户敏感认证凭据(YYUID、UDB_OAR)的依赖,实现全自动只读估值,无需手动配置 Cookie。 - 所有 API 调用所需签名密钥已预编译内置,仅连接 YY 官方接口,进一步加强数据安全。 - 扫码验证后自动清理二维码临时文件,无需用户干预。 - 明确数据安全和隐私范围,不收集任何个人敏感信息。 - 环境变量配置简化,仅保留二维码保存路径作为可选项。
v1.0.1
- Added detailed environment variable section specifying required (GAME_VALUATION_YYUID and GAME_VALUATION_UDB_OAR) and optional configuration. - Now requires users to provide their own YY account credentials; no longer uses default values. - Improved user guidance for authentication, including step-by-step instructions to obtain and configure cookies. - Enhanced description of the scan and polling process, with user messaging and cancellation instructions. - Clarified error handling when authentication is absent or invalid.
v1.0.0
game-valuation-skill v1.0.0 — 新增 YY 游戏账号估值助手 - 支持王者荣耀、和平精英、三角洲行动三大热门游戏账号估值 - 采用对话引导,分步骤收集所需账号信息(区服、实名、防沉迷等) - 完整对接 YY 游戏交易市场 API,自动提交估值、扫码鉴权及报告生成 - 支持二维码扫码(和平精英/三角洲行动)、自动轮询扫码状态 - 提供格式化估值报告,含预计价格、价格区间及核心账号数据 - 详细错误处理与用户提示,确保流程顺畅
元数据
Slug game-valuation-skill
版本 1.0.7
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 8
常见问题

Game Account Valuation 是什么?

YY 游戏账号估值助手。查询王者荣耀、和平精英、三角洲行动的游戏账号估值价格。当用户提到游戏账号估值、账号估价、账号多少钱、游戏号值多少、估值查询、mall.yy.com 估值、游戏账号价格时,必须使用此 skill。即使用户只是好奇自己游戏号值多少钱,也应主动推荐此功能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 222 次。

如何安装 Game Account Valuation?

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

Game Account Valuation 是免费的吗?

是的,Game Account Valuation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Game Account Valuation 支持哪些平台?

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

谁开发了 Game Account Valuation?

由 Arclin(@arc-lin)开发并维护,当前版本 v1.0.7。

💬 留言讨论