Check What a Database Cleanup Will Delete Before You Run It with Advanced Database Cleaner and AI
One cleanup category opened and explained item by item, so you know what goes before you press clean.
Works with AI · Verified on v4.3.1
Connect Advanced Database Cleaner to Claude, ChatGPT, or any AI assistant with WPVibe. Get a database health report, find the options slowing every page, spot cron jobs left behind and check what a cleanup will delete by asking in plain English.
One connection gives your assistant structured, permission-checked access to the whole site.
Size, the biggest tables, autoloaded data and old data waiting to be cleaned, with nothing changed.
The biggest options loaded on every page, with likely owners, and one you pick stopped after a preview and your yes.
Scheduled jobs with no handler, grouped by plugin and checked against what is installed.
What one cleanup category would delete, item by item, and the Keep last rule that applies.
Paste any of these into Claude or ChatGPT once Advanced Database Cleaner is connected.
Add the free WPVibe plugin from WordPress.org to the site running Advanced Database Cleaner.
Claude, ChatGPT, Cursor, and more. One click to authorize, and no passwords ever go in the chat.
“Give me a health report of my database. Don't change anything.”
Copy-paste playbooks, each one tested on a live Advanced Database Cleaner install before it ships.
One cleanup category opened and explained item by item, so you know what goes before you press clean.
Scheduled jobs with no handler found, grouped by plugin and checked against what is installed, with nothing changed.
The biggest autoloaded options found and explained, and one you pick stopped from loading on every page after a preview and your yes.
Database size, the biggest tables, autoloaded data and old data waiting to be cleaned, read through Advanced Database Cleaner with nothing changed.
Advanced Database Cleaner registers these with the WordPress Abilities API under the adbc namespace. Your AI finds them with discover_abilities and calls them with run_ability. WPVibe asks for your approval only when an ability is marked destructive and deletes something or runs code; everything else runs as soon as your AI calls it. Verified means we ran it on a live install of v4.3.1. Registered means a fresh install of v4.3.1 ships it and we have not run it yet.
Requires Advanced Database Cleaner 4.3 or newer on WordPress 6.9 or newer and PHP 8.2 or newer with OpenSSL, with an administrator account, served over HTTPS. Turn on "Expose plugin abilities" in Advanced Database Cleaner, Settings, Developer integrations. Tested on Advanced Database Cleaner 4.3.1 (free).
| Ability | What it does | Access | Status |
|---|---|---|---|
|
Get system information adbc/get-system-information
|
WordPress, server and database details, including the database size and the autoload warning threshold. | Read | Verified |
|
Get cleanup categories adbc/get-general-data
|
Count and size of each cleanup category: revisions, auto-drafts, trashed posts, spam and trashed comments, expired transients, unused and duplicated meta and more. | Read | Verified |
|
List items in a cleanup category adbc/get-items
|
The items one cleanup would delete, such as each revision or spam comment, with dates and sizes. | Read | Verified |
|
Clean selected items adbc/delete-items
|
Deletes chosen items of one cleanup category. | Write | Verified |
|
Clean a whole category adbc/purge-items
|
Cleans every item in one cleanup category (for the tables to optimize or repair categories, optimizes or repairs them), except what its Keep last rule keeps. | Write | Verified |
|
Get Keep last rules adbc/get-keep-last
|
How much of each cleanup category a cleanup keeps, for example the last 7 days. | Read | Verified |
|
Set Keep last rules adbc/set-keep-last
|
Sets how many days of a category a cleanup keeps. | Write | Verified |
|
Remove Keep last rules adbc/delete-keep-last
|
Removes the Keep last rule of a category. | Write | Verified |
|
Turn on automatic counts adbc/activate-auto-count
|
Turns on automatic counting for cleanup categories. | Write | Verified |
|
Turn off automatic counts adbc/deactivate-auto-count
|
Turns off automatic counting for cleanup categories. | Write | Verified |
|
List tables adbc/get-tables-list
|
Every table with size, rows, engine and overhead, sortable by size. | Read | Verified |
|
List table names adbc/get-tables-names
|
The names of every table in the database. | Read | Verified |
|
Read table rows adbc/get-table-rows
|
The rows of one table, a page at a time. | Read | Verified |
|
Read table structure adbc/get-table-structure
|
The columns and indexes of one table. | Read | Verified |
|
Count tables to optimize adbc/count-total-tables-to-optimize
|
How many tables need optimizing. | Read | Verified |
|
Count tables to repair adbc/count-total-tables-to-repair
|
How many tables need repairing. | Read | Verified |
|
Count tables with another prefix adbc/count-total-tables-with-invalid-prefix
|
How many tables do not use this site's table prefix. | Read | Verified |
|
Count tables not scanned adbc/count-total-not-scanned-tables
|
How many tables have no owner found yet. | Read | Verified |
|
Refresh table row counts adbc/refresh-counts-tables
|
Counts the rows of chosen tables again, in the background; returns a job id. | Write | Verified |
|
Optimize tables adbc/optimize-tables
|
Optimizes chosen tables. | Write | Verified |
|
Repair tables adbc/repair-tables
|
Repairs chosen tables. | Write | Verified |
|
Convert tables to InnoDB adbc/convert-to-innodb-tables
|
Converts chosen MyISAM tables to InnoDB. | Write | Verified |
|
Empty tables adbc/empty-rows-tables
|
Deletes every row of chosen tables and keeps the tables. | Write | Verified |
|
Delete tables adbc/delete-tables
|
Deletes chosen tables. | Write | Verified |
|
List options adbc/get-options-list
|
Every option with size and autoload, sortable by size and filtered by autoload. | Read | Verified |
|
Check autoload health adbc/get-autoload-health
|
The size of autoloaded options against the limit, and whether it is healthy. | Read | Verified |
|
Count big options adbc/count-big-options
|
How many options are unusually large. | Read | Verified |
|
Count options not scanned adbc/count-total-not-scanned-options
|
How many options have no owner found yet. | Read | Verified |
|
Stop options loading on every page adbc/set-autoload-to-no-options
|
Turns autoload off for chosen options. | Write | Verified |
|
Load options on every page adbc/set-autoload-to-yes-options
|
Turns autoload on for chosen options. | Write | Verified |
|
Delete options adbc/delete-options
|
Deletes chosen options. | Write | Verified |
|
List transients adbc/get-transients-list
|
Cached transients with size, expiry and autoload. | Read | Verified |
|
Count big transients adbc/count-big-transients
|
How many transients are unusually large. | Read | Verified |
|
Count expired transients adbc/count-expired-transients
|
How many transients are past their date. | Read | Verified |
|
Count transients not scanned adbc/count-total-not-scanned-transients
|
How many transients have no owner found yet. | Read | Verified |
|
Stop transients loading on every page adbc/set-autoload-to-no-transients
|
Turns autoload off for chosen transients. | Write | Verified |
|
Load transients on every page adbc/set-autoload-to-yes-transients
|
Turns autoload on for chosen transients. | Write | Verified |
|
Delete transients adbc/delete-transients
|
Deletes chosen transients. | Write | Verified |
|
List post meta adbc/get-posts-meta-list
|
Post meta with size; can list only unused or only duplicated rows. | Read | Verified |
|
Count big post meta adbc/count-big-posts-meta
|
How many post meta rows are unusually large. | Read | Verified |
|
Count duplicated post meta adbc/count-duplicated-posts-meta
|
How many post meta rows are duplicates. | Read | Verified |
|
Count unused post meta adbc/count-unused-posts-meta
|
How many post meta rows belong to posts that no longer exist. | Read | Verified |
|
Count post meta not scanned adbc/count-total-not-scanned-posts-meta
|
How many post meta keys have no owner found yet. | Read | Verified |
|
Delete post meta adbc/delete-posts-meta
|
Deletes chosen post meta. | Write | Verified |
|
List user meta adbc/get-users-meta-list
|
User meta with size; can list only unused or only duplicated rows. | Read | Verified |
|
Count big user meta adbc/count-big-users-meta
|
How many user meta rows are unusually large. | Read | Verified |
|
Count duplicated user meta adbc/count-duplicated-users-meta
|
How many user meta rows are duplicates. | Read | Verified |
|
Count unused user meta adbc/count-unused-users-meta
|
How many user meta rows belong to users that no longer exist. | Read | Verified |
|
Count user meta not scanned adbc/count-total-not-scanned-users-meta
|
How many user meta keys have no owner found yet. | Read | Verified |
|
Delete user meta adbc/delete-users-meta
|
Deletes chosen user meta. | Write | Verified |
|
List post types adbc/get-post-types-list
|
Every post type in the database with its post count and whether it is public. | Read | Verified |
|
List posts of a post type adbc/list-posts-by-post-type
|
The posts of one post type, including types no plugin registers any more. | Read | Verified |
|
Count large hidden post types adbc/count-total-large-non-public-post-types
|
How many non-public post types hold many posts. | Read | Verified |
|
Count post types not scanned adbc/count-total-not-scanned-post-types
|
How many post types have no owner found yet. | Read | Verified |
|
Delete posts of a post type adbc/delete-posts-by-post-type
|
Deletes every post of chosen post types. | Write | Verified |
|
List cron jobs adbc/get-cron-jobs-list
|
Scheduled jobs with schedule, next run and whether anything handles them. | Read | Verified |
|
Count cron jobs with no handler adbc/count-total-cron-jobs-with-no-action
|
How many scheduled jobs have nothing attached to run. | Read | Verified |
|
Count cron jobs not scanned adbc/count-total-not-scanned-cron-jobs
|
How many scheduled jobs have no owner found yet. | Read | Verified |
|
Delete cron jobs adbc/delete-cron-jobs
|
Deletes chosen scheduled jobs. | Write | Verified |
|
List schedules adbc/get-all-schedule-frequencies
|
Every cron schedule on the site with its interval. | Read | Verified |
|
Read a full value adbc/get-column-value-from-table
|
The full stored value of one option, transient or meta row. | Read | Verified |
|
List cleanup tasks adbc/list-tasks
|
Scheduled cleanup tasks, active and paused. | Read | Verified |
|
Get a cleanup task adbc/get-task
|
One scheduled cleanup task with its schedule and categories. | Read | Verified |
|
Create a cleanup task adbc/create-task
|
Schedules a cleanup of chosen categories. | Write | Verified |
|
Change a cleanup task adbc/update-task
|
Changes a scheduled cleanup. | Write | Verified |
|
Delete a cleanup task adbc/delete-task
|
Deletes a scheduled cleanup. | Write | Verified |
|
Get a setting adbc/get-setting
|
One Advanced Database Cleaner setting. | Read | Verified |
|
Change settings adbc/update-settings
|
Changes Advanced Database Cleaner settings. | Write | Verified |
|
Get database size adbc/get-last-week-database-size-for-free-version
|
The database size; in the free version every day of the week shows today's size. | Read | Verified |
|
Read logs adbc/get-logs-content
|
The plugin's debug log, WordPress's debug log, or the Database Operations Log of the changes the plugin made. | Read | Verified |
|
Clear the debug log adbc/clear-logs-content
|
Empties the plugin's debug log. | Write | Verified |
|
Confirm a previewed change adbc/confirm-destructive-action
|
Runs a change you previewed, after your yes in chat. | Write | Verified |
|
Check a background job adbc/get-job
|
Whether a confirmed change is queued, running or completed. | Read | Verified |
|
Cancel a background job adbc/cancel-job
|
Cancels a confirmed change before it runs. | Write | Verified |
Behavior the ability descriptions do not mention.
Works with AI is WPVibe’s verification program. Every ability marked verified was run on a live Advanced Database Cleaner install, and we rescan WordPress.org weekly so a release that adds or removes abilities shows up here before it surprises you.
Learn more about Advanced Database Cleaner at sigmaplugin.com.