agentsclimarketplace

Performance optimizer

Skill skyvanguard/infra-ops/skills/performance-optimizer

Use when the user wants to speed up their system, free resources, or resolve performance bottlenecks. Identifies resource hogs and suggests safe optimizations.From its SKILL.md

Install
npx -y skills add skyvanguard/infra-ops --skill performance-optimizer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.5 KB, as published. Nobody here has run it

Performance Optimizer

Overview

Identify performance bottlenecks through systematic profiling, then recommend and optionally execute safe optimizations. Prioritize quick wins with low risk.

Process

Step 1: Profile Current State

Run a baseline measurement across all resource types:

CPU consumers:

PlatformCommand
WindowsGet-Process | Sort-Object CPU -Descending | Select -First 15 Name, Id, CPU, @{N='Mem(MB)';E={[math]::Round($_.WorkingSet64/1MB,1)}}
Linuxps aux --sort=-%cpu | head -16
macOSps aux -r | head -16

Memory consumers:

PlatformCommand
WindowsGet-Process | Sort-Object WorkingSet64 -Descending | Select -First 15 Name, Id, @{N='Mem(MB)';E={[math]::Round($_.WorkingSet64/1MB,1)}}
Linuxps aux --sort=-%mem | head -16
macOSps aux -m | head -16

Disk I/O:

PlatformCommand
WindowsGet-Counter '\PhysicalDisk(*)\% Disk Time' -SampleInterval 2 -MaxSamples 1
Linuxiostat -x 1 2 2>/dev/null || cat /proc/diskstats
macOSiostat -c 2

Startup programs:

PlatformCommand
WindowsGet-CimInstance Win32_StartupCommand | Select Name, Command, Location
Linuxsystemctl list-unit-files --state=enabled --type=service
macOSlaunchctl list | head -20

Disk usage (large files):

PlatformCommand
WindowsGet-ChildItem C:\Users -Recurse -File -ErrorAction SilentlyContinue | Sort-Object Length -Descending | Select -First 10 FullName, @{N='Size(MB)';E={[math]::Round($_.Length/1MB,1)}}
Linuxdu -ah / 2>/dev/null | sort -rh | head -10
macOSdu -ah ~ | sort -rh | head -10

Temp files:

PlatformCommand
Windows(Get-ChildItem $env:TEMP -Recurse -ErrorAction SilentlyContinue | Measure-Object -Property Length -Sum).Sum / 1MB
Linuxdu -sh /tmp /var/tmp 2>/dev/null
macOSdu -sh /tmp ~/Library/Caches 2>/dev/null

Step 2: Identify Bottlenecks

Categorize findings:

CategoryThresholdAction Priority
CPU > 80% sustainedHIGHIdentify process, consider stopping
RAM > 85% usedHIGHFind memory hogs, check for leaks
Disk > 90% fullCRITICALFree space immediately
Disk I/O > 70%MEDIUMIdentify I/O heavy processes
Startup items > 15LOWDisable unnecessary items
Temp > 1GBLOWClean temp files

Step 3: Present Optimization Plan

Format as a prioritized list:

## Performance Analysis

### Current Bottlenecks
1. [CRITICAL/HIGH/MEDIUM] - [description] - [impact]

### Recommended Optimizations

#### Quick Wins (safe, immediate effect)
- [ ] [action 1] - Expected gain: [X]
- [ ] [action 2] - Expected gain: [X]

#### Medium Impact (may require restart)
- [ ] [action 1] - Expected gain: [X]

#### Long-term (requires planning)
- [ ] [action 1] - Expected gain: [X]

Step 4: Execute (with permission)

For each optimization the user approves:

  1. Show the exact command
  2. Explain the effect
  3. Execute after confirmation
  4. Verify the result

Safe actions (low risk):

  • Clear temp files
  • Clear browser caches
  • Clear package manager caches
  • Disable unnecessary startup items
  • Close idle processes (user-approved)

Moderate actions (ask first):

  • Stop non-essential services
  • Clear system caches
  • Adjust virtual memory settings
  • Disable visual effects

Never do automatically:

  • Uninstall software
  • Modify registry/system files
  • Disable security services
  • Delete user files
  • Change BIOS/firmware settings

Step 5: Verify Improvement

After optimizations, re-run the relevant baseline checks and show before/after comparison:

### Results
| Metric | Before | After | Improvement |
|--------|--------|-------|-------------|
| Free RAM | X GB | Y GB | +Z GB |
| CPU usage | X% | Y% | -Z% |
| Free disk | X GB | Y GB | +Z GB |

Rules

  • ALWAYS profile before suggesting optimizations
  • NEVER delete user data without explicit confirmation
  • NEVER disable antivirus or firewall
  • Show before/after metrics to prove impact
  • Prefer reversible actions over permanent changes
  • If a process is unknown, research it before recommending to stop it

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.