/optimize:memoryfrom optimize
Audits and reduces Windows RAM usage at idle by cleaning up startup programs and unnecessary background services. Useful for high memory usage with nothing open.
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.
Identifies what's consuming RAM at idle and reduces it by cleaning up startup items and setting unnecessary services to manual start.
Run scripts/02_benchmark.ps1 -Label "pre" as Administrator.
Run scripts/01_diagnose.ps1 as Administrator.
Focus on:
ram_info.json — total, free, used %processes.json — top processes by RAMservices.json — running services with RAMstartup_items.json — everything loading at bootBefore making any changes, ask:
What software do you actively use on this machine? Focus on: audio interfaces, DAWs, game launchers, dev tools, remote access, backup tools, cloud sync, communication apps.
What do you need available immediately when the PC starts? vs. what can open when you actually use it?
This determines what stays in startup vs. what becomes manual.
Group what you find into three buckets and present it to the user:
KEEP in startup — essential to the user's stated workflow (e.g. Plex if running as a server, Parsec if used for remote access, audio interface notifiers, Defender/SecurityHealth)
REMOVE from startup — loads at boot but user launches manually anyway (e.g. Spotify, Discord, Epic Games Launcher, EA Desktop, Notion, Slack, backup tools that can sync periodically)
SET SERVICE TO MANUAL — service starts when needed, not always Present each with: what it does, RAM it's using, why it's safe to set to manual.
Services safe to disable outright (not just manual):
DiagTrack — Windows telemetry, no user benefitSysMain (Superfetch) — irrelevant with SSD + 16GB+ RAMRemoteRegistry — security risk, no use case for most usersTabletInputService — only needed with touchscreenFax — unless there's a fax machineWait for explicit approval on the list before making any changes.
Back up startup registry first:
reg export "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" backup_hkcu_run.reg /y
reg export "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" backup_hklm_run.reg /y
Remove approved startup items:
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "AppName"
Set approved services to Manual:
sc.exe config ServiceName start= demand
sc.exe stop ServiceName
Set approved services to Disabled:
sc.exe config ServiceName start= disabled
sc.exe stop ServiceName
Kill processes from removed startup items (so the change takes effect now without needing a reboot):
Stop-Process -Name "ProcessName" -Force -ErrorAction SilentlyContinue
Run scripts/02_benchmark.ps1 -Label "post" — prints the delta automatically.
Note: the full RAM benefit shows after a clean reboot, since some processes that were already running stay in memory until then.
scripts/01_diagnose.ps1scripts/02_benchmark.ps1scripts/00_safety.ps1 (run first if making many changes)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".
/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.
/startupAudit and clean up Windows startup programs to speed up boot time and reduce idle RAM. Use when the user wants faster boot, fewer things loading at startup, or wants to know what runs automatically. Trigger for: "too many startup programs", "slow boot", "too many things open at startup", "disable startup apps", "what runs at boot", "my PC takes forever to start".
/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