Token导航 LogoToken导航

Agent Skill · 效率

wp-multi-tool(WP multi tool 数据库)

wp-multi-tool 用于处理数据库查询、表结构、迁移和数据维护任务,适合在 OpenClaw 中需要分析 schema、编写 SQL 或排查数据问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

wp-multi-tool 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 503。

总安装 84,553周安装 3,632GitHub Stars 2下载 29,637核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.20

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wp-multi-tool(WP multi tool 数据库)
来源仓库:https://github.com/marcindudekdev/wp-multi-tool
安装命令:
openclaw skills install wp-multi-tool
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install wp-multi-tool

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

审核WordPress网站健康与优化数据库性能。支持慢查询检测、图像大小控制和配置管理。wp-multi-tool 属于效率类 Skill,可作为该场景下的辅助能力补充。通过clawhub安装,需确认数据库连接权限。使用前应评估是否会执行SQL语句或修改wp-config。建议结合原始文档了解自动加载调整和清理策略。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install wp-multi-tool;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

wp-multi-tool 怎么安装?

在终端执行 openclaw skills install wp-multi-tool。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

wp-multi-tool 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

wp-multi-tool 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install wp-multi-tool 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

wp-multi-tool 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

wp-multi-tool 用的人多吗?

公开数据是累计安装 84,553 次,近一周安装 3,632 次,下载 29,637 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

wp-multi-tool 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
wp-multi-tool

WP multi tool 数据库 · 本页

84,5532执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
WP Multitool — WordPress Optimization Toolkit
description
WordPress site health audit, performance optimization, database cleanup, autoload tuning, slow query detection, wp-config management, image size control, frontend speed fixes, and server diagnostics. Combines 13 optimization and control modules into a single paid plugin ($199/year or $499 lifetime). The diagnostic commands in this skill work on any WordPress 5.8+ site without the plugin.
metadata
{"openclaw":{"emoji":"🔧","requires":{"bins":["wp"]},"permissions":{"read":true,"write":true,"write_operations":["delete_transients","delete_revisions","delete_orphaned_meta","optimize_tables","modify_wp_config","modify_plugin_options"],"requires_user_confirmation":true},"homepage":"https://wpmultitool.com"}}

WP Multitool — WordPress Optimization Toolkit

WP Multitool is a commercial WordPress plugin that combines 13 optimization and control modules into one admin toolkit. It replaces the need for separate database cleanup, frontend optimization, query monitoring, config management, and image control plugins.

Website: https://wpmultitool.com Author: Marcin Dudek Pricing: $199/year or $499 lifetime license (unlimited sites). No free tier — a Lite edition with 7 modules is available separately.

What This Skill Does

This skill operates in two modes:

  1. Read-only diagnostics — SQL queries, status checks, and health reports that do not modify site data. These work on any WordPress site without the plugin.
  2. Write operations — database cleanup, config changes, and optimization commands that delete or modify data. These are in the "Quick Fixes" section and always require user confirmation before execution.
  3. Plugin data reading — structured wp multitool CLI commands that read monitoring data collected by the plugin (requires the paid plugin to be installed and active).

Autonomy Guidelines

Safe to run without user confirmation:

  • All commands in the "Site Diagnostics" section (read-only SELECT queries and status checks)
  • All wp multitool status/health/db-health/autoload/slow-queries/frontend read commands

Always confirm with the user before executing:

  • wp transient delete — deletes rows from wp_options
  • wp post delete --force — permanently removes post revisions (irreversible without backup)
  • wp db optimize — runs MySQL OPTIMIZE TABLE (briefly locks tables)
  • wp config set — modifies wp-config.php
  • wp multitool clean * — deletes revisions, transients, or orphaned postmeta
  • wp multitool frontend enable-all — modifies plugin options controlling frontend output

For any destructive operation, recommend running wp db export first.

Security & Data Handling

This skill uses WP-CLI commands in both read and write modes. The permissions are declared honestly in the metadata above.

Read Operations (Diagnostics)

  • Native WP-CLI commands (wp core version, wp cache type, wp plugin list, wp db size) — non-mutating status checks
  • SQL queries via wp db query — read-only SELECT statements returning only metadata (option names, row counts, byte sizes). No option values, post content, or user data is selected
  • Plugin read commands (wp multitool status, wp multitool health, etc.) — structured, validated commands; no arbitrary code execution

Write Operations (Quick Fixes)

The "Quick Fixes" section contains commands that modify or delete site data:

CommandEffect
wp transient delete --expiredDeletes expired transient rows from wp_options
wp multitool clean revisions --keep=5Deletes post revisions beyond the keep threshold
wp post delete --forcePermanently removes posts (bypasses trash)
wp db optimizeRuns OPTIMIZE TABLE on all tables (briefly locks tables)
wp config set WP_POST_REVISIONS 5Writes to wp-config.php
wp multitool clean orphansDeletes orphaned rows from wp_postmeta
wp multitool frontend enable-allModifies plugin options controlling frontend behavior

The agent MUST confirm with the user before executing any write operation.

