ワンクリックで
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 ページを確認してインストールできます。
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.
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.