搜索

PythonReactSEOPDF
OpenClaw

claw-sync

Secure sync for OpenClaw memory and workspace. Use /sync to push, /restore to pull, /sync-status to check. Supports versioned backups and disaster recovery.

arakichanxd0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install arakichanxd/claw-sync

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Claw Sync

Secure, versioned sync for OpenClaw memory and workspace.

Commands

/sync

Push your memory and skills to the remote repository.

/sync              → Push and create versioned backup
/sync --dry-run    → Preview what would be synced
/restore

Restore memory and skills from the remote repository.

/restore                        → Restore latest version
/restore latest                 → Same as above
/restore backup-20260202-1430   → Restore specific version
/restore latest --force         → Skip confirmation
/sync-status

Show sync configuration and local backup info.

/sync-status
/sync-list

List all available backup versions.

/sync-list

What Gets Synced

File Description
MEMORY.md Long-term memory
USER.md User profile
SOUL.md Agent persona
IDENTITY.md Agent identity
TOOLS.md Tool configs
AGENTS.md Workspace rules
memory/*.md Daily logs
skills/* Custom skills

NOT Synced (security)

  • openclaw.json - Contains API keys
  • .env - Contains secrets

Setup Required

Create ~/.openclaw/.backup.env:

BACKUP_REPO=https://github.com/username/your-repo
BACKUP_TOKEN=ghp_your_token

Features

  • 🏷️ Versioned - Each sync creates a restorable version
  • 💾 Disaster Recovery - Local backup before every restore
  • 🔒 Secure - No config files synced, token sanitization
  • 🖥️ Cross-platform - Windows, Mac, Linux

来源信息

Source
github
Repository
openclaw/skills
Path
skills/arakichanxd/claw-sync
Version
—
Commit
34af785e80efa6f8298bf77478ecb00adef48c73
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Claw Sync

Secure, versioned sync for OpenClaw memory files and custom skills.

Features

  • 🏷️ Versioned: Each sync creates a tagged version you can restore
  • 💾 Disaster Recovery: Local backup created before every restore
  • 🔒 Secure: Config files NOT synced, URL validation, path protection
  • 🖥️ Cross-platform: Works on Windows, Mac, Linux

Quick Start

/sync              # Push to remote
/restore           # Restore latest
/sync-list         # List versions
/sync-status       # Check status

What Gets Synced

File Description
MEMORY.md Long-term memory
USER.md User profile
SOUL.md Agent persona
IDENTITY.md Agent identity
TOOLS.md Tool configurations
AGENTS.md Workspace conventions
memory/*.md Daily logs
skills/* Custom skills

NOT Synced (security)

  • openclaw.json - Contains API keys/tokens
  • .env - Contains secrets

Setup

Create ~/.openclaw/.backup.env:

BACKUP_REPO=https://github.com/yourusername/your-sync-repo
BACKUP_TOKEN=ghp_your_fine_grained_personal_access_token

All Commands

Command Description
/sync Push memory and skills to remote
/sync --dry-run Preview what would be synced
/restore Restore latest version
/restore latest Same as above
/restore backup-20260202-1430 Restore specific version
/restore --force Skip confirmation
/sync-list List all available versions
/sync-status Show config and local backups

CLI Usage

You can also run commands directly:

node index.js sync              # Push
node index.js sync --dry-run    # Preview
node index.js restore           # Restore latest
node index.js restore backup-20260202-1430   # Specific version
node index.js list              # List versions
node index.js status            # Check status

Disaster Recovery

Local backup automatically c...

来源内容

SKILL.md
# Claw Sync

Secure, versioned sync for OpenClaw memory and workspace.

## Commands

### /sync
Push your memory and skills to the remote repository.
```
/sync              → Push and create versioned backup
/sync --dry-run    → Preview what would be synced
```

### /restore
Restore memory and skills from the remote repository.
```
/restore                        → Restore latest version
/restore latest                 → Same as above
/restore backup-20260202-1430   → Restore specific version
/restore latest --force         → Skip confirmation
```

### /sync-status
Show sync configuration and local backup info.
```
/sync-status
```

### /sync-list
List all available backup versions.
```
/sync-list
```

---

## What Gets Synced

| File | Description |
|------|-------------|
| `MEMORY.md` | Long-term memory |
| `USER.md` | User profile |
| `SOUL.md` | Agent persona |
| `IDENTITY.md` | Agent identity |
| `TOOLS.md` | Tool configs |
| `AGENTS.md` | Workspace rules |
| `memory/*.md` | Daily logs |
| `skills/*` | Custom skills |

## NOT Synced (security)

- `openclaw.json` - Contains API keys
- `.env` - Contains secrets

## Setup Required

Create `~/.openclaw/.backup.env`:
```
BACKUP_REPO=https://github.com/username/your-repo
BACKUP_TOKEN=ghp_your_token
```

## Features

- 🏷️ **Versioned** - Each sync creates a restorable version
- 💾 **Disaster Recovery** - Local backup before every restore
- 🔒 **Secure** - No config files synced, token sanitization
- 🖥️ **Cross-platform** - Windows, Mac, Linux
README
# Claw Sync

Secure, versioned sync for OpenClaw memory files and custom skills.

## Features

- 🏷️ **Versioned**: Each sync creates a tagged version you can restore
- 💾 **Disaster Recovery**: Local backup created before every restore
- 🔒 **Secure**: Config files NOT synced, URL validation, path protection
- 🖥️ **Cross-platform**: Works on Windows, Mac, Linux

## Quick Start

```bash
/sync              # Push to remote
/restore           # Restore latest
/sync-list         # List versions
/sync-status       # Check status
```

## What Gets Synced

| File | Description |
|------|-------------|
| `MEMORY.md` | Long-term memory |
| `USER.md` | User profile |
| `SOUL.md` | Agent persona |
| `IDENTITY.md` | Agent identity |
| `TOOLS.md` | Tool configurations |
| `AGENTS.md` | Workspace conventions |
| `memory/*.md` | Daily logs |
| `skills/*` | Custom skills |

## NOT Synced (security)

- `openclaw.json` - Contains API keys/tokens
- `.env` - Contains secrets

## Setup

Create `~/.openclaw/.backup.env`:

```bash
BACKUP_REPO=https://github.com/yourusername/your-sync-repo
BACKUP_TOKEN=ghp_your_fine_grained_personal_access_token
```

## All Commands

| Command | Description |
|---------|-------------|
| `/sync` | Push memory and skills to remote |
| `/sync --dry-run` | Preview what would be synced |
| `/restore` | Restore latest version |
| `/restore latest` | Same as above |
| `/restore backup-20260202-1430` | Restore specific version |
| `/restore --force` | Skip confirmation |
| `/sync-list` | List all available versions |
| `/sync-status` | Show config and local backups |

## CLI Usage

You can also run commands directly:

```bash
node index.js sync              # Push
node index.js sync --dry-run    # Preview
node index.js restore           # Restore latest
node index.js restore backup-20260202-1430   # Specific version
node index.js list              # List versions
node index.js status            # Check status
```

## Disaster Recovery

Local backup automatically c...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.