Openclaw 可视化配置助手,提供本地/Git 备份和工作区迁移的安全向导。
Openclaw Backup Assistant (oc-tool)是一项面向实际任务的技能,主要用于🌍 English Description Below | 中文介绍在上方;这是一个纯前端的安全、可视化的 Openclaw 配置管理助手;
它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。
执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。该技能适合用于一次性任务,也可以接入自动化工作流,与其他技能或上层代理配合完成更完整的业务链路;在组合使用时,应明确每一步的输入输出关系,并避免不同步骤之间出现参数冲突。
🌍 English Description Below | 中文介绍在上方
这是一个纯前端的安全、可视化的 Openclaw 配置管理助手。它旨在帮助用户管理 Openclaw 的配置备份、Agent 灵魂文件(MEMORY/SOUL/IDENTITY)以及系统环境迁移。
openclaw.json、MEMORY.md)的 cp/rsync 命令,防止数据丢失。所有命令均需手动执行。oc(智能代理启动)、oc-save(备份当前环境及自定义文件)、oc-rec(一键恢复设定版本)等常用指令的文本示例,方便在终端中手动使用。api.github.com 接口外,不存在任何向第三方服务器发送请求的代码。可断网运行以验证安全性。api.github.com 接口调用(仓库验证 + 文件写入)。Token 保存在浏览器 sessionStorage 中,关闭标签页后自动清除,绝不写入 localStorage,绝不发送至任何第三方服务器。强烈建议使用仅具备目标仓库 Contents: Read and Write 权限的 fine-grained PAT。oc() 命令使用原生 macOS scutil --proxy 配合 awk 读取系统代理配置,为只读操作,无 node -e、无 eval、无动态代码执行。sed、rsync、cp、git 命令均以纯文本展示供您审阅,需手动复制到终端执行。工具本身不自动执行任何系统命令。写入 ~/.bash_profile 的命令带幂等检查,重复执行安全。所有流入 shell 命令的用户输入(路径名、tag、commit message、排除目录)在生成时均经过严格验证,包含非法字符时拒绝生成并提示错误。This is a frontend-only, secure, visual configuration assistant for Openclaw. It helps users manage configuration backups, Agent persona files (MEMORY/SOUL/IDENTITY), and system environment migrations.
cp/rsync commands targeting specific, user-selected files (e.g. openclaw.json, MEMORY.md). No files are read or copied automatically — all generated commands require manual review and execution in your terminal.oc (smart proxy startup), oc-save (backup current environment & custom files), and oc-rec (restore specific versions).api.github.com when you explicitly opt into Git mode. You can verify offline safety by opening DevTools > Network — zero requests without a GitHub token.api.github.com calls: GET /repos/{owner}/{repo} (verify access) and PUT /repos/{owner}/{repo}/contents/{path} (write backup). The token is stored in sessionStorage only — it is automatically cleared when the tab is closed and is never written to localStorage. We recommend a fine-grained PAT scoped to Contents: Read and Write on the target repo only.oc() command detects system proxy using native macOS scutil --proxy piped through awk. No node -e, no eval, no dynamic code execution. Read-only syscall only.sed, rsync, cp, and git commands displayed as plaintext for your review. No commands are auto-executed. The bash_profile write command includes an idempotent guard (OC_TOOL_BLOCK marker check) — safe to run multiple times. All user inputs that flow into generated shell commands (paths, tags, commit messages, rsync excludes) are validated at generation time; inputs containing shell metacharacters are rejected with a visible error.After installation, open the file below in your browser.
If installed to a custom workspace, replace ~/.openclaw/skills with your workspace path.
安装完成后,用浏览器打开以下文件。如安装在自定义 workspace 下,请将路径替换为对应目录。
~/.openclaw/skills/octool/oc-tool.html
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习
最新文章