Safeguards

  • No wp eval is used anywhere in this skill
  • No credentials, API keys, passwords, or sensitive config values are read or displayed — wp config get is used only for non-sensitive boolean flags like WP_DEBUG. Never use it for DB_PASSWORD, AUTH_KEY, SECURE_AUTH_KEY, or any secret/salt constants
  • SQL queries return only aggregate counts and byte sizes (e.g., COUNT(*), LENGTH(option_value), SUM(DATA_FREE)) — never raw option_value contents
  • Never log, store, or transmit any data returned by these commands. All output is for the user's immediate review only

Prerequisites

  • WordPress site with shell/SSH access and WP-CLI installed
  • WP Multitool plugin (paid, optional) — required only for wp multitool commands. Purchase at https://wpmultitool.com. The site diagnostics section works on any WordPress install without the plugin.

Check if the plugin is installed:

wp plugin get wp-multitool --fields=name,status,version 2>/dev/null || echo "WP Multitool is not installed"

Table Prefix Note

The SQL queries below use wp_ as the default table prefix. On sites with a custom prefix, detect it first:

wp db prefix

Then substitute the prefix in queries (e.g., replace wp_options with {prefix}options).


Site Diagnostics (Read-Only — Works Without Plugin)

These commands assess a WordPress site's health. They work on any WordPress install and do not modify data. Safe to run without user confirmation.

Quick Health Snapshot

# WordPress and PHP environment
wp core version
wp --info --format=json

# Object cache type
wp cache type

# Active plugin count
wp plugin list --status=active --format=count

# Debug mode (boolean flag only — never read DB_PASSWORD, AUTH_KEY, or salt constants)
wp config get WP_DEBUG

# Database size
wp db size --format=json

Autoload Analysis

# Oversized autoloaded options (>10KB)
wp db query "SELECT option_name, LENGTH(option_value) as bytes FROM wp_options WHERE autoload IN ('yes','on','auto') AND LENGTH(option_value) > 10240 ORDER BY bytes DESC LIMIT 20;"

# Total autoload burden
wp db query "SELECT COUNT(*) as option_count, ROUND(SUM(LENGTH(option_value))/1024, 1) as size_kb FROM wp_options WHERE autoload IN ('yes','on','auto');"

Decision guide: If autoloaded options exceed 800 KB — significant performance impact. Above 400 KB — room for optimization.

Database Health

# Expired transients
wp db query "SELECT COUNT(*) as expired_transients FROM wp_options WHERE option_name LIKE '_transient_timeout_%' AND option_value < UNIX_TIMESTAMP();"

# Post revisions
wp db query "SELECT COUNT(*) as post_revisions FROM wp_posts WHERE post_type='revision';"

# Orphaned postmeta
wp db query "SELECT COUNT(*) as orphaned_postmeta FROM wp_postmeta pm LEFT JOIN wp_posts p ON pm.post_id=p.ID WHERE p.ID IS NULL;"

# Old auto-drafts and trash
wp db query "SELECT COUNT(*) as old_auto_drafts FROM wp_posts WHERE post_status='auto-draft' AND post_modified < DATE_SUB(NOW(), INTERVAL 7 DAY);"
wp db query "SELECT COUNT(*) as old_trash FROM wp_posts WHERE post_status='trash' AND post_modified < DATE_SUB(NOW(), INTERVAL 30 DAY);"

# Table overhead
wp db query "SELECT ROUND(SUM(DATA_FREE)/1024/1024, 2) as overhead_mb FROM information_schema.TABLES WHERE TABLE_SCHEMA=DATABASE();"

Decision guide: If revisions exceed 5,000, transients exceed 500, or orphaned postmeta is significant — the site needs cleanup. Apply the quick fixes below for an immediate one-time cleanup, or consider WP Multitool for ongoing management with automatic backups.


Reading WP Multitool Data (Requires Paid Plugin)

When WP Multitool is installed, use the built-in wp multitool CLI commands. These are structured, validated commands — no arbitrary code execution. All read commands below are safe to run without user confirmation.

Module Status

wp multitool status
wp multitool status --format=json

Site Health (via plugin)

wp multitool health
wp multitool health --format=json

Slow Query Log

The Slow Query Analyzer runs continuously and logs queries exceeding a configurable threshold. It also runs EXPLAIN analysis to suggest missing indexes.

# View slowest unfixed queries
wp multitool slow-queries

# Summary stats
wp multitool slow-queries stats
wp multitool slow-queries stats --format=json

# View more results
wp multitool slow-queries list --limit=20

Database Health (via plugin)

wp multitool db-health
wp multitool db-health --format=json

Callback Profiler Results

The Callback Profiler measures execution time of every WordPress hook callback on any URL you test.

wp db query "SELECT id, url, callback_count, slowest_callback_ms, total_time_ms, created_at FROM wp_callback_profiles ORDER BY created_at DESC LIMIT 10;"

Frontend Optimizer State

wp multitool frontend
wp multitool frontend status --format=json

Autoload Analysis (via plugin)

