byted-tos-openclaw-backup

byted-tos-openclaw-backup is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 67 tokens per session (1,900 once invoked), scanned A, original, Apache-2.0.

A backup tool for OpenClaw that copies its configuration, skill source files, and memory data to a mounted TOS cloud storage bucket, organizing each backup by date.

In plain words
What is it for?
Use it to create or restore OpenClaw environment backups, including configuration, skills, and memory data.
Why use it?
It keeps important OpenClaw files in persistent storage and leaves out dependency folders and executable files that are not needed for restoring the environment.

Skill for Claude CodeCodex ✓ vendor

Which agent this was written for is unclear — built for openclaw. Also seen: mentions AGENTS.md; built for openclaw.

Good fit Use it to create or restore OpenClaw environment backups, including configuration, skills, and memory data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-tos-openclaw-backup
About the project

bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.

bytedance/agentkit-samples · 450 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bytedance/agentkit-samples --skill byted-tos-openclaw-backup
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for byted-tos-openclaw-backup

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-openclaw-backup/github.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-openclaw-backup)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-openclaw-backup"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-openclaw-backup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for byted-tos-openclaw-backup

Your own site · 80×15
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-openclaw-backup"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-openclaw-backup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,900 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01900
Opus 5 $0.00034 $0.00950
Sonnet 5 $0.00013 $0.00380
Haiku 4.5 $0.00007 $0.00190

Measured 6d ago against content hash 7f4bd879fe41, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

byted-tos-openclaw-backup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/backup.sh, scripts/config.sh, scripts/list_backups.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/byted-tos-openclaw-backup/SKILL.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenClaw 自动备份技能

此技能帮助你自动备份OpenClaw的核心配置、技能源码和记忆数据到挂载的TOS网盘,按日期创建备份目录,自动跳过依赖目录和大体积可执行文件。

何时使用

当用户要求执行以下操作时使用此技能:

  • "备份OpenClaw配置"
  • "备份技能文件"
  • "备份到网盘"
  • "创建系统备份"
  • "定期备份"

备份策略

备份内容

  1. 核心配置文件:工作区根目录下所有MD文档(AGENTS.md, SOUL.md, USER.md等)
  2. 系统配置/root/.openclaw/config/目录下的JSON/YAML/ENV/conf等配置文件,跳过二进制文件
  3. 技能文件:扩展技能和工作区技能的源码文件(JS/TS/PY/MD/JSON/YAML/SH),自动跳过以下目录:
    • node_modules/
    • venv/
    • __pycache__/
    • dist/
    • build/
  4. 记忆数据/root/.openclaw/workspace/memory/目录下的所有记忆文件

存储结构

my-bucket/
└── openclaw_backup/
    ├── 2026-03-11/
    │   ├── *.md                    # 核心配置文件
    │   ├── config/                 # 系统配置
    │   ├── skills/
    │   │   ├── extensions/         # 扩展技能源码
    │   │   └── workspace/          # 工作区技能源码
    │   ├── memory/                 # 记忆数据
    │   ├── backup_summary.txt      # 备份统计信息
    │   └── backup_manifest.txt     # 完整文件清单
    └── 2026-03-12/
        └── ...

指令

1. 执行完整备份

运行备份脚本自动完成所有备份操作:

scripts/backup.sh

输出示例:

🔍 检测可用网盘...
✅ 自动选择存储桶: my-bucket (/root/.openclaw/workspace/my-bucket)
ℹ️  所有可用存储桶:
  - my-bucket: /root/.openclaw/workspace/my-bucket
💡 如需固定使用某个存储桶,请运行: bash scripts/config.sh <存储桶名称>

📂 创建备份目录: /root/.openclaw/workspace/my-bucket/openclaw_backup/2026-03-11

📝 备份核心配置文件 (MD文档)...
✅ 核心配置文件备份完成 (7 个文件)

⚙️  备份系统配置 (仅配置文件,跳过二进制)...
🔍 扫描系统配置子目录...
✅ 备份目录: agents (大小: 228K, 文件数: 5)
✅ 备份目录: canvas (大小: 8.0K, 文件数: 1)
✅ 备份目录: completions (大小: 460K, 文件数: 4)
✅ 备份目录: cron (大小: 12K, 文件数: 2)
⚠️  跳过目录: extensions (大小: 2.4G, 文件数: 67554 - 超过阈值)
✅ 备份目录: identity (大小: 8.0K, 文件数: 1)
⚠️  跳过目录: logs (排除列表)
✅ 备份目录: memory (大小: 44K, 文件数: 5)
⚠️  跳过目录: workspace (排除列表)
✅ 系统配置备份完成 (21 个文件)

🔧 备份技能文件 (仅源码文件,跳过node_modules等依赖目录)...
✅ 技能文件备份完成

🧠 备份记忆数据...
ℹ️  记忆目录不存在,跳过记忆数据备份
✅ 记忆数据备份完成

📊 生成备份统计...

✅ 备份完成!
📦 备份桶: my-bucket
📂 备份路径: openclaw_backup/2026-03-11
📄 备份文件数: 463
💾 总大小: 3.6M

📋 备份摘要已保存到: backup_summary.txt
📑 完整文件清单已保存到: backup_manifest.txt

Read the full file on GitHub · 197 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 197 lines · 67 tokens per session scan A 7f4bd879fe41

Subscribe to this mod's changes

byted-tos-openclaw-backup is a skill published in the GitHub repository bytedance/agentkit-samples (450 stars, last pushed 5d ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,900 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

claw-admin

Claw system administration: service management, IM connections, logs, cron, and workspace diagnostics. Use when the user asks to manage claw services, connect/disconnect IM platforms, view logs, or perform system-wide operations.

x-cmd/x-cmd · 48 tokens

x-lsof

Enhanced lsof (List Open Files) with interactive UI and structured output. View open files, network connections, and processes. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 64 tokens

x-nets

Enhanced netstat module with cached data and structured output. View network connections, routing tables, and interface statistics in interactive or TSV/CSV formats. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 69 tokens

install

Install software any way the system allows. Recommends x install — one front door listing every method and picking the best; plus x eget/x env use/x pixi channels and system package managers with mirror switching. All x-cmd channels install in $HOME — no sudo, no pollution. Use for "install", "apt", "brew", "eget"…

x-cmd/x-cmd · 99 tokens

latchbio-integration

Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.

synthetic-sciences/openscience · 45 tokens

x-theme

Change terminal command line prompt theme. Globally manage the display style of all x-cmd interactive components. Supports multiple theme vendors: theme, starship, ohmyposh. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 74 tokens