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

workspace-backup

Automated workspace backup to GitHub — git-based with auto-generated commit messages, proper .gitignore, and restore procedures. Cron-friendly for hands-free backup. Use for backing up your OpenClaw workspace, skills, memory, and configuration.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/aiwithabidi/workspace-backup
Or

What This Skill Does

The workspace-backup skill provides a robust, git-powered solution for version-controlling your OpenClaw environment. By automating the backup of your workspace, skills, memory, and custom configuration to a GitHub repository, it acts as a critical safety net. It utilizes standard Git workflows, ensuring that your data remains structured, history-tracked, and easily recoverable. With built-in support for smart .gitignore files and automated commit messaging, it removes the manual labor typically associated with infrastructure maintenance, making it an essential tool for maintaining operational continuity.

Installation

To install, ensure your environment is ready to handle git operations. Run clawhub install openclaw/skills/skills/aiwithabidi/workspace-backup to add the skill. Navigate to your ~/.openclaw/workspace directory, execute git init, and link your remote repository via git remote add origin <url>. Ensure that your SSH keys are configured correctly on your GitHub account so that the backup.sh script can authenticate without interactive TTY prompts. Finally, register the skill as a cron job to enable periodic, hands-free synchronization.

Use Cases

This skill is perfect for developers and agents maintaining state-heavy configurations. Use it to protect your custom skill logic from accidental deletion, synchronize your agent's evolving memory across different runtime environments, or simply maintain a historical audit log of your agent's workspace state. It is specifically beneficial for production-grade agent setups where recovery time objectives (RTO) must be kept to a minimum in the event of hardware failure or software misconfiguration.

Example Prompts

  1. "Run the workspace backup process now to capture the latest changes to my agent skills and memory."
  2. "Show me the last 5 commit summaries from the workspace backup to verify what was saved."
  3. "Restore the specific configuration file for my email automation skill from the backup history dated two days ago."

Tips & Limitations

Always ensure that sensitive environment variables or API keys are excluded from your commits by verifying the auto-generated .gitignore file; the backup tool is designed to prevent leaking secrets, but manual verification is recommended. The backup script is non-interactive; if your SSH key requires a passphrase, ensure it is added to your ssh-agent prior to execution. For large datasets, note that frequent commits might bloat your repository size, so consider tuning your cron schedule to balance data granularity with performance.

Metadata

Stars4473
Views4
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-aiwithabidi-workspace-backup": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#backup#git#version-control#automation#recovery
Safety Score: 4/5

Flags: file-read, file-write, network-access, code-execution

Related Skills

agent-memory

Full AI agent memory stack — Mem0 unified memory engine with vector search (Qdrant) and knowledge graph (Neo4j), plus SQLite for structured data. Complete setup script and tools. Give your OpenClaw agent a real brain with semantic recall, entity relationships, and structured storage.

aiwithabidi 4473

skill-auditor

Security audit and quarantine system for third-party OpenClaw skills. Use when evaluating, reviewing, or installing any skill from ClawHub or external sources. Automatically triggered before any skill installation.

aiwithabidi 4473

Model Intel

Live LLM model intelligence and pricing from OpenRouter

aiwithabidi 4473

deep-search

Multi-tier Perplexity search with Langfuse tracing. Three depth levels: quick (sonar), pro (sonar-pro), deep (sonar-reasoning-pro). Supports focus modes: internet, academic, news, youtube, reddit. Returns AI-synthesized answers with citations. Use for research, comparisons, market analysis, fact-checking. Triggers: search, research, look up, find out, compare, what is, deep search, web research.

aiwithabidi 4473

amplitude

Amplitude product analytics — track events, analyze user behavior, run cohort analysis, manage user properties, and query funnel/retention data via the Amplitude API. Understand product usage, measure feature adoption, and analyze user journeys. Built for AI agents — Python stdlib only, zero dependencies. Use for product analytics, user behavior tracking, funnel analysis, retention analysis, and cohort segmentation.

aiwithabidi 4473