Skip to main content

Works with AI · Verified on v4.3.1

Advanced Database Cleaner logo

Manage Advanced Database Cleaner with AI

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.

100,000+ active installs 74 verified abilities Last verified Nov 30, 2026

What your AI can do with Advanced Database Cleaner

One connection gives your assistant structured, permission-checked access to the whole site.

Database health report

Size, the biggest tables, autoloaded data and old data waiting to be cleaned, with nothing changed.

Autoloaded options

The biggest options loaded on every page, with likely owners, and one you pick stopped after a preview and your yes.

Left-over cron jobs

Scheduled jobs with no handler, grouped by plugin and checked against what is installed.

Before you clean

What one cleanup category would delete, item by item, and the Keep last rule that applies.

Things to ask

Paste any of these into Claude or ChatGPT once Advanced Database Cleaner is connected.

“Give me a health report of my database. Don't change anything.”
“Which options load on every page and are the biggest?”
“Find cron jobs left behind by plugins I removed.”
“Before I clean up revisions, show me what it would delete.”

Up and running in three steps

1

Install WPVibe

Add the free WPVibe plugin from WordPress.org to the site running Advanced Database Cleaner.

2

Connect your AI

Claude, ChatGPT, Cursor, and more. One click to authorize, and no passwords ever go in the chat.

3

Ask in plain English

“Give me a health report of my database. Don't change anything.”

Verified Advanced Database Cleaner recipes

Copy-paste playbooks, each one tested on a live Advanced Database Cleaner install before it ships.

Every Advanced Database Cleaner ability

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

What we learned testing it

Behavior the ability descriptions do not mention.

  • The abilities are off until you turn on "Expose plugin abilities" in Advanced Database Cleaner, Settings, Developer integrations. They also need version 4.3 or newer, WordPress 6.9 or newer, PHP 8.2 or newer and OpenSSL; without them nothing registers, even though the plugin itself runs on older PHP.
  • Every change that can lose or alter data takes two steps (only turning automatic counts on or off, refreshing table row counts and cancelling a job skip the preview). The first call only previews what would change and does nothing. The change runs when the AI calls the confirm ability after you say yes in a new message. A preview lasts 5 minutes and works once; after that, the AI asks for a new one.
  • WPVibe's approval page appears for previews of abilities whose names say delete, empty or purge. The confirm call that makes the change has no WPVibe approval page, and no other change has one either: optimize, repair, convert, autoload, setting Keep last rules, settings, clearing the debug log, and creating or changing a scheduled cleanup task, which later deletes on its own. Advanced Database Cleaner's rule that you say yes in chat is what holds them, and the plugin notes it cannot check who wrote that yes. The recipes stop and wait for you.
  • Most confirmed changes (cleanups, deletions, autoload and table changes, cron jobs) run in the background through the site's scheduled tasks: the AI gets a job id and checks it until it says completed, and on a quiet site a job can wait until the background queue runs. A queued job can be cancelled before it starts, and it stops on its own if the plugin's cleanup settings or Keep last rules change before it runs. Refreshing table row counts also runs in the background, with no preview. Keep last, cleanup task, settings and debug log changes run at once, and so do turning automatic counts on or off and cancelling a job.
  • Advanced Database Cleaner runs these abilities over the REST API only for an administrator signed in with an Application Password over HTTPS, which is how WPVibe connects. Background jobs are tied to that password: in our test, a job whose password was deleted before it ran did nothing. On multisite, only a super admin can run them.
  • Some abilities are Premium only: running SQL queries, the database's name, prefixes and charset, charts, size history, scan results, cleanup task run history, add-ons list and activity, and license. In the free version they answer with an upgrade message and do nothing.
  • The free version ignores search, plugin, theme, date, schedule and post type filters in its lists, and shows an owner only for WordPress core items and its own, so the AI guesses which plugin owns the rest from their names. Its last-week database size repeats today's size for every day.
  • A preview accepts WordPress core options (we previewed turning off autoload for wp_user_roles), but while the plugin's setting that protects WordPress items is on, as it is by default, the plugin refuses to change them: the confirmed job stops with an error at the first WordPress core item, after changing any items before it. That setting can be turned off with the settings ability, after a preview and with no WPVibe approval page. The recipes leave core items alone.
  • Every cleanup, deletion, autoload change and table change is recorded in the plugin's Database Operations Log, which keeps the newest entries and which the AI can read. If the log cannot be written, the change still runs and the result says so. Keep last, cleanup task and settings changes are not logged there.
  • The read abilities can show any row of any table and the full value of any option, including user emails, password hashes and API keys that plugins store in options, with no approval page. The recipes ask only for counts, sizes, names, titles and dates, though the lists they read also carry the start of each value (a comment's first words, for example) and each cron job's arguments.
  • Keep last rules and scheduled cleanup tasks keep data by days only: keeping a number of items is Premium, and the preview accepts it but the free version refuses it. Scheduled cleanup tasks take only the plugin's own schedules (once, hourly, twice daily, daily, weekly, monthly). A scheduled cleanup deletes on its own, so no recipe sets one up.

Verified, and kept that way

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.