with one click
prune-sessions
Prune old synced sessions that exceed a retention period.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Prune old synced sessions that exceed a retention period.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
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.
| 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