Task Router Skill
Task Router
神秘商店配置审核与Apollo配置生成
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install ideallove/kugou-mysterious-shopInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
当用户提到以下内容时,应使用此技能:
触发示例:
本技能提供以下功能:
支持以下输入方式:
Excel列索引映射(礼物配置表):
| 列索引 | 字段名 |
|---|---|
| [1] | 新礼物id |
| [3] | 礼物名称 |
| [4] | 礼物价值(元) |
| [5] | 折扣率 |
| [8] | 折后星币 |
| [9] | 单日可售数量 |
| [11] | 单次可够数量 |
| [14] | 补给点顺序 |
| [15] | 红色文案 |
| [16] | 礼物描述文案 |
| [17] | 视频预览链接 |
读取时使用 data_only=True 模式解析公式单元格
示例用户输入:
调用抽奖概率接口查询 appid=8001334 的配置:
appId: 8001334
审核规则:
giftId=='${礼物ID}_${折后星币}'
giftId=='10372_100000'
规则内容校验: 规则条件内容必须包含:
根据文档配置生成Apollo配置JSON,字段映射:
| 配置字段 | Apollo字段 | 说明 |
|---|---|---|
| 补给点顺序 | position | 礼物在地图上的位置 |
| 新礼物id | giftId | 礼物ID |
| 单日可售数量 | remainNum | 剩余数量/库存 |
| 单次可够数量 | singleMaxNum | 单次最大购买数量 |
| 折扣率 | tagType | 1=折扣礼物, 2=新礼物(折扣率=1) |
| 红色文案 | tagName | 标签名... |
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# 神秘商店配置审核与Apollo配置生成
## 技能触发
当用户提到以下内容时,应使用此技能:
- 神秘商店配置审核
- 读取神秘商店文档第X期内容
- 神秘商店第十二期/十一期/十期等
- 审核神秘商店配置并生成Apollo配置
- 神秘商店礼物配置
**触发示例:**
- "读取神秘商店文档礼物配置第十二期的内容"
- "审核神秘商店的配置并生成Apollo配置"
- "神秘商店第十二期配置审核"
- "读取神秘商店Excel并审核"
- "神秘商店活动配置"
## 功能概述
本技能提供以下功能:
1. **读取解析** - 解析神秘商店配置文档(Excel、飞书文档等)
2. **配置审核** - 查询appid=8001334的抽奖概率配置,校验礼物ID规则
3. **Apollo配置生成** - 生成可用于发布的Apollo配置JSON
## 使用方法
### 第一步:读取配置文档
支持以下输入方式:
- 发送Excel文件(.xlsx)
- 发送飞书文档链接
- 提供文档内容
**Excel列索引映射(礼物配置表):**
| 列索引 | 字段名 |
|--------|--------|
| [1] | 新礼物id |
| [3] | 礼物名称 |
| [4] | 礼物价值(元) |
| [5] | 折扣率 |
| [8] | 折后星币 |
| [9] | 单日可售数量 |
| [11] | 单次可够数量 |
| [14] | 补给点顺序 |
| [15] | 红色文案 |
| [16] | 礼物描述文案 |
| [17] | 视频预览链接 |
**读取时使用 `data_only=True` 模式解析公式单元格**
示例用户输入:
- "读取神秘商店文档第十二期内容"
- "审核神秘商店配置"
### 第二步:配置审核
调用抽奖概率接口查询 appid=8001334 的配置:
```
appId: 8001334
```
**审核规则**:
- 检查每个礼物ID是否在抽奖配置中存在对应的规则条件
- 规则条件样式:`giftId=='${礼物ID}_${折后星币}'`
- 例如:`giftId=='10372_100000'`
**规则内容校验**:
规则条件内容必须包含:
- 奖品类型:配置的礼物
- 奖品ID:礼物id
- 奖品数量:1
- 奖品过期时间:3
- 奖品名称:配置的奖励名称
- 成功率:1
- 库存限制:不限制
- 库存数量:配置的库存数量
### 第三步:Apollo配置生成
根据文档配置生成Apollo配置JSON,字段映射:
| 配置字段 | Apollo字段 | 说明 |
|---------|-----------|------|
| 补给点顺序 | position | 礼物在地图上的位置 |
| 新礼物id | giftId | 礼物ID |
| 单日可售数量 | remainNum | 剩余数量/库存 |
| 单次可够数量 | singleMaxNum | 单次最大购买数量 |
| 折扣率 | tagType | 1=折扣礼物, 2=新礼物(折扣率=1) |
| 红色文案 | tagName | 标签名...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.