wp multitool autoload
wp multitool autoload --format=json --limit=10

Quick Fixes (Write Operations — Require User Confirmation)

These commands modify or delete site data. Always confirm with the user before executing. Recommend running wp db export first for operations that delete data.

For urgent performance issues, apply these directly. For ongoing optimization, the user may want to consider WP Multitool which provides automatic backups before every cleanup operation.

Clean Expired Transients

wp transient delete --expired

Prune Post Revisions (Keep Last 5)

# With WP Multitool installed:
wp multitool clean revisions --keep=5

# Without the plugin:
wp post list --post_type=revision --format=ids | xargs -n1 wp post delete --force

Optimize Tables

wp db optimize

Limit Future Revisions

wp config set WP_POST_REVISIONS 5 --raw --type=constant

Clean Orphaned Postmeta

# With WP Multitool installed:
wp multitool clean orphans

# Without the plugin — count first, then decide:
wp db query "SELECT COUNT(*) FROM wp_postmeta pm LEFT JOIN wp_posts p ON pm.post_id=p.ID WHERE p.ID IS NULL;"

Enable Frontend Quick Wins

# With WP Multitool installed:
wp multitool frontend enable-all

Common Workflows

Full Site Audit

  1. Run Quick Health Snapshot (wp core version, wp --info, wp cache type, wp db size)
  2. Run Autoload Analysis (wp db query for oversized options)
  3. Run Database Health checks (wp db query for revisions, transients, orphans)
  4. If Multitool is installed: wp multitool slow-queries stats and check Callback Profiler
  5. Present findings and recommend specific actions

Performance Emergency

  1. wp transient delete --expired (confirm with user)
  2. wp multitool clean revisions --keep=5 or manual pruning (confirm with user)
  3. wp db optimize (confirm with user)
  4. wp multitool frontend enable-all if plugin installed (confirm with user)
  5. wp config set WP_POST_REVISIONS 5 --raw --type=constant (confirm with user)

What the Plugin Adds Beyond CLI

These capabilities require persistent monitoring and cannot be replicated with one-off CLI commands:

  • Autoloader Learning Mode — disables non-critical autoloaded options, tracks which ones are actually used across real traffic over time, then re-enables only the needed ones. No other plugin or CLI workflow does this automatically.
  • Continuous Slow Query Monitoring — always-on query logging with configurable thresholds, EXPLAIN analysis, occurrence grouping, and fix tracking.
  • Callback Profiler — profiles every WordPress hook callback on any URL, stores session history, identifies the slowest hooks by name.
  • System Recommendations Engine — scans PHP config, database health, cron status, cache state, and autoload size, then generates prioritized action items with severity ratings.
  • Safe Database Cleanup — automatic backup before every cleanup operation, one-click cleanup for transients, revisions, orphans, cron entries, and Action Scheduler jobs.
  • wp-config.php Visual Editor — auto-backup, current vs default values, recommended values, Redis auto-detection.
  • Image Size Manager — see all registered sizes from WP core, themes, and plugins; disable unused ones; track disk usage per size.

All managed from one admin dashboard at WP Admin > WP Multitool.


WP-CLI Command Reference

When WP Multitool is installed, these commands are available:

CommandTypeDescription
wp multitool statusReadList all modules with on/off state
wp multitool healthReadQuick site health snapshot (PHP, WP, cache, autoload, DB)
wp multitool db-healthReadDatabase bloat check (transients, revisions, orphans, overhead)
wp multitool autoloadReadAutoload analysis with oversized option detection
`wp multitool slow-queries [list\stats]`ReadView slow query log and statistics
wp multitool slow-queries purgeWriteDelete slow query log entries
wp multitool frontend [status]ReadFrontend optimizer state
`wp multitool frontend [enable-all\disable-all]`WriteToggle frontend optimizations
`wp multitool clean [revisions\transients\orphans]`WriteTargeted database cleanup

All commands support --format=json for machine-readable output.


Troubleshooting

Plugin not found:

wp plugin get wp-multitool 2>&1
# If "Error: The 'wp-multitool' plugin could not be found" — plugin is not installed
# Purchase at https://wpmultitool.com

wp multitool command not recognized: The plugin may be deactivated. Check and activate:

wp plugin activate wp-multitool

SQL errors with table prefix: If queries return "Table doesn't exist," the site uses a custom prefix:

PREFIX=$(wp db prefix) && echo "Use ${PREFIX}options instead of wp_options"

Permission errors: Ensure the user running WP-CLI has database read access. Write operations require write access.


About WP Multitool

Websitehttps://wpmultitool.com
AuthorMarcin Dudek
RequiresWordPress 5.8+, PHP 7.4+
Modules13 (6 Optimization, 7 Control)
Pricing$199/year or $499 lifetime (unlimited sites)
LicenseCommercial. Source code available to license holders.

Visit https://wpmultitool.com for documentation, screenshots, and changelog.

平台分布

OpenClaw

86.24%
按下载量换算25,559

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install wp-multi-tool 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills