# Wp performance

> Wp performance is an open-source agent skill for developer tools. Guides an agent through diagnosing slow WordPress pages, queries and object caches. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/hekivo/kivo-wise/tree/main/plugins/kivo-wise/skills/wp-performance
- **Repository:** https://github.com/hekivo/kivo-wise
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** wp-performance
- **Collection:** https://github.com/hekivo/kivo-wise
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill walks an AI coding agent through finding out why a WordPress page, REST route or admin screen is slow. It starts with a cold and warm baseline of the same URL, recording time, query count and cache state, and then points to an upstream official WordPress performance procedure that holds the full checklist.

The workflow covers checking whether a persistent object cache drop-in is active, running WP-CLI doctor and profile commands, and choosing native fixes such as wp_cache get and set with a group, transients and WP_Query arguments before reaching for custom cache code. It also includes Acorn notes for Laravel-side caching and a deterministic Node script that reads the runner command from an environment variable.

It expects a WordPress project run through a container runner such as Lando, with the WordPress path as seen inside the container. Commands are written with the project's runner filled in, and index or schema changes are held for user approval rather than applied directly.

## When your agent uses it

> Use when a WordPress page, query or request is slow or needs profiling - TTFB, slow or N+1 queries, Query Monitor, Server-Timing, wp profile and wp doctor, autoloaded options, Redis object cache hit rate, transients, WP_CACHE_KEY_SALT. Adds the runner and Redis notes on top of the official procedure. For Eloquent query design use acorn-data; for PHP type errors use wp-phpstan.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/hekivo/kivo-wise/tree/HEAD/plugins/kivo-wise/skills/wp-performance)
- [License: MIT](https://github.com/hekivo/kivo-wise/tree/HEAD/plugins/kivo-wise/skills/wp-performance)

## Features

- **Baseline measurement:** Records cold and warm timings, query counts and cache state so changes can be compared.
- **Object cache checks:** Confirms whether a persistent cache drop-in is active and which backend is in use.
- **WP-CLI profiling:** Runs doctor checks and stage and hook profiling against the correct site URL.
- **Native fix selection:** Prefers WordPress caching APIs and WP_Query arguments before custom cache classes.
- **Runner-aware commands:** Fills in container runner commands for Lando-style setups and a deterministic report script.
- **Failure troubleshooting:** Lists common symptoms such as stale data, missing WP-CLI and disabled caches with fixes.

## Good for

- Why is this WordPress page taking two seconds to load?
- Find the slow or N+1 queries behind a REST endpoint
- Check whether Redis object caching is actually working
- Audit autoloaded options that bloat every request
- Measure the effect of a transient before and after adding it

## Install

### Claude Code

This skill ships in the `kivo-wise` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wise
```

Or copy only this skill to `~/.claude/skills/wp-performance`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/wp-performance &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-performance" ~/.claude/skills/wp-performance &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/wp-performance` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/wp-performance` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/wp-performance &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-performance" ~/.agents/skills/wp-performance &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/wp-performance` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/wp-performance` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/wp-performance &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-performance" ~/.cursor/skills/wp-performance &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/wp-performance` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/hekivo/kivo-wise.git --path plugins/kivo-wise/skills/wp-performance
```

Or copy the folder to `~/.gemini/skills/wp-performance` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/wp-performance`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/wp-performance &&
cp -R "$tmp/plugins/kivo-wise/skills/wp-performance" ~/.copilot/skills/wp-performance &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/wp-performance` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/hekivo/kivo-wise.git
```

Then copy `kivo-wise/plugins/kivo-wise/skills/wp-performance` into your agent's skills folder as `wp-performance`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It expects a WordPress project run through a container runner, with WP-CLI available inside the container and the WordPress path as the container sees it. Its Node report script reads the runner command from the WP_RUNNER variable.

### Does Wp performance change my code or database?

The procedure focuses on measuring first and picking fixes. Index or schema changes are to be proposed and approved by the user rather than applied directly.

### Which parts are covered by the official procedure?

The full checklist lives in an upstream official WordPress performance skill (GPL-2.0-or-later) that this wrapper references, adding runner and Redis notes on top.

### Does Wp performance handle Eloquent or PHP type errors?

No. The description points Eloquent query design to a separate acorn-data skill and PHP type errors to wp-phpstan.

### How do I install Wp performance in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/wp-performance to use it in all your projects, or to .claude/skills/wp-performance in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.

### Does Wp performance run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Wp performance?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Wp performance?

The closest alternatives to Wp performance are Acorn stack, Performance optimization, Lando wp, Testing wp and Compose wp.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Acorn stack](https://ai-powered.com/skills/acorn-stack): Acorn stack is an open-source agent skill for developer tools.
- [Performance optimization](https://ai-powered.com/skills/performance-optimization): Performance optimization is an open-source agent skill for developer tools.
- [Lando wp](https://ai-powered.com/skills/lando-wp): Lando wp is an open-source agent skill for developer tools.
- [Testing wp](https://ai-powered.com/skills/testing-wp): Testing wp is an open-source agent skill for developer tools.
- [Compose wp](https://ai-powered.com/skills/compose-wp): Compose wp is an open-source agent skill for developer tools.
- [Wp hooks lifecycle](https://ai-powered.com/skills/wp-hooks-lifecycle): Wp hooks lifecycle is an open-source agent skill for developer tools.
- [Roots debugging](https://ai-powered.com/skills/roots-debugging): Roots debugging is an open-source agent skill for developer tools.
- [Wp REST API](https://ai-powered.com/skills/wp-rest-api): Wp REST API is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/wp-performance
