Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计通过

snapshotsnapshot 搜索

Agent Skill

snapshot 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 OpenClaw 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,229

周安装

252

GitHub Stars

1

下载量

1,956
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:snapshot(snapshot 搜索)
来源仓库:https://github.com/krishbhimani/snapshot
安装命令:
openclaw skills install snapshot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install snapshot

简介

snapshot 提供 .openclaw 代理文件夹的加密备份与恢复功能。

  • 支持推送到私有 GitHub 仓库,确保配置数据安全。
  • 通过 clawhub 安装,需配置 GitHub 令牌和仓库访问权限。
  • 使用前请确认本地路径和网络连接稳定性。snapshot 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 注意备份内容包含敏感设置,务必使用私有仓库存储。

SKILL.md

name
snapshot
description
>
metadata
openclaw
requires
env
primaryEnv
BACKUP_PASSWORD

Snapshot — OpenClaw Backup & Restore

Encrypted backup and restore for the ~/.openclaw agent folder. Backups are GPG-encrypted, chunked for GitHub's 100MB file limit, and pushed to a private repo.

How it works

  • backup — tar.gz → GPG encrypt → split into ≤95MB chunks → push to GitHub
  • restore — clone repo → pick version → reassemble chunks → verify checksum → decrypt → extract
  • setup — install GPG, clone/init the GitHub transport repo

Each backup version lives in its own folder with a manifest:

backups/openclaw-{timestamp}/
├── manifest.json
├── part-000.gpg
├── part-001.gpg
└── ...

Last 10 backups are kept; older ones are auto-deleted.


Prerequisites

Before running any command, verify:

  1. GPG is installed. If not: sudo apt-get update && sudo apt-get install -y gnupg gpg-agent
  2. Credentials are configured (see below)
  3. Setup has been run at least once on this workspace: python3 scripts/setup.py

Providing credentials

The scripts need these values: BACKUP_PASSWORD, GITHUB_PAT, GITHUB_USERNAME, and optionally REPO_NAME (defaults to openclaw-transport).

Provide them via any of these methods (checked in this order):

  1. OpenClaw's env file (recommended): Add to ~/.openclaw/.env:
   BACKUP_PASSWORD=your-strong-password
   GITHUB_PAT=ghp_xxxxxxxxxxxxxxxxxxxx
   GITHUB_USERNAME=YourGitHubUsername
   REPO_NAME=openclaw-transport

Then in openclaw.json, just enable the skill:

   "skills": { "entries": { "snapshot": { "enabled": true } } }
  1. Skill-local env file: Copy env-example.txt to .env in this skill's directory and fill in values. Useful for standalone usage outside OpenClaw.
  1. Shell environment: Export the variables in your shell profile.

Commands

All scripts live in the scripts/ subdirectory of this skill.

Take a backup

python3 <skill-path>/scripts/backup.py

Non-interactive. Compresses, encrypts, chunks if needed, pushes to GitHub. Auto-deletes versions older than the most recent 10.

Restore a backup

# Restore the latest version (non-interactive, best for AI agents)
python3 <skill-path>/scripts/restore.py --latest

# Restore a specific version by timestamp
python3 <skill-path>/scripts/restore.py --version 20260227-120000

# List available versions without restoring
python3 <skill-path>/scripts/restore.py --list

# Interactive mode (prompts user to pick — use only in human-attended sessions)
python3 <skill-path>/scripts/restore.py

Run setup (first time or new workspace)

python3 <skill-path>/scripts/setup.py

Safe to run multiple times. Installs GPG if missing, clones or syncs the transport repo.


Typical workflows

Always run setup.py before backup or restore. It's idempotent (safe to run every time) and ensures GPG is installed, the transport repo exists, and the local repo is synced with GitHub. This prevents issues like missing repos, stale local state, or remotely deleted backups not being reflected locally.

"Back up my agent"

  1. Run python3 <skill-path>/scripts/setup.py
  2. Run python3 <skill-path>/scripts/backup.py
  3. Report the timestamp and size to the user

"Restore my agent" or "Load the latest backup"

  1. Run python3 <skill-path>/scripts/setup.py
  2. Run python3 <skill-path>/scripts/restore.py --latest
  3. Tell the user it's done and suggest restarting: openclaw gateway restart

"Show me available backups"

  1. Run python3 <skill-path>/scripts/setup.py
  2. Run python3 <skill-path>/scripts/restore.py --list
  3. Present the version list to the user

"Set up backups on this new workspace"

  1. Confirm the user has a .env file with credentials (help them create one from env-example.txt if not)
  2. Run python3 <skill-path>/scripts/setup.py

"Restore a specific version"

  1. Run python3 <skill-path>/scripts/setup.py
  2. Run python3 <skill-path>/scripts/restore.py --list to show available versions
  3. Ask the user which timestamp they want
  4. Run python3 <skill-path>/scripts/restore.py --version <timestamp>

Important notes

  • All .env files are excluded from backups — both ~/.openclaw/.env (OpenClaw root secrets) and the skill's own .env. Credentials never end up in encrypted archives.
  • The transport repo (~/openclaw-transport/) lives outside .openclaw and is not backed up.
  • The skill scripts themselves are backed up as part of .openclaw.
  • WhatsApp sessions are excluded (workspace-specific). User must reconnect after restore.
  • After restoring, the user should restart their agent: openclaw gateway restart

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.81%
按下载量换算1,561

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install snapshot 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills