performance-optimizer
Skill1 starsChanged 10 months agoMITView on GitHub
Use when the user wants to speed up their system, free resources, or resolve performance bottlenecks. Identifies resource hogs and suggests safe optimizations.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- neeraj181-dot/ClaudeSkillstheir own version, first seen Aug 25, 2026
- TheHiddenDeveloper/jarvis-skillstheir own version, first seen Aug 19, 2026
- rudrathegreat/Astronomy-AI-Toolkittheir own version, first seen Aug 2, 2026
- moses607/socialforgetheir own version, first seen Jul 15, 2026
- nihao555-hub/claude-code-agent-skillstheir own version, first seen Apr 1, 2026
- PolakiniO/AI-Engineering-Playbooktheir own version, first seen Mar 23, 2026
Used with
Projects with it also use code-reviewer.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillcode-reviewer
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- nahisaho/MUSUBI★ 77same name
- glincker/claude-code-marketplace★ 37same name
- moses607/socialforge★ 4same name
- nihao555-hub/claude-code-agent-skills★ 4same name
- agentsdance/agentskills★ 3same name
- mehdiozdemir/awesome-agent-skills★ 2same name
- PolakiniO/AI-Engineering-Playbook★ 2same name
- ronrefael/sonde★ 2same name
- rudrathegreat/Astronomy-AI-Toolkit★ 2same name
- neeraj181-dot/ClaudeSkills★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- container-opsSkill
- disk-cleanupSkill
- incident-triageSkill
- log-analyzerSkill
- network-troubleshooterSkill
- security-auditorSkill
- service-monitorSkill
- ssl-checkerSkill
- system-diagnosticsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Run a baseline measurement across all resource types:
- Distinctive: line 127
After optimizations, re-run the relevant baseline checks and show before/after comparison:
- Distinctive: line 140
ALWAYS profile before suggesting optimizations
- Distinctive: line 141
NEVER delete user data without explicit confirmation
- Distinctive: line 142
NEVER disable antivirus or firewall
- Distinctive: line 144
Prefer reversible actions over permanent changes
- Distinctive: line 145
If a process is unknown, research it before recommending to stop it
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
| Platform | Command |
| Windows | Get-Process | Sort-Object CPU -Descending | Select -First 15 Name, Id, CPU, @{N='Mem(MB)';E={[math]::Round($_.WorkingSet64/1MB,1)}} |
| Linux | ps aux --sort=-%cpu | head -16 |
| macOS | ps aux -r | head -16 |
Memory consumers:
| Platform | Command |
| Windows | Get-Process | Sort-Object WorkingSet64 -Descending | Select -First 15 Name, Id, @{N='Mem(MB)';E={[math]::Round($_.WorkingSet64/1MB,1)}} |
| Linux | ps aux --sort=-%mem | head -16 |
| macOS | ps aux -m | head -16 |
Disk I/O:
| Platform | Command |
| Windows | Get-Counter '\PhysicalDisk(*)\% Disk Time' -SampleInterval 2 -MaxSamples 1 |
| Linux | iostat -x 1 2 2>/dev/null || cat /proc/diskstats |
| macOS | iostat -c 2 |
Startup programs:
| Platform | Command |
| Windows | Get-CimInstance Win32_StartupCommand | Select Name, Command, Location |
| Linux | systemctl list-unit-files --state=enabled --type=service |
| macOS | launchctl list | head -20 |
Disk usage (large files):
| Platform | Command |
| Windows | Get-ChildItem C:\Users -Recurse -File -ErrorAction SilentlyContinue | Sort-Object Length -Descending | Select -First 10 FullName, @{N='Size(MB)';E={[math]::Round($_.Length/1MB,1)}} |
| Linux | du -ah / 2>/dev/null | sort -rh | head -10 |
| macOS | du -ah ~ | sort -rh | head -10 |
Temp files:
| Platform | Command |
| Windows | (Get-ChildItem $env:TEMP -Recurse -ErrorAction SilentlyContinue | Measure-Object -Property Length -Sum).Sum / 1MB |
| Linux | du -sh /tmp /var/tmp 2>/dev/null |
| macOS | du -sh /tmp ~/Library/Caches 2>/dev/null |
Step 2: Identify Bottlenecks
Categorize findings:
| Category | Threshold | Action Priority |
| CPU > 80% sustained | HIGH | Identify process, consider stopping |
| RAM > 85% used | HIGH | Find memory hogs, check for leaks |
| Disk > 90% full | CRITICAL | Free space immediately |
| Disk I/O > 70% | MEDIUM | Identify I/O heavy processes |
| Startup items > 15 | LOW | Disable unnecessary items |
| Temp > 1GB | LOW | Clean 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:
- Show the exact command
- Explain the effect
- Execute after confirmation
- 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

