一键导入
clean-sessions
Removes synced session data from the local staging directory with double confirmation. All cleaned sessions are tombstoned to prevent re-sync.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Removes synced session data from the local staging directory with double confirmation. All cleaned sessions are tombstoned to prevent re-sync.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
Full bidirectional sync — pulls from remote, stages local sessions, scans for secrets, and pushes.
| name | clean-sessions |
| description | Removes synced session data from the local staging directory with double confirmation. All cleaned sessions are tombstoned to prevent re-sync. |
To clean the local staging directory:
node ./scripts/sync-engine.js clean
This will prompt the user for double confirmation because it deletes synced data from:
~/.synctx/github-copilot/~/.synctx/claude/The user must type "yes" twice to proceed.
Important: