/optimize:startupfrom optimize
Audits and cleans up Windows startup programs using PowerShell. Inventories Run keys, startup folders, and scheduled tasks to reduce boot time and idle RAM.
Ships in optimize. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Inventories everything that loads when Windows starts and helps the user decide what to keep, what to remove, and what to postpone until actually needed.
Run this PowerShell as Administrator to get the full picture:
$items = @()
# HKCU Run
$hkcu = Get-ItemProperty "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -EA SilentlyContinue
$hkcu.PSObject.Properties | Where-Object { $_.Name -notlike "PS*" } | ForEach-Object {
$items += [PSCustomObject]@{ Source="HKCU"; Name=$_.Name; Value=$_.Value }
}
# HKLM Run
$hklm = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -EA SilentlyContinue
$hklm.PSObject.Properties | Where-Object { $_.Name -notlike "PS*" } | ForEach-Object {
$items += [PSCustomObject]@{ Source="HKLM"; Name=$_.Name; Value=$_.Value }
}
# HKLM32 Run
$hklm32 = Get-ItemProperty "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" -EA SilentlyContinue
$hklm32.PSObject.Properties | Where-Object { $_.Name -notlike "PS*" } | ForEach-Object {
$items += [PSCustomObject]@{ Source="HKLM32"; Name=$_.Name; Value=$_.Value }
}
# Startup folders
foreach ($folder in @([Environment]::GetFolderPath("Startup"), [Environment]::GetFolderPath("CommonStartup"))) {
Get-ChildItem $folder -EA SilentlyContinue | ForEach-Object {
$items += [PSCustomObject]@{ Source="Folder"; Name=$_.Name; Value=$_.FullName }
}
}
# Scheduled tasks at logon
Get-ScheduledTask -EA SilentlyContinue | Where-Object {
$_.State -ne "Disabled" -and ($_.Triggers | Where-Object { $_ -and $_.CimClass.CimClassName -match "Logon|Boot" })
} | ForEach-Object {
$items += [PSCustomObject]@{ Source="Task"; Name=$_.TaskName; Value=$_.TaskPath }
}
$items | Format-Table -AutoSize
Show the user the full list grouped by source (HKCU, HKLM, folders, tasks). For each item, briefly describe what it is if it's not obvious from the name.
Common identifications:
SecurityHealth / SecurityHealthSystray → Windows Defender tray — keepFocusrite Notifier → audio interface driver notification — keep if has FocusritePlex Media Server → Plex server — keep if running as home serverParsec.App.0 → remote gaming client — keep if used for remote accessDiscord → chat app — can open manuallySpotify → music app — can open manuallyEpicGamesLauncher → game launcher — can open manuallyEADesktop → EA game launcher — can open manuallySteam → game launcher — can open manually (or keep if they always use it)AdobeAAMUpdater / AdobeUpdater → Adobe auto-updater — managed by CC appGoogleDriveFS → Google Drive sync — depends if constant sync is neededOneDrive → Microsoft OneDrive — depends on useDSALaunchAgent / DSATray → Intel Driver Support Assistant — not needed at bootGoodSync / gsync → backup sync tool — can run on scheduleTeamViewer → remote support — service runs when app openscom.squirrel.slack.slack → Slack — can open manuallyNotion → note-taking — can open manuallyTell the user:
"Here's everything that loads when Windows starts. Tell me what you want to keep and I'll remove the rest. At minimum, I'd suggest keeping:
- SecurityHealth (Windows Defender)
- Any audio interface software (Focusrite, Scarlett, etc.)
- Anything you need available the moment you sit down (Plex, Parsec, etc.)"
Wait for their answer.
Before removing anything, export the current state:
reg export "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" startup_backup_hkcu.reg /y
reg export "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" startup_backup_hklm.reg /y
For each item to remove:
Registry (HKCU/HKLM):
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "AppName"
Startup folder shortcuts:
Remove-Item "C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\App.lnk" -Force
Scheduled tasks:
Disable-ScheduledTask -TaskName "TaskName"
Kill the process for each item removed (so the effect is immediate):
Stop-Process -Name "ProcessName" -Force -ErrorAction SilentlyContinue
Show:
To restore any item later:
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" `
-Name "AppName" -Value '"C:\path\to\app.exe"'
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub julianprincipe/windows-pc-optimizer --plugin optimize5 skills in this plugin
/driversAudit Windows drivers, hardware health, and BIOS/firmware status. Use when the user wants to check if their drivers are up to date, has Device Manager errors, suspects hardware issues, or wants to know if their RAM is running at rated speed. Trigger for: "check my drivers", "Device Manager errors", "RAM not running at full speed", "is my GPU driver outdated", "hardware issues", "yellow triangles in Device Manager", "XMP not working", "update drivers".
/memoryReduce Windows RAM usage at idle by auditing and cleaning up startup programs and unnecessary background services. Use when the user has high memory usage with nothing open, slow performance due to RAM pressure, or wants to know what's eating their RAM. Trigger for: "too much RAM used", "15GB used at idle", "RAM always full", "what's using my memory", "reduce background processes", "too many things running".
/optimizeFull Windows PC optimization: diagnoses the system, interviews the user about their use case, builds a custom plan, and executes it with approval. Use for broad optimization requests like "my PC is slow", "optimize my Windows", "my SSD is full and RAM is high", or when the user wants a complete tune-up. For targeted fixes, sub-commands exist: /optimize:storage, /optimize:memory, /optimize:startup, /optimize:drivers.
/storageTargeted disk space cleanup for Windows. Use when the user only wants to free up space on their drives without touching startup, services, or system settings. Trigger for: "free up disk space", "my C: is full", "clean up my SSD", "delete temp files", "what's eating my disk", "recover space on Windows".
Other plugins' skills for the same job