← 返回 Skills 市场
abhibavishi

WordPress to Static Site

作者 abhibavishi · GitHub ↗ · v1.2.0
darwinlinux ✓ 安全检测通过
1002
总下载
4
收藏
3
当前安装
3
版本数
在 OpenClaw 中安装
/install wp-to-static
功能描述
Convert a WordPress website to a static site and deploy to Cloudflare Pages. Mirrors the rendered HTML via SSH, extracts only referenced assets (shrinks 1.5GB+ to ~25MB), fixes URLs, self-hosts fonts, strips WordPress cruft, and deploys. Use when migrating a WordPress site to static hosting.
安全使用建议
This skill appears to do what it says, but you should: (1) ensure your SSH key and known_hosts are correct and that you understand the remote commands that will run; (2) double-check the rsync exclude patterns and run the provided 'find' checks to confirm no PHP/config/.env files were copied before committing or pushing; (3) review the Git repo locally before pushing to GitHub to avoid accidentally committing secrets; (4) keep backups of the original site until the static deployment is validated; (5) prefer running these commands interactively yourself (the skill is instruction-only and model invocation is disabled) so you can confirm each step. If you need greater assurance, ask the skill author for a sample dry-run output or a checklist showing the exact files that will be transferred and excluded.
功能分析
Type: OpenClaw Skill Name: wp-to-static Version: 1.2.0 The skill bundle is designed for a complex, high-privilege operation (migrating a WordPress site via SSH to static hosting). Despite requiring extensive permissions (SSH, file system, network access), the `SKILL.md` demonstrates an exceptionally strong focus on security. It explicitly defines and enforces numerous security best practices, including using `ssh-agent`, strict host key checking, comprehensive exclusion of sensitive files during rsync, multiple verification steps to prevent data leakage or accidental commits, and clear 'Safety Rules' for the agent. The instructions are transparent, directly align with the stated purpose, and include `disable-model-invocation: true`. There is no evidence of intentional malicious behavior, data exfiltration, persistence, or obfuscation.
能力评估
Purpose & Capability
Requested binaries (ssh, ssh-agent, rsync, curl, git, gh, wrangler) and env vars (WP_SSH_*, WP_SITE_URL, WP_SITE_NAME) align with an SSH-based site mirror, selective rsync, GitHub repo creation, and Cloudflare Pages deployment. Minor note: the instructions use wget on the remote server (not required locally), which explains why wget is not in the local required-bins list.
Instruction Scope
The SKILL.md stays on-task (SSH to server, mirror rendered HTML, rsync back, strip server-side files, create repo, deploy). It explicitly forbids bypassing host-key verification and warns not to commit credentials. However, the workflow still transfers many site assets and runs rsync on plugin/theme dirs; the user must verify the exclude rules removed all server-side or sensitive files before creating a repo or deploying. The skill's instructions put manual checks on the user (verify no PHP/config files), which is appropriate but important to follow.
Install Mechanism
Instruction-only skill with no install spec and no downloads — lowest-risk install model. There is no distributed code fetched by the skill itself.
Credentials
Required environment variables are limited to SSH connection info and site identifiers needed for mirroring and naming. Optional CF_ACCOUNT_ID and GH visibility are reasonable. No unrelated cloud secrets or broad credentials are requested.
Persistence & Privilege
Skill is not always-enabled, and model invocation is disabled (disable-model-invocation: true), so it cannot autonomously run. It does not request persistent system-wide config changes or other skills' credentials.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wp-to-static
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wp-to-static 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
Exclude PHP/config/sensitive files from rsync, add post-rsync verification, scrub build dir before git operations, verify no server-side files in public dir
v1.1.0
Security hardening: removed StrictHostKeyChecking=no, switched to ssh-agent for key handling (no passphrase env vars), added explicit gh/wrangler auth verification, added Security Model section
v1.0.0
Initial release: SSH mirror, asset extraction, URL rewriting, Google Fonts self-hosting, Cloudflare Pages deployment
元数据
Slug wp-to-static
版本 1.2.0
许可证
累计安装 4
当前安装数 3
历史版本数 3
常见问题

WordPress to Static Site 是什么?

Convert a WordPress website to a static site and deploy to Cloudflare Pages. Mirrors the rendered HTML via SSH, extracts only referenced assets (shrinks 1.5GB+ to ~25MB), fixes URLs, self-hosts fonts, strips WordPress cruft, and deploys. Use when migrating a WordPress site to static hosting. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1002 次。

如何安装 WordPress to Static Site?

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

WordPress to Static Site 是免费的吗?

是的,WordPress to Static Site 完全免费(开源免费),可自由下载、安装和使用。

WordPress to Static Site 支持哪些平台?

WordPress to Static Site 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。

谁开发了 WordPress to Static Site?

由 abhibavishi(@abhibavishi)开发并维护,当前版本 v1.2.0。

💬 留言讨论