cli-backup-sync 精选
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
安装方式
cp -r skills/cli-backup-sync ~/.claude/skills/cli-backup-sync把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/diegosouzapw/OmniRoute/7f3cbb046b3706bf0bbc047b7eaa0cbada8d9e50/skills/cli-backup-sync/SKILL.md下载后另存为 ~/.claude/skills/cli-backup-sync/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git
依赖与权限
- 无需 API Key
- 无需联网
- 依赖外部命令:
npmnpx - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Overview
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
backup
Example:
omniroute backup
backup create
Flags:
--name <name>--cloud--encrypt--key-file <path>--exclude <pattern>--retention <n>
Example:
omniroute backup create
backup auto
Example:
omniroute backup auto
backup enable
Flags:
--cron <expr>--cloud--encrypt--retention <n>
Example:
omniroute backup enable
backup disable
Example:
omniroute backup disable
backup status
Example:
omniroute backup status
backup restore [backupId]
Flags:
--list--yes
Example:
omniroute backup restore [backupId]
task
Example:
omniroute task
cloud create
Flags:
--title <t>--prompt <p>--prompt-file <path>--repo <url>--branch <b>--metadata <json>
Example:
omniroute cloud create
cloud list
Flags:
--status <s>--limit <n>
Example:
omniroute cloud list
cloud get <taskId>
Example:
omniroute cloud get <taskId>
cloud status <taskId>
Example:
omniroute cloud status <taskId>
cloud cancel <taskId>
Flags:
--yes
Example:
omniroute cloud cancel <taskId>
cloud approve <taskId>
Example:
omniroute cloud approve <taskId>
cloud message <taskId> <message>
Example:
omniroute cloud message <taskId> <message>
cloud sources <taskId>
Example:
omniroute cloud sources <taskId>
cloud cloud
Example:
omniroute cloud cloud
cloud agents
Example:
omniroute cloud agents
cloud auth
Flags:
--no-browser--timeout <ms>
Example:
omniroute cloud auth
sync
Example:
omniroute sync
sync push
Flags:
--target <t>--bundle <list>--dry-run
Example:
omniroute sync push
sync pull
Flags:
--source <s>--merge--replace--dry-run
Example:
omniroute sync pull
sync diff
Flags:
--source <s>--target <t>
Example:
omniroute sync diff
sync bundle <outPath>
Flags:
--include <list>
Example:
omniroute sync bundle <outPath>
sync import <bundlePath>
Flags:
--dry-run
Example:
omniroute sync import <bundlePath>
sync initialize
Flags:
--from-cloud
Example:
omniroute sync initialize
sync tokens
Example:
omniroute sync tokens
sync list
Example:
omniroute sync list
sync create
Flags:
--name <n>--scope <s>--ttl <duration>
Example:
omniroute sync create
sync revoke <id>
Flags:
--yes
Example:
omniroute sync revoke <id>
sync status
Example:
omniroute sync status
sync resolve
Example:
omniroute sync resolve质量与来源
- 所属仓库
- diegosouzapw/OmniRoute
- 仓库星标
- 7.6 万
- 最近更新
- 昨天
- 采集时间
- 今天
- commit
- 7f3cbb046b37
- 内容指纹
- sha256:8d93e5c28168967
- 文件路径
- skills/cli-backup-sync/SKILL.md