reversible-system-change
Skill3 starsChanged 4 months agoMITView on GitHub
Plan, prepare recovery material, rehearse, or execute persistent system changes with verified rollback and postconditions. Use for an install, upgrade, deployment, migration, destructive retention action, active-version promotion, or explicit machine-credential lifecycle inventory, plan, activation, or retirement with rollback, data, service, or activation risk. Plans and non-mutating workflow rehearsals stay read-only; recovery preparation and isolated restore rehearsals require bounded write authority. Pair with confirm-external-action when the same request also causes a consequential external app or account effect. Do not use for ordinary source/configuration edits, Git operations, generic status queries, or conceptual explanations. When installation or deployment and architecture work are mutually exclusive alternatives, clarify before routing; do not select a different write scope on the user's behalf.
In this repository10 other files it gives its agents.
- agent-plugin-architectSkill
- agents-architectSkill
- clarify-intentSkill
- confirm-external-actionSkill
- delegate-simple-taskSkill
- optimize-codex-usageSkill
- review-axiom-taskSkill
- task-planningSkill
- traceable-git-submitSkill
- using-axiomSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Keep recovery-material preparation, isolated restore rehearsal, candidate preparation, active promotion, service restart/reload, data …
- Distinctive: line 64
Before candidate or active-state mutation, require a rollback point that represents the observed prior state and covers every …
- Very specific: line 78
Keep identified, present, readable, restore-validated, and rehearsed as distinct evidence states.
- Distinctive: line 95
Verify every relevant materialization, selection, runtime, delivery, behavior, and preservation layer with fresh direct evidence.
- Distinctive: line 107
After resume or compaction, reobserve the target and drift-sensitive state, then fail closed unless host-native task context and current …
- Distinctive: line 115
Never adopt post-change state as the prior rollback baseline.
- Distinctive: line 129
Delete other candidate or rollback material only under explicit cleanup authority after required postconditions pass and another required …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Reversible System Change
Make one authorized persistent change without losing the ability to identify, restore, and verify the prior working state.
Select One Phase
- Explicit machine-credential lifecycle: read
../using-axiom/references/credential-lifecycle.mdfirst. A metadata-only inventory stops there. For persistent activation, rollout, retirement, or cleanup, continue into the applicable phase below; provider-side creation, revocation, or secret disclosure also loadsconfirm-external-actionunder an independent envelope. - Plan or non-mutating workflow rehearsal: read
references/preflight-and-rollback.md. Keep the entire phase read-only; do not create a candidate, backup, capsule, cache, remote record, or sensitive content access. - Prepare missing recovery material: read
references/preflight-and-rollback.mdandreferences/recovery-material-preparation.md. This bounded authorized phase may create an isolated backup before restore validation, but cannot prepare a candidate, overwrite prior material, or alter active state. - Authorized isolated restore rehearsal: read
references/preflight-and-rollback.mdonly. Freeze an isolated non-active target and its complete write set, obtain exact rehearsal-write authority, and verify only the restore outcome. This phase may establishrehearsedevidence; it never authorizes candidate preparation, active promotion, the complete change, or cleanup. - Execute a complete authorized change: read
references/preflight-and-rollback.mdfirst. If recovery material must be created, enter its preparation phase within the current authority. Readreferences/execution-and-verification.mdonly after the exact target, write set, promotion authority, rollback coverage, and current restore validation pass. - Conceptual explanations and pure status/version/availability queries do not select this skill or load its references.
Authority Boundary
Resolve the requested outcome, exact target, authorized actions, and expected postcondition before mutation. Ask one concise question only when target, environment, destructive scope, credentials, sensitive asset use, promotion, or rollback authority would change execution.
Keep recovery-material preparation, isolated restore rehearsal, candidate preparation, active promotion, service restart/reload, data migration, destructive retention, sensitive asset access, rollback, and cleanup as separate actions. Permission for one never implies another. Freeze the exact direct and indirect write set; a newly discovered target, dependency, service, data store, endpoint, or destructive effect requires renewed authority.
Inventory sensitive assets by metadata only. Read or use content only after the exact path and exact action are both frozen and authorized. Never print, copy broadly, hash, encode, or persist secret contents merely to inventory them.
Rollback Gate
Before candidate or active-state mutation, require a rollback point that represents the observed prior state and covers every non-forward-compatible effect. It must be currently readable by the restore principal, with all prerequisites present, and must have passed a target-native restore validation or an authorized isolated rehearsal. Recheck that evidence immediately before mutation.
Recovery-material preparation uses its directly routed isolation and failure disposal gate. It does not require an already validated backup. For an isolated restore rehearsal, first prove that its non-active target cannot affect active state or data and that a failed rehearsal can be abandoned or recreated within its authorized write set. If that isolation is unproven, treat the rehearsal as complete execution and require this full gate.
Keep identified, present, readable, restore-validated, and rehearsed
as distinct evidence states. A backup job, artifact, script, manifest,
checksum, historical rehearsal, or user acceptance of risk is not verified
rollback. If current restore validation or complete coverage cannot run, stop
execution; a plan may report the gap.
Change Contract
- Observe current target and runtime state with scoped read-only probes.
- Freeze persistent effects, destructive roots, and the postcondition layers that own the requested outcome.
- Prepare missing recovery material through its bounded phase, establish the full rollback gate, then validate a candidate or dry run without promotion.
- Refresh drift-sensitive preconditions immediately before the authorized write.
- Apply the smallest candidate mutation and promote only through separately authorized actions.
- Verify every relevant materialization, selection, runtime, delivery, behavior, and preservation layer with fresh direct evidence.
- On a declared failure gate, stop further writes and run only the pre-authorized bounded rollback; then verify the prior state at its owning layers.
Command success, upload acceptance, a configuration write, or process start proves only that stage. A failed or unavailable outcome-owning observation is unverified, not complete.
Resume And Compaction Handoff
After resume or compaction, reobserve the target and drift-sensitive state, then fail closed unless host-native task context and current direct evidence from the owning system reconstruct the active phase, exact current user authority, frozen action envelope and complete write set, prior mutations and attempt identifiers, idempotency status, and phase-appropriate recovery evidence. Preparation resumes through its isolation and disposal gate; candidate or active-state mutation still requires current full rollback validation. If any required field is missing, stale, or inconsistent, perform zero new mutations. Never adopt post-change state as the prior rollback baseline. An unknown external outcome enters Verify only and must not be resent. Reestablish changed or missing evidence and obtain renewed authority; authority cannot waive the rollback gate. Do not add a daemon, cache, telemetry, or persistent handoff tool to reconstruct the handoff.
Safety And Handoff
- Resolve destructive targets directly; never use an unresolved variable, broad glob, guessed parent, or symlink traversal.
- Preserve unrelated state and the only working copy. Do not reset, stash, clean, install adjacent tools, change global configuration, or widen remote permissions to make a gate pass.
- Dispose of failed preparation output only through its frozen disposal gate. Delete other candidate or rollback material only under explicit cleanup authority after required postconditions pass and another required recovery route remains.
Report the target, actions actually authorized, mutation/promotion/rollback outcome, material failed or unavailable postconditions, final observed state, and retained recovery material. Include detailed successful layers only when they support a completion or recovery decision.
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.

