From pc-optimizer
Roll back PC optimizer changes. Lists available sessions, allows full session revert, batch revert, or individual tweak revert. Shows AppX reinstall instructions for removed apps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pc-optimizer:pc-revertThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
powershell -ExecutionPolicy Bypass -Command "
. 'C:\ProgramData\pc-optimizer\scripts\revert.ps1'
Get-OptimizerSessions | Format-Table Label, AppliedAt, Batches, IsVM -AutoSize
"
If no sessions exist, tell the user: "No optimizer sessions found. Nothing to revert."
Present this menu:
Available revert options:
1. Full session revert (all batches)
2. Revert a specific batch (Power/Bloat/Registry/Network/Memory/Visual)
3. Cancel
Which session? (enter label, e.g. "20260411-1430")
Which option? (1/2/3)
Wait for user input before proceeding.
Full revert:
powershell -ExecutionPolicy Bypass -File "C:\ProgramData\pc-optimizer\scripts\revert.ps1" -SessionPath "C:\ProgramData\pc-optimizer\revert\[LABEL]" -Batch All
Batch revert:
powershell -ExecutionPolicy Bypass -File "C:\ProgramData\pc-optimizer\scripts\revert.ps1" -SessionPath "C:\ProgramData\pc-optimizer\revert\[LABEL]" -Batch [BATCH_NAME]
If the revert output includes AppX reinstall commands, display them clearly with a heading:
APPS REMOVED BY OPTIMIZER (manual reinstall required):
-----------------------------------------------------
[commands from revert.ps1 output]
After revert completes, ask:
Delete this revert session to free up disk space? (yes/no)
If yes:
Remove-Item "C:\ProgramData\pc-optimizer\revert\[LABEL]" -Recurse -Force
Revert complete. A reboot is recommended for all changes to take effect.
System Restore Point (if created) is still available in Windows Recovery as a final fallback.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub marshal-rizky/pc-optimizer --plugin pc-optimizer