Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

molt-backup蜕皮备份

Agent Skill

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

总安装

3,246

周安装

138

GitHub Stars

公开资料未说明

下载量

1,137
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install molt-backup

简介

备份OpenClaw核心记忆文件至异地Git仓库。

  • 类似龙虾蜕壳机制,保障知识资产安全。molt-backup 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 自动快照AGENTS.md、SOUL.md等关键文档。
  • 安装命令:openclaw skills install molt-backup。
  • 需配置远程仓库地址与认证信息方可生效。

SKILL.md

name
molt-backup
description
Snapshot and back up OpenClaw brain files (AGENTS.md, SOUL.md, MEMORY.md, memory/, etc.) to an offsite git repository — like a lobster shedding its shell, leaving behind a perfect copy before growing. Use when asked to back up the brain, run a molt, snapshot memory offsite, or schedule/manage brain backups. Also use when setting up or configuring the molt cron job.

molt

Snapshots OpenClaw brain files to a remote git repo — a perfect copy of who you were before you grow. Idempotent — only commits when something changed.

Security Model

molt sends files only to a git repository you control — no third-party servers, no telemetry, no hidden destinations. The target repo is set explicitly by you via MOLT_REPO_URL or --repo-url.

Sensitive fields are redacted before backup using openclaw config get, which is the authoritative redaction source built into OpenClaw itself. The redacted config is the only file containing config data — raw openclaw.json is never copied.

This is an intentional, user-initiated backup tool. You own the destination.

Requirements

  • git — must be installed and on $PATH
  • Git authentication — the script uses git clone / git push over HTTPS or SSH. You need credentials configured for the remote:

- SSH (recommended): add your SSH key to GitHub/GitLab; use a git@github.com:... repo URL - HTTPS with token: configure a credential helper or use a token in the URL (https://<token>@github.com/...) - gh CLI is not required — molt uses plain git only

  • rsync — used for memory/ sync; standard on macOS and most Linux distros
  • Write access to the remote repo — the pushing account needs push rights; a dedicated private repo is recommended

No other dependencies. No OpenClaw-specific CLI tools needed at runtime.

Zero-to-Working Setup

  1. Create a private remote repo (GitHub, GitLab, etc.) — e.g. your-org/your-brain
  2. Ensure git auth works for that repo from the machine running OpenClaw:
   ssh -T git@github.com   # for SSH — should greet you by name
  1. Run molt once with the repo URL:
   MOLT_REPO_URL=git@github.com:your-org/your-brain.git \
     ~/.openclaw/workspace/marv-skills/molt/scripts/molt.sh

This clones the repo to ~/.openclaw/molt, copies brain files, commits, and pushes.

  1. Schedule it — add a cron job or ask your assistant to set one up via openclaw cron.

After the first run, the MOLT_REPO_URL env var is no longer needed (the local clone already knows its remote).

What Gets Backed Up

  • AGENTS.md, SOUL.md, TOOLS.md, IDENTITY.md, USER.md, HEARTBEAT.md, MEMORY.md
  • memory/ directory (daily notes)
  • cron-jobs/ — exported live from openclaw cron list at backup time (JSON + Markdown summary)
  • config-redacted.json — OpenClaw config with all secrets/tokens replaced by [REDACTED]

Config

Set via environment variables or pass as flags:

Env varFlagDefaultDescription
MOLT_WORKSPACE--workspace~/.openclaw/workspaceSource workspace
MOLT_DIR--backup-dir~/.openclaw/moltLocal backup repo clone
MOLT_REPO_URL--repo-url_(required on first run)_Remote git repo URL
MOLT_EXTRA_DIRS--extra-dirs_(none)_Comma-separated workspace subdirs to include (e.g. scripts,notes)

Running

# First run (clones the repo):
MOLT_REPO_URL=https://github.com/your-org/your-brain-repo.git \
  scripts/molt.sh

# Subsequent runs (repo already cloned):
scripts/molt.sh

# Dry run (see what would change without pushing):
scripts/molt.sh --dry-run

Scheduling

To schedule automatic backups, create a cron job pointing at this script. Example for every 6 hours:

0 */6 * * * MOLT_DIR=~/.openclaw/molt ~/.openclaw/workspace/marv-skills/molt/scripts/molt.sh >> /tmp/molt.log 2>&1

Or use openclaw cron to schedule via the assistant.

First-Time Setup

  1. Create the remote repo (GitHub, GitLab, etc.)
  2. Set MOLT_REPO_URL to the repo URL
  3. Run the script once — it will clone and push
  4. On subsequent runs, only env var MOLT_DIR is needed (defaults to ~/.openclaw/molt)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

97.93%
按下载量换算1,113

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills