@firstpick/pi-skill-performance-optimizer

Agents should invoke this skill for slow code, high CPU/memory, latency, large data processing, algorithmic complexity, profiling plans, benchmarks, or optimization requests. Profiles first and weighs trade-offs before changing code.

Packages

Package details

skill

Install @firstpick/pi-skill-performance-optimizer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@firstpick/pi-skill-performance-optimizer
Package
@firstpick/pi-skill-performance-optimizer
Version
0.1.5
Published
Aug 7, 2026
Downloads
235/mo · 15/wk
Author
firstpick
License
MIT
Types
skill
Size
11.5 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "skills": [
    "./skills"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

Performance Optimizer

Find what is actually making software slow or resource-heavy before changing it.

Helpful when

  • An app, page, or task feels slow.
  • CPU, memory, or cost is unexpectedly high.
  • You need to compare possible improvements.

What to share with Pi

  • What feels slow and how it is measured
  • The relevant code or system
  • Typical workload and acceptable performance

Try asking

Find why this endpoint is slow under normal load. Start with measurements, identify the main cause, and compare the safest fixes.

What you’ll get

  • A measurement and profiling plan
  • The most likely bottlenecks with evidence
  • Fix options and expected trade-offs

Keep in mind

Optimization without measurement often makes code harder without making it faster. Results should be checked with a repeatable test.

Install

pi install npm:@firstpick/pi-skill-performance-optimizer

Restart Pi if the skill does not appear in your current session.

Technical details

See TECHNICAL.md for advanced usage, configuration, compatibility, and limitations.