ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

daily-backup

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

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/axelhu/daily-backup
Or

What This Skill Does

The daily-backup skill is an automated DevOps utility designed for OpenClaw agents to ensure consistent code and documentation versioning. It performs a comprehensive Git backup of your current workspace, captures a detailed summary of all modifications, and generates a structured report. By executing a specialized shell script, it tracks changes based on your references/spec.md guidelines and logs the entire process, providing peace of mind through automation.

Installation

To install this skill, run the following command in your OpenClaw terminal:

clawhub install openclaw/skills/skills/axelhu/daily-backup

Ensure that your workspace has Git initialized and that your environment has sufficient permissions to execute scripts/auto-backup.sh.

Use Cases

This skill is indispensable for:

  • Automated Logging: Teams requiring daily proof of work by documenting Git commits automatically.
  • Risk Mitigation: Ensuring that local experimental changes are captured at the end of every workday to prevent data loss.
  • Automated Reporting: Developers who need to update project stakeholders via Feishu (Lark) without manual intervention.
  • Audit Compliance: Maintaining a clean, timestamped history of repository states in data/exec-logs/daily-backup/.

Example Prompts

  1. "Run the daily backup now and send the status report to our development group."
  2. "Perform a force backup of the current workspace and summarize the changes made since yesterday."
  3. "Is the daily backup scheduled for today? If not, trigger it immediately and ensure the logs are archived."

Tips & Limitations

  • Safety: Always ensure that the scripts/auto-backup.sh file is configured with the correct permissions. The agent will attempt a retry if the initial delivery to Feishu fails, but ensure your API integration or webhook is properly authorized.
  • Message Limits: The skill intelligently handles long reports by splitting them into semantic chunks if they exceed 3800 characters, ensuring that formatting remains intact for readability.
  • Error Handling: The agent is programmed to never silently fail; if the backup or transmission fails after a retry, the system will explicitly report the error to your console, allowing for immediate manual debugging.

Metadata

Author@axelhu
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-axelhu-daily-backup": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#git#backup#automation#devops#feishu
Safety Score: 4/5

Flags: file-write, file-read, external-api, code-execution