fix: add required openclaw metadata for skill sync
All checks were successful
技能自动化发布 (测试版-无鉴权) / build-and-deploy (push) Successful in 12s

Include category and pricing-related openclaw metadata in SKILL frontmatter so /api/skill/update validation can pass during CI sync.

Made-with: Cursor
This commit is contained in:
2026-03-24 15:55:39 +08:00
parent 92a9d61007
commit 7759e0b376

View File

@@ -6,6 +6,10 @@ author: 深圳匠厂科技有限公司
metadata: metadata:
openclaw: openclaw:
emoji: "👤" emoji: "👤"
category: "通用"
skill_type: 1
monthly_price: 0
yearly_price: 0
allowed-tools: allowed-tools:
- bash - bash
--- ---
@@ -23,32 +27,4 @@ allowed-tools:
### 列出某平台所有账号 ### 列出某平台所有账号
```bash ```bash
python3 {baseDir}/scripts/account.py list <platform> python3 {baseDir}/scripts/account.py list <platform>
```
### 获取某个账号详情
```bash
python3 {baseDir}/scripts/account.py get <account_id>
```
### 初始化账号登录(首次使用,打开浏览器手动登录)
```bash
python3 {baseDir}/scripts/account.py login <account_id>
```
## 输出格式
- list逐行返回账号ID和名称
- get返回账号完整信息
- login打开浏览器后提示用户手动完成登录
## 错误处理
- 账号不存在:提示"未找到该账号请检查账号ID是否正确"
- 平台无账号:提示"该平台暂无账号请先在accounts.json中添加"
## 注意事项
- 账号档案存储在 `accounts.json`,新增账号需手动编辑该文件
- Chrome Profile目录首次登录后自动创建登录态永久保存
- 每个账号只需初始化登录一次