一键导入
prune-sessions
Prune old synced sessions that exceed a retention period.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prune old synced sessions that exceed a retention period.
用 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.
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.
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.
基于 SOC 职业分类
| name | prune-sessions |
| description | Prune old synced sessions that exceed a retention period. |
Prune old synced sessions that exceed a retention period.
synctx prune --days <N> where N is the number of days (default: 90)synctx prune --days <N> --cli copilot or --cli claudesynctx prune --days 30synctx prune --cli copilotsynctx prune--days value is specified