louzhixian

Git-Crypt Backup

IT運用・セキュリティv1.0.0
作者:louzhixian更新日 2026-05-18git-crypt-backup@clawhub_louzhixian/git-crypt-backup
サーバー運用DevOps#Backup#Git#GitHub

AlphaMoatによると、2026-09時点でGit-Crypt Backupのダウンロード数は4,630、スター数は2で、AIスキル全体5,078件中2,059位、IT運用・セキュリティでは264件中108位です。

インストール数
214
ダウンロード数
4630
スター数
2
総合順位
#2,059
全体の上位 41% · IT運用・セキュリティの上位 41%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗15345532-
SkillHub ↗21446302—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

自動または手動のバックアップと復元を説明し、ワークスペースと設定をGitHubに保存して機密ファイルを暗号化する。リポジトリと暗号化の設定が必要で、ここでデータをバックアップ・復元したことを意味しない。 GitHubにはバックアップのリポジトリ内容が送信されます。push前に保存先とgit-crypt設定を確認し、秘密情報を平文で含めないでください。

資料公開日 2026-10-27

できること

  • ワークスペースのバックアップ手順を計画する
  • 暗号化バックアップと復元の手順を整理する

使う場面

  • Clawdbotのワークスペースをバックアップするとき
  • 暗号化バックアップの設定と復旧を確認するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

このワークスペースをバックアップし、機密ファイルを暗号化する方法を説明して
バックアップを復元する前に確認する項目を挙げて

月次の推移

ダウンロード数4630
3046389747472026-03 · ダウンロード数 31632026-05 · ダウンロード数 38252026-06 · ダウンロード数 39722026-07 · ダウンロード数 42292026-08 · ダウンロード数 43982026-09 · ダウンロード数 463026-0326-09
スター数2
1232026-03 · スター数 22026-05 · スター数 22026-06 · スター数 22026-07 · スター数 22026-08 · スター数 22026-09 · スター数 226-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094630—2
2026-084398+4.0%2
2026-074229+6.5%2
2026-063972+3.8%2
2026-053825—2
2026-033163—2

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.8 KB・ClawHub v1.0.0
---
name: git-crypt-backup
description: Backup Clawdbot workspace and config to GitHub with git-crypt encryption. Use for daily automated backups or manual backup/restore operations.
---

# Git-Crypt Backup

Automated backup of Clawdbot workspace (`~/clawd`) and config (`~/.clawdbot`) to GitHub with sensitive files encrypted via git-crypt.

## Setup
すべて表示(全 121 行)

### 1. Create GitHub repos (private recommended)

```bash
# Create two private repos on GitHub:
# - <username>/clawdbot-workspace
# - <username>/clawdbot-config
```

### 2. Initialize git-crypt

```bash
# Install git-crypt
brew install git-crypt  # macOS
# apt install git-crypt  # Linux

# Workspace repo
cd ~/clawd
git init
git-crypt init
git remote add origin [email protected]:<username>/clawdbot-workspace.git

# Config repo
cd ~/.clawdbot
git init
git-crypt init
git remote add origin [email protected]:<username>/clawdbot-config.git
```

### 3. Configure encryption

**Workspace `.gitattributes`:**
```
SOUL.md filter=git-crypt diff=git-crypt
USER.md filter=git-crypt diff=git-crypt
HEARTBEAT.md filter=git-crypt diff=git-crypt
MEMORY.md filter=git-crypt diff=git-crypt
memory/** filter=git-crypt diff=git-crypt
```

**Config `.gitattributes`:**
```
clawdbot.json filter=git-crypt diff=git-crypt
.env filter=git-crypt diff=git-crypt
credentials/** filter=git-crypt diff=git-crypt
telegram/** filter=git-crypt diff=git-crypt
identity/** filter=git-crypt diff=git-crypt
agents/**/sessions/** filter=git-crypt diff=git-crypt
nodes/** filter=git-crypt diff=git-crypt
```

**Config `.gitignore`:**
```
*.bak
*.bak.*
.DS_Store
logs/
media/
browser/
subagents/
memory/
update-check.json
*.lock
```

### 4. Export keys (important!)

```bash
mkdir -p ~/clawdbot-keys
cd ~/clawd && git-crypt export-key ~/clawdbot-keys/workspace.key
cd ~/.clawdbot && git-crypt export-key ~/clawdbot-keys/config.key
```

⚠️ **Store these keys securely** (1Password, iCloud Keychain, USB drive, etc.)

### 5. Initial commit & push

```bash
cd ~/clawd && git add -A && git commit -m "Initial backup" && git push -u origin main
cd ~/.clawdbot && git add -A && git commit -m "Initial backup" && git push -u origin main
```

## Daily Backup

Run `scripts/backup.sh`:

```bash
~/clawd/skills/git-crypt-backup/scripts/backup.sh
```

Or set up a cron job for automatic daily backups.

## Restore on New Machine

```bash
# 1. Clone repos
git clone [email protected]:<username>/clawdbot-workspace.git ~/clawd
git clone [email protected]:<username>/clawdbot-config.git ~/.clawdbot

# 2. Unlock with keys
cd ~/clawd && git-crypt unlock /path/to/workspace.key
cd ~/.clawdbot && git-crypt unlock /path/to/config.key
```

## What Gets Encrypted

| Repo | Encrypted | Plain |
|------|-----------|-------|
| workspace | SOUL/USER/HEARTBEAT/MEMORY.md, memory/** | AGENTS.md, IDENTITY.md, TOOLS.md, drafts/** |
| config | clawdbot.json, .env, credentials/**, sessions/** | cron/jobs.json, settings/** |

IT運用・セキュリティの人気スキル

SkillScanIT運用・セキュリティ

使う前にスキルパッケージの安全性を調べ、結果に応じて導入を止めるスキルです。

↓ 18.2万★ 41tokauthai
Free Ride - Unlimited free AIIT運用・セキュリティ

Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...

↓ 9.7万★ 485Shaishav Pidadi
OpenClaw BackupIT運用・セキュリティ

OpenClaw の設定、資格情報、ワークスペースをバックアップし復元するスキルです。

↓ 3.5万★ 93alex3alex
1passwordIT運用・セキュリティ

1Password CLI でシークレットを扱うための設定と使い方です。

↓ 3.5万★ 53Peter Steinberger
MoltGuard - Security & Antivirus & GuardrailsIT運用・セキュリティ

プロンプト注入や危険なコマンドを検出すると説明されている OpenClaw 用セキュリティプラグインです。

↓ 3.4万★ 116Thomas
TmuxIT運用・セキュリティ

tmux セッションを遠隔操作し、対話型 CLI にキーを送って出力を取得します。

↓ 3.3万★ 46Peter Steinberger
Security AuditorIT運用・セキュリティ

アプリケーションセキュリティ技術者の視点でコードと構成を監査します。

↓ 3万★ 51jgarrison929
Tencent COSIT運用・セキュリティ

Tencent Cloud のオブジェクトストレージとデータ処理サービスを管理するスキルです。

↓ 2.7万★ 15u_23a69fa7

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。