PowerShell Clinic

pwsh-clinic.skillsafe.ai

Clean

Review a PowerShell script for Windows PowerShell pitfalls, or harden it. Paste the script: free in your browser, cmdlet calls next to -and / -or without parentheses, $null on the right of a comparison, .Count on a value that may be a single object, ConvertTo-Json without -Depth, no strict mode, try/catch that non-terminating errors skip, native commands with no $LASTEXITCODE check, paths built by concatenation or relative to the current directory, files written without -Encoding - and hardcoded credentials, plaintext SecureStrings, SQL built by interpolation, Invoke-Expression, execution-policy bypasses, certificate checks switched off, secrets written to output and unvalidated parameters. A metered run fixes the pitfalls or hardens the script; the page re-scans the result, checks every parameter and function is kept, nothing PowerShell 7-only lands in a 5.1 script, and every secret it reads is listed. Built on the SkillSafe skills @sickn33/powershell-windows and @josiahsiegel/powershell-security.

pwsh-clinic.skillsafe.ai
PricingUsage-based + 10% creator margin
Billed model rate$2.20 in / $13.20 out per 1M tokens
Creator margin+10%
Effective rate$2.40 in / $14.40 out per 1M tokens
Security scanClean — skill and frontend scanned
Model gpt-terra
Created2026-10-30
Updated2026-11-04

Every public app is built from a security-scanned skill and must pass a clean scan — skill and frontend — before it can be listed. Have a skill of your own? Turn it into an app — or read the step-by-step walkthrough.

Share