End-to-end Windows PC health diagnostics for hardware and software incidents. Use when a user reports noise, vibration, instability, storage errors, thermal concerns, driver/device issues, or wants a full system health audit with evidence. Collect local evidence from event logs, WMI/CIM, storage telemetry, registry, and power settings; optionally validate hypotheses with internet sources; produce both a technical report and a plain-language report.
Use this skill to run structured Windows diagnostics and produce two outputs:
Read references/windows-data-sources.md before running commands.
Read references/report-templates.md before writing final output.
Before diagnostics, verify administrator rights.
If Codex is not running as Administrator, stop and instruct the user to relaunch Codex in PowerShell with "Run as Administrator".
State explicitly:
Check command:
([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(
[Security.Principal.WindowsBuiltInRole]::Administrator
)
Before creating report files, explicitly ask the user where to save:
Do not choose output paths implicitly.
/f, /r, repair mode, registry writes, service config writes).tmp folder if intermediate copy/merge steps are required.For every conclusion, include:
event log, WMI/CIM, registry, sensor, internet).If evidence is missing or conflicting, say so explicitly and lower confidence.
\\Device\\HarddiskX\\DRY events to real disks before concluding.Use internet checks when:
Prefer primary documentation and vendor pages. Include URLs and retrieval date.
Always deliver both sections:
Use templates in references/report-templates.md.