Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Rewind one receipt-backed Dex adoption through the frozen lifecycle service. Use when the user says 'undo the update', 'go back', 'that broke something after updating'. Not for applying an update; use `dex-update`.
.claude/skills/davekilleen-dex-rollback/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 11% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -42% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 3% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 12% | 0% |
Use this skill when someone wants to undo a Dex adoption. Keep the language calm and concrete. This skill selects and renders a receipt; it never restores, copies, deletes, renames, or rewrites vault files itself.
Every rewind goes through core.lifecycle.service version 1.0.0. The only mutation operation this skill may request is rewind_adoption_by_receipt. There is no manual fallback and no file-by-file workaround.
Use the service in this order:
read_lifecycle_state for the verified ledger and retention state.rewind_adoption_by_receipt.read_lifecycle_state again and render the rewind receipt and resulting state.If the snapshot has aged out, a file changed after adoption, the ledger cannot be verified, the acknowledgement does not match, or the service refuses for any other reason, stop. Explain that no files were changed. Never guess an older state from release files or version labels.
For each rewindable adoption, show:
Example register:
> I found one update that can still be undone exactly. It changed three Dex-owned files, and none of those files has changed since.
Do not call a receipt rewindable unless the verified state says its receipt and retained snapshot pass preflight.
Before requesting the rewind, show every affected path and say what the service will do:
Ask one direct question: “Rewind this exact adoption?” Confirmation of an item name alone is insufficient if the receipt or file list has changed.
After rewind_adoption_by_receipt succeeds, render:
Use language such as:
> Rollback complete. Dex restored the exact receipt-backed pre-update state in one protected transaction and kept the history visible.
Never claim success unless the service returned a rewind receipt and the refreshed lifecycle state verifies the item is no longer adopted.
The user chooses the receipt. The skill explains the consequence. The lifecycle service owns the mutation.
Other measured skills in the registry, with their headline benchmark lift.