dex-rollback
Skill509 starsChanged 3 months agoMITView on GitHub
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`.
In this repository153 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .claude/plugins/compound-engineering/CLAUDE.mdCLAUDE.md
- .cursor/rules/search-routing.mdcCursor rule
- anthropic-algorithmic-artSkill
- anthropic-brand-guidelinesSkill
- anthropic-doc-coauthoringSkill
- anthropic-docxSkill
- anthropic-frontend-designSkill
- anthropic-internal-commsSkill
- anthropic-mcp-builderSkill
- anthropic-pptxSkill
- anthropic-slack-gif-creatorSkill
- anthropic-theme-factorySkill
- anthropic-webapp-testingSkill
- anthropic-web-artifacts-builderSkill
- anthropic-xlsxSkill
- atlassian-setupSkill
- backup-nowSkill
- backup-restoreSkill
- backup-setupSkill
- calendar-setupSkill
- commitmentsSkill
- create-mcpSkill
- daily-planSkill
- daily-reviewSkill
- decision-logSkill
- delegate-checkSkill
- dex-backlogSkill
- dex-doctorSkill
- dex-improveSkill
- dex-obsidian-setupSkill
- dex-updateSkill
- dex-whats-newSkill
- diff-profileSkill
- enable-semantic-searchSkill
- getting-startedSkill
- goal-backlogSkill
- google-workspace-setupSkill
- granola-setupSkill
- identity-snapshotSkill
- industry-truthsSkill
- initiative-kickoffSkill
- integrate-mcpSkill
- journalSkill
- manage-capabilitiesSkill
- meeting-closeoutSkill
- meeting-prepSkill
- ms-teams-setupSkill
- pipedrive-setupSkill
- pipeline-syncSkill
- process-meetingsSkill
- product-briefSkill
- project-healthSkill
- prompt-improverSkill
- relationship-radarSkill
- reviewSkill
- save-insightSkill
- scrapeSkill
- skill-scoreSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 18 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when someone wants to undo a Dex adoption.
- Very specific: line 14
Every rewind goes through core.lifecycle.service version 1.0.0.
- Distinctive: line 16
Use the service in this order:
- Very specific: line 18
Ask read_lifecycle_state for the verified ledger and retention state.
- Distinctive: line 22
Ask for explicit confirmation of that exact adoption and file list.
- Very specific: line 24
Ask read_lifecycle_state again and render the rewind receipt and resulting state.
- Distinctive: line 33
when the lifecycle ledger recorded it, if the state provides that time.
- Distinctive: line 47
Do not call a receipt rewindable unless the verified state says its receipt and retained snapshot pass preflight.
- Distinctive: line 51
Before requesting the rewind, show every affected path and say what the service will do:
- Distinctive: line 54
remove only files that this receipt proves the adoption created.
- Distinctive: line 55
leave later user changes untouched by refusing if receipt-owned files drifted.
- Distinctive: line 59
Ask one direct question: “Rewind this exact adoption?” Confirmation of an item name alone is insufficient if the receipt or file list has …
- Very specific: line 63
After rewind_adoption_by_receipt succeeds, render:
- Distinctive: line 67
every restored or removed receipt path.
- Distinctive: line 72
Use language such as:
- Distinctive: line 76
Never claim success unless the service returned a rewind receipt and the refreshed lifecycle state verifies the item is no longer adopted.
- Distinctive: line 80
Never perform or recommend raw vault file operations.
- Distinctive: line 81
Never use source-control history as a substitute for a lifecycle receipt.
- Distinctive: line 82
Never alter a receipt, acknowledgement token, transaction identifier, or path list.
- Distinctive: line 83
Never rewind more than the chosen receipt proves.
- Distinctive: line 84
Never overwrite a file that changed after adoption.
- Distinctive: line 85
If no receipt is rewindable, say so plainly and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Generated from `.claude/skills/dex-rollback/SKILL.md` by `scripts/generate-agents-skills.py`. Do not edit. -->Dex Rollback
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.
The one route
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:
- Ask
read_lifecycle_statefor the verified ledger and retention state. - Render the adopted items that have receipt-backed rewind evidence.
- Let the user choose exactly one adoption receipt.
- Show the receipt’s transaction identifier and complete file list.
- Ask for explicit confirmation of that exact adoption and file list.
- Pass the unchanged adoption receipt and its exact acknowledgement token to
rewind_adoption_by_receipt. - Ask
read_lifecycle_stateagain 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.
Choice view
For each rewindable adoption, show:
- item names and versions;
- when the lifecycle ledger recorded it, if the state provides that time;
- adoption transaction identifier;
- number of receipt-declared files;
- whether the retained snapshot is still available;
- whether any adopted file has drifted since adoption.
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.
A version update appears as dex-release at the installed version. Treat it
the same as any other receipt-backed item: it is rewindable only when the
verified state says its receipt and retained snapshot pass preflight.
Do not call a receipt rewindable unless the verified state says its receipt and retained snapshot pass preflight.
Confirmation
Before requesting the rewind, show every affected path and say what the service will do:
- restore the exact pre-adoption bytes for files that existed;
- remove only files that this receipt proves the adoption created;
- leave later user changes untouched by refusing if receipt-owned files drifted;
- perform the rewind as a new crash-safe transaction;
- record a new rewind receipt rather than erasing history.
Ask one direct question: “Rewind this exact adoption?” Confirmation of an item name alone is insufficient if the receipt or file list has changed.
Result view
After rewind_adoption_by_receipt succeeds, render:
- original adoption transaction identifier;
- new rewind transaction identifier;
- every restored or removed receipt path;
- snapshot reference for the rewind transaction;
- verified post-rewind lifecycle state;
- current retention warning, if any.
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.
Boundaries
- Never perform or recommend raw vault file operations.
- Never use source-control history as a substitute for a lifecycle receipt.
- Never alter a receipt, acknowledgement token, transaction identifier, or path list.
- Never rewind more than the chosen receipt proves.
- Never overwrite a file that changed after adoption; render the refusal and route the decision back to the user.
- If no receipt is rewindable, say so plainly and stop.
The user chooses the receipt. The skill explains the consequence. The lifecycle service owns the mutation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

