diagnostic-db-autoload

Measure WordPress wp_options autoload size and list options over 10KB with plugin attribution.

27|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/dr-robert-li/cowork-wordpress-expert --skill diagnostic-db-autoload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnostic-db-autoload
Source: https://github.com/dr-robert-li/cowork-wordpress-expert/tree/main/skills/diagnostic-db-autoload
Command: npx skills add https://github.com/dr-robert-li/cowork-wordpress-expert --skill diagnostic-db-autoload

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and helps resolve "autoload bloat" in WordPress's wp_options table, which significantly slows down every page request.

Core Features & Use Cases

  • Autoload Size Analysis: Measures the total size of autoloaded data and flags it against healthy thresholds (under 900KB recommended, critical over 2MB).
  • Offender Identification: Lists individual autoloaded options exceeding 10KB, attributing them to specific plugins or WordPress Core.
  • Use Case: A website is experiencing slow load times. This Skill pinpoints that the wp_options table is loading over 3MB of data on every request, identifies Yoast SEO and Elementor as the main contributors, and provides specific steps to reduce this overhead.

Quick Start

Analyze the WordPress database options table for autoload bloat.

Frequently Asked Questions about diagnostic-db-autoload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why is my WordPress site slow and how does autoload bloat affect wp_options?

WordPress autoload bloat slows down every page request by loading excessive data from the wp_options table. When total autoloaded data exceeds healthy thresholds under 900KB, it becomes critical over 2MB, significantly degrading site performance and increasing response times.

How do I find which plugins are causing wp_options autoload bloat?

To find which plugins cause wp_options autoload bloat, analyze the database to list individual autoloaded options exceeding 10KB. This process attributes each large option to specific plugins or WordPress Core, identifying the exact contributors to your database overhead.

Do I need WP-CLI to check the WordPress database options table size?

Yes, you need WP-CLI to check the WordPress database options table size. This analysis requires WP-CLI for all checks, dynamically retrieving table prefixes and routing database access through WP_CLI_PREFIX to measure autoloaded data accurately.

What is the maximum recommended size for autoloaded data in wp_options?

The maximum recommended size for autoloaded data in wp_options is under 900KB for healthy performance. Autoloaded data becomes critical and causes significant slowdowns when it exceeds 2MB, requiring immediate optimization to reduce overhead.

How can I measure the total size of autoloaded options in WordPress?

You can measure the total size of autoloaded options in WordPress by running a database analysis through WP-CLI. This calculates the total autoloaded data size, flags options over 10KB, and identifies specific plugins contributing to the overhead.

Can I identify specific large options in wp_options without manually querying the database?

Yes, you can identify specific large options in wp_options without manual SQL queries by using an automated analysis tool. It lists all autoloaded options over 10KB and attributes them to specific plugins or WordPress Core automatically.