vala_git_workspace_backup.x.../skill.yml

38 lines
1.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: vala_git_workspace_backup
description: 自动备份OpenClaw workspace到Git仓库支持定时任务无硬编码敏感信息
version: 1.0.0
author: xiaoyan
parameters:
agent_name:
description: 数字员工名称如xiaoyan/xiaoxi/xiaokui等用于生成仓库名
required: true
type: string
git_token:
description: Git仓库访问Token所有数字员工共用同一个Git账号的Token
required: true
type: string
git_username:
description: Git用户名所有数字员工共用同一个Git账号
required: true
type: string
git_email:
description: Git提交邮箱
required: true
type: string
git_repo_url:
description: Git仓库HTTPS地址可选默认使用公司git.valavala.com服务仓库名规则ai_member_${agent_name}
required: false
type: string
cron_schedule:
description: 定时任务cron表达式默认每天8:30
required: false
type: string
default: "30 8 * * *"
actions:
setup:
description: 初始化Git配置和定时任务
script: scripts/setup.sh
backup:
description: 手动触发备份
script: scripts/backup.sh