/optimize:driversfrom optimize
Audits Windows drivers, hardware health, and BIOS/firmware status. Identifies outdated drivers, device errors, RAM speed mismatches, and SMART failures.
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.
Checks driver versions, hardware configuration, and device errors. Produces a clear action list — most items here require manual steps, so the output is a prioritized report, not an automated fix.
Run scripts/01_diagnose.ps1 as Administrator.
Focus on: hardware.json, device_errors.json, smart_status.json.
Run this PowerShell as Administrator for a deeper driver picture:
# GPU driver info
$gpu = Get-WmiObject Win32_VideoController | Where-Object { $_.Name -notlike "*Microsoft*" } | Select-Object -First 1
Write-Host "GPU: $($gpu.Name)"
Write-Host "Driver version: $($gpu.DriverVersion)"
$driverDate = [Management.ManagementDateTimeConverter]::ToDateTime($gpu.DriverDate)
Write-Host "Driver date: $($driverDate.ToString('yyyy-MM-dd')) ($([int]([datetime]::Today - $driverDate).TotalDays) days ago)"
# RAM speed vs rated
Get-WmiObject Win32_PhysicalMemory | ForEach-Object {
Write-Host "RAM: $($_.PartNumber.Trim()) | Rated: $($_.Speed) MHz | Running: $($_.ConfiguredClockSpeed) MHz | XMP: $(if ($_.ConfiguredClockSpeed -ge $_.Speed - 100) {'ACTIVE'} else {'OFF - running below rated speed'})"
}
# BIOS
$bios = Get-WmiObject Win32_BIOS
$biosDate = [Management.ManagementDateTimeConverter]::ToDateTime($bios.ReleaseDate)
Write-Host "BIOS: $($bios.SMBIOSBIOSVersion) — $($biosDate.ToString('yyyy-MM-dd')) ($([int]([datetime]::Today - $biosDate).TotalDays) days ago)"
# Device errors
$errors = Get-PnpDevice | Where-Object { $_.Status -eq "Error" }
Write-Host "`nDevices in error ($($errors.Count)):"
$errors | ForEach-Object { Write-Host " [ERROR] $($_.Class) — $($_.FriendlyName) — $($_.InstanceId)" }
# Driver dates (flagging old ones)
Write-Host "`nDrivers older than 1 year:"
Get-WmiObject Win32_PnPSignedDriver | Where-Object { $_.DriverDate -and $_.DeviceName } |
ForEach-Object {
try {
$d = [datetime]::ParseExact($_.DriverDate.Substring(0,8), "yyyyMMdd", $null)
if (([datetime]::Today - $d).TotalDays -gt 365) {
Write-Host (" {0,-45} {1}" -f $_.DeviceName, $d.ToString("yyyy-MM-dd"))
}
} catch {}
}
# SMART
Get-PhysicalDisk | Select-Object FriendlyName, MediaType, HealthStatus | Format-Table -AutoSize
Present findings clearly, grouped by priority:
For every item that needs action, provide exact steps:
GPU driver update:
XMP/DOCP (RAM speed):
Intel Chipset Device Software:
BIOS update:
For specific device errors: include the InstanceId from the error list so the user can paste it into Windows Device Manager or search for the exact driver package.
The only driver-related change that runs automatically (no reboot):
Install available Windows Update drivers:
$session = New-Object -ComObject Microsoft.Update.Session
$searcher = $session.CreateUpdateSearcher()
$results = $searcher.Search("IsInstalled=0 and Type='Driver'")
if ($results.Updates.Count -gt 0) {
$toInstall = New-Object -ComObject Microsoft.Update.UpdateColl
$results.Updates | ForEach-Object { $toInstall.Add($_) | Out-Null }
$installer = $session.CreateUpdateInstaller()
$installer.Updates = $toInstall
$installResult = $installer.Install()
Write-Host "Installed $($toInstall.Count) driver(s) from Windows Update"
Write-Host "Reboot required: $($installResult.RebootRequired)"
}
Run this if the user wants to pick up whatever Microsoft has available, but note that GPU, chipset, and BIOS updates require the manufacturer's tools — Windows Update typically doesn't carry them.
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
/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.
/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