一键导入
sync-sessions
Full bidirectional sync — pulls from remote, stages local sessions, scans for secrets, and pushes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full bidirectional sync — pulls from remote, stages local sessions, scans for secrets, and pushes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | sync-sessions |
| description | Full bidirectional sync — pulls from remote, stages local sessions, scans for secrets, and pushes. |
To perform a full sync (pull + push):
node ./scripts/sync-engine.js sync
This command:
~/.copilot/session-state/ and ~/.claude/projects/ into the sync directoryFor background-only push (no pull, non-blocking):
node ./scripts/sync-engine.js push
To check sync status after running:
tail -5 ~/.synctx/security-audit/general.log
Removes synced session data from the local staging directory with double confirmation. All cleaned sessions are tombstoned to prevent re-sync.
Deletes a specific session from the sync repository. Requires double confirmation before deletion.
Lists all synced AI CLI sessions. Pulls latest from remote first, then displays.
Prune old synced sessions that exceed a retention period.
Restores a previous AI CLI session — either hot-loads into current context or prepares for /resume.
Shows the current status of Synctx — sync directory, audit log, prerequisites, and CLI paths.