원클릭으로
delete-session
Deletes a specific session from the sync repository. Requires double confirmation before deletion.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Deletes a specific session from the sync repository. Requires double confirmation before deletion.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | delete-session |
| description | Deletes a specific session from the sync repository. Requires double confirmation before deletion. |
To delete a session:
First list available sessions so the user can identify which one to delete:
node ./scripts/sync-engine.js list
Or check tagged sessions:
node ./scripts/sync-engine.js tags
Ask the user which session they want to delete. They can provide the full UUID, a partial ID, a tag name, or "current" for the most recent active session.
Run the delete command — it will prompt for double confirmation automatically:
node ./scripts/sync-engine.js delete <session-id-or-tag>
To target a specific CLI:
node ./scripts/sync-engine.js delete <session-id-or-tag> --cli copilot
node ./scripts/sync-engine.js delete <session-id-or-tag> --cli claude
The user must type "yes" twice to confirm. Do NOT bypass this.
The deletion is committed and pushed to the remote sync repository.
The deleted session is tombstoned — it will not be re-synced from other machines. Any tags pointing to the session are automatically released.
Important: Always show the user what will be deleted (CLI, session name, size, tags) before proceeding.
Removes synced session data from the local staging directory with double confirmation. All cleaned sessions are tombstoned to prevent re-sync.
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.