openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Daily Backup

每日 Git 备份。提交工作区所有变更,记录变更摘要。触发时机:cron 定时任务或手动调用。

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.1

统计:⭐ 0 · 41 · 1 current installs · 1 all-time installs

0

安装量(当前) 1

🛡 VirusTotal :可疑 · OpenClaw :可疑

Package:axelhu/daily-backup

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :可疑

OpenClaw 评估

The skill's high-level goal (daily git backup + reporting to Feishu) is plausible, but its runtime instructions rely on an external shell script and on sending messages to Feishu while declaring no credentials, binaries, or scripts — those mismatches warrant caution.

目的

The description promises a 'daily Git backup' that commits workspace changes and posts reports to Feishu. However, the skill does not declare required binaries (git), any environment variables or credentials for Feishu, nor the scripts it expects to run. Requiring arbitrary commit operations and remote messaging without declaring the need for git and Feishu credentials is inconsistent with the stated purpose.

说明范围

SKILL.md directs the agent to run scripts/auto-backup.sh (not included) and to '提交工作区所有变更' (commit the entire workspace). Running a non-included shell script could execute arbitrary commands and the commit-all behavior risks staging secrets. The instructions also require sending reports to Feishu and strictly mandate retry/never-silent-fail behavior, but do not specify how to authenticate or which API/hook to use.

安装机制

This is an instruction-only skill with no install spec and no code files. That minimizes direct disk writes from the skill itself. The remaining risk comes from the external shell script it intends to run (which is not bundled).

证书

The skill expects to post messages to Feishu and operate Git but declares no required environment variables or credentials (Feishu tokens/webhook, git credentials, remote repo auth). Absence of declared secrets is a mismatch: posting to an external chat and pushing to remote repos generally require credentials and those should be made explicit and limited.

持久

always is false and the skill has no install-time persistence. It will run only when invoked (or by autonomous model invocation, which is the platform default). There is no evidence it modifies other skills or global agent settings.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Daily Backup」。简介:每日 Git 备份。提交工作区所有变更,记录变更摘要。触发时机:cron 定时任务或手动调用。。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/axelhu/daily-backup/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: daily-backup
version: 1.0.0
description: 每日 Git 备份。提交工作区所有变更,记录变更摘要。触发时机:cron 定时任务或手动调用。
---

# Daily Backup

每日 Git 全量备份,记录变更摘要。

## 核心流程

1. 读取 references/spec.md 获取详细规范
2. 运行 `scripts/auto-backup.sh`
3. 检查是否有新提交
4. 读取变更统计
5. 生成报告并发送

## 触发时机

- cron 定时任务(建议每日)
- 用户明确要求时

## 投递规则(必须)

完成报告后,通过消息工具发送。
- 渠道:feishu
- 目标:<飞书群ID或用户ID>
如果报告超过 3800 字符,分成多条消息发送。
每条消息必须语义完整(不断开 URL 或格式)。
如果发送失败,重试一次。如果仍然失败,输出错误——永远不要静默退出。

## 输出

- 报告位置:`data/exec-logs/daily-backup/YYYY-MM-DD.md`
- 消息推送到飞书群