← 返回 Skills 市场
marcindudekdev

MakeWPFast Benchmark

作者 Marcin Dudek · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
29
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install makewpfast-bench
功能描述
This skill should be used when the user asks about a WordPress plugin's or theme's real performance/speed impact, wants to compare the speed of plugins or th...
使用说明 (SKILL.md)

MakeWPFast Benchmark API

Answer questions about the real, measured performance impact of WordPress plugins and themes using the bundled mwf-bench CLI. Each plugin/theme has a speed grade plus TTFB, memory, and query deltas measured in three contexts (activation, homepage, wp-admin) against a clean WordPress baseline.

The API is paid and quota-limited. The CLI protects the user's quota with a local cache, name→slug resolution, and batch guards — so always delegate to the CLI; never hand-write curl. Treat the CLI as the only way to touch the API.

Setup (once)

The CLI needs an API key (subscribe at https://makewpfast.com/api/). It is read from, in order: MWF_API_KEY env var → macOS keychain → ~/.config/makewpfast/key.

  • If no key is configured, the CLI prints a subscribe link and exits. Relay that to the user.
  • To store a key: scripts/mwf-bench auth (prompts, never echoes), or export MWF_API_KEY=....

Usage

Run the CLI at scripts/mwf-bench (relative to this skill). Parse its stdout. Add --format json when you need structured data to reason further; the default text output is already human-readable.

Goal Command
One plugin mwf-bench lookup "WooCommerce"
One theme mwf-bench lookup astra --theme
Compare several mwf-bench compare wordpress-seo seo-by-rank-math
Quota / tier (free) mwf-bench me
Just the slug mwf-bench resolve "Yoast SEO"
Audit a local site mwf-bench audit --path /path/to/wp --top 10

Accepts plain names ("WooCommerce", "Yoast SEO") or exact slugs. The CLI resolves names to WordPress.org slugs for free before spending any paid quota.

Rules (protect the user's quota)

  • Never write raw curl. Every API interaction goes through mwf-bench.
  • Prefer compare over multiple lookup calls when the user names several plugins.
  • Don't re-query a slug already fetched this session unless the user says the data is stale (add --refresh only then). Cached rows are free and printed as "(cached, N days old)".
  • For broad / site-wide asks, run mwf-bench me first to show remaining quota, then use audit (it benchmarks only active, heaviest plugins) rather than looping over everything.
  • If the CLI returns "Ambiguous" candidates (exit 3), stop and ask the user which one before spending quota — do not guess the slug from training data.
  • A 404 means the slug isn't in the dataset (not in dataset); benchmarked: false means the slug is known but not yet measured. Report these honestly; don't invent numbers.
  • On 401/403/429 the CLI prints the subscribe/upgrade link — relay it, don't retry.

Interpreting results

  • Speed grade A–F (+ numeric 0–100) is computed from activation memory + query deltas. Higher numeric = faster/lighter.
  • Deltas are vs a clean WP baseline: TTFB in ms, memory in KB, queries are raw counts. A context can be null/not measured (e.g. an admin-only plugin has no homepage row) — treat null as "not measured", not "zero impact".
  • Suggesting faster alternatives is your job after seeing the numbers — the API has no search endpoint, so propose alternatives, then verify them with another compare.

See references/api.md for the full field/status reference and references/examples.md for worked prompt→command examples.

安全使用建议
Install only if you are comfortable using a paid MakeWPFast API key. Local site audits use wp-cli to identify active plugin slugs and may query those slugs against the external API, consuming quota unless cached. Review the local cache, calls log, and API-key storage location if you need tighter operational control.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is WordPress plugin/theme performance lookup, comparison, and local active-plugin audit; the bundled CLI capabilities match that purpose.
Instruction Scope
Instructions constrain agents to the bundled CLI, prefer quota-saving commands, run quota checks before broad audits, and stop on ambiguity; audit use would send active plugin slugs to the benchmark service, which is expected but worth noting.
Install Mechanism
The package contains markdown references and a Python standard-library CLI script; no automatic installer, background service, or hidden activation path is present.
Credentials
The CLI reads an API key from environment, macOS keychain, or a local config file, uses wp-cli only to list active plugin names for audits, and calls MakeWPFast and WordPress.org APIs as part of the advertised workflow.
Persistence & Privilege
Persistence is limited to an optional stored API key, local benchmark/name-resolution cache, and a calls log under user config/cache paths; no privilege escalation or long-running process is shown.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install makewpfast-bench
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /makewpfast-bench 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: lookup/compare/audit/me/resolve for the MakeWPFast Benchmark API, with name-to-slug resolution, local cache, and quota guards.
元数据
Slug makewpfast-bench
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

MakeWPFast Benchmark 是什么?

This skill should be used when the user asks about a WordPress plugin's or theme's real performance/speed impact, wants to compare the speed of plugins or th... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 29 次。

如何安装 MakeWPFast Benchmark?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install makewpfast-bench」即可一键安装,无需额外配置。

MakeWPFast Benchmark 是免费的吗?

是的,MakeWPFast Benchmark 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

MakeWPFast Benchmark 支持哪些平台?

MakeWPFast Benchmark 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 MakeWPFast Benchmark?

由 Marcin Dudek(@marcindudekdev)开发并维护,当前版本 v1.0.0。

💬 留言讨论