360 Secure SkillHub
360 安全技能中心

amber

该技能通过 scripts/backup.py 读取含安全标签和绝对源路径的主机 JSON,先执行无写入预览,再在用户授权后把选定的本地 Claude 与 Codex 会话存储复制到新的私有目标目录。源目录只读,已有备份不覆盖或删除,不包含远程 SSH 传输。

antreasantoniou
antreasantoniou
热度 11.20
最近更新 2026-09-12 02:53:54
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add amber-agent-skill
Metadata
name
amber
description
Back up selected local Claude and Codex session stores additively into an explicitly chosen private destination, with a no-write preview.

Amber

Resolve an explicit hosts JSON file and destination with the user. Each host has a safe label and an absolute local source_root. Run scripts/backup.py with --hosts, --destination and --dry-run first; inspect the JSON result. Only run without --dry-run after the user authorizes backup writes. Sources are read-only. Existing backup files are never replaced or deleted. This preserves first-seen bytes, not later changes to growing session files. For EVERY refresh, choose a new private destination (for example a dated snapshot directory), preview it, and then back up into that fresh directory. Do not reuse a destination and claim growing transcripts were refreshed. Treat outputs as private. Credential filename exclusions cannot remove secrets embedded in transcript content. Do not publish or commit raw backups. Inspect partial/failed results and stop for user direction rather than claiming success. Remote SSH transfer is not included: use explicitly mounted local sources or a separately authorized transport.