Skip to content
AI Tool and Skill
Check first

Performance Optimization

Finds and fixes slow spots across front end, back end and databases, including Core Web Vitals and slow queries.

By Addy Osmani · Works with Claude Code, Codex, Cursor, Gemini CLI

This skill gives the AI a measure-first approach to speed: find the real bottleneck, fix it, then measure again.

It covers web page speed as well as server and database performance.

Safety check

Check first
Runs scripts or commandsYes
Uses the internetYes
Starts other programsNo
Creates or changes filesNo
Mentions API keys or secretsNo
  • Instructions tell the AI to run commands on your computer
  • May install extra packages (pip, npm or similar)

Automated check, not a guarantee. Read the files before installing. Checked 1 Dec 2026 · 3 files scanned · scanner v1.0.0 · How we check

What it does

  • Measures before changing anything
  • Finds bottlenecks like slow queries or heavy pages
  • Verifies the improvement

Good for

  • Slow websites and apps
  • Improving Core Web Vitals

Not for

  • Code that is already fast enough

How to install Performance Optimization

Read the safety check above first. Commands are typed into your AI tool or terminal; menus and paths can change, so check your tool's documentation if a step doesn't match.

Download Performance Optimization

ZIP, 19 KB, 3 files. The exact files we safety-checked, unchanged, with the MIT licence and a credit to Addy Osmani.

Download ZIP
Claude Code

Paste one line into your terminal. It installs the skill for all your projects:

Mac or Linux

Command
curl -fsSL https://aitoolandskill.com/downloads/skills/performance-optimization.zip -o /tmp/performance-optimization.zip && mkdir -p ~/.claude/skills && unzip -oq /tmp/performance-optimization.zip -d ~/.claude/skills

Windows (PowerShell)

Command
iwr https://aitoolandskill.com/downloads/skills/performance-optimization.zip -OutFile $env:TEMP\performance-optimization.zip; Expand-Archive $env:TEMP\performance-optimization.zip "$HOME\.claude\skills" -Force

Or unzip the download yourself into ~/.claude/skills/ (all projects) or .claude/skills/ inside one project. Restart Claude Code afterwards.

OpenAI Codex

Mac or Linux

Command
curl -fsSL https://aitoolandskill.com/downloads/skills/performance-optimization.zip -o /tmp/performance-optimization.zip && mkdir -p ~/.codex/skills && unzip -oq /tmp/performance-optimization.zip -d ~/.codex/skills

Windows (PowerShell)

Command
iwr https://aitoolandskill.com/downloads/skills/performance-optimization.zip -OutFile $env:TEMP\performance-optimization.zip; Expand-Archive $env:TEMP\performance-optimization.zip "$HOME\.codex\skills" -Force
Cursor

Run inside your project folder:

Mac or Linux

Command
curl -fsSL https://aitoolandskill.com/downloads/skills/performance-optimization.zip -o /tmp/performance-optimization.zip && mkdir -p .cursor/skills && unzip -oq /tmp/performance-optimization.zip -d .cursor/skills

Windows (PowerShell)

Command
iwr https://aitoolandskill.com/downloads/skills/performance-optimization.zip -OutFile $env:TEMP\performance-optimization.zip; Expand-Archive $env:TEMP\performance-optimization.zip ".cursor\skills" -Force
Gemini CLI, GitHub Copilot and other agents

Download the ZIP and unzip it into your agent's skills folder. Each agent documents where that folder is.

New to skills? Read how to install an AI agent skill.

FAQ

Is Performance Optimization free?

Yes. Performance Optimization is made by Addy Osmani and shared under the MIT licence, so it's free to use, and you can download it from this page. You still need an AI app that supports skills, and that app may have its own pricing.

Which AI apps can use Performance Optimization?

It is designed for Claude Code, Codex, Cursor, Gemini CLI. Any agent that supports the SKILL.md format can usually load it too.

Is Performance Optimization safe to install?

Our automated check rated it "Check first" on 1 Dec 2026. Instructions tell the AI to run commands on your computer. This is not a guarantee, so look through the files before installing.

Related skills

  • Audits web pages for WCAG 2.2 AA accessibility problems and helps fix them, including contrast, keyboard use and screen readers.

    Claude CodeCodexCursor

    by Addy Osmani122k

  • Reviews code from several angles, such as correctness, readability, security and performance, before it is merged.

    Claude CodeCodexCursor

    by Addy Osmani122k

  • A systematic process for finding why a build broke, a test failed or code stopped working, and fixing the real cause.

    Claude CodeCodexCursor

    by Addy Osmani122k

  • Records technical decisions as ADRs and keeps documentation in step with the code, flagging docs that have gone stale.

    Claude CodeCodexCursor

    by Addy Osmani122k