wordpress-api-pro

作者 Digitizers已验证

🔧 Manage WordPress sites via REST API — posts, media, Elementor, WooCommerce, ACF, Rank Math. Multi-site support.

0
Stars
1
Forks
Python
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Digitizers/wordpress-api-pro

快速入门

使用 wordpress-api-pro 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

WordPress API Pro — Claude Code & OpenClaw Skill

CI Claude Code Skill OpenClaw Skill WordPress License: MIT--0 Version

A production-grade Claude Code & OpenClaw skill for managing WordPress content via the REST API — posts, pages, media, WooCommerce, Elementor, SEO meta, ACF, JetEngine — with explicit safety boundaries for agentic use.

This is not just a tool reference. It is an operational playbook for managing WordPress content responsibly: posts, pages, media, WooCommerce products, Elementor content, SEO metadata, and custom fields — with drafts-first, dry-run, and explicit-approval guardrails on every write.

Part of the Aura Design Engine

These are the free skills behind Aura — one AI web-agency lifecycle you can run standalone or orchestrate across a whole client fleet from a single dashboard.

StageSkillRole
🎨 Buildsiteagent-elementor-studioDesign & build sites inside Elementor
🔎 Audit + Contentwordpress-api-pro ← you are hereREST content ops, SEO & site audits
🖥 Hostcloudways-mcp · hostinger-mcpProvision & operate the infrastructure

→ Orchestrate all of it across your client fleet with Aura — governed agent ops with approvals and a full audit trail on top of these skills.

Seeding, or Aura content ops

This skill can seed content over the WordPress REST API — bulk-create posts, pages, and custom-post-type entries from a JSON dataset. It's the operator-side twin of Aura's content tools; which one to use comes down to who owns the site:

  • This skill (seeding) — for sites you own or throwaway/staging sites: bulk scaffolding, demos, one-shot imports. Note: seeding is not idempotent — there's no upsert, so re-running the same seed duplicates content. Track what you've created.
  • Aura content ops — for managed client sites, drive content through Aura instead. Aura is the system-of-record: drafts-first and explicit-approval guardrails, a full audit trail, and content state it can reconcile. Seeding a managed site directly forks its content state out from under Aura.

Rule of thumb: seed sites you own; let Aura own content on sites you manage for others.

Features

  • Elementor Content — read and update Elementor page content via _elementor_data.
  • Media Upload — upload images/files to the WordPress media library.
  • WooCommerce Products — list, create, read, and update WooCommerce products.
  • Full CRUD — create, read, update, and delete posts/pages.
  • Gutenberg Support — native block format and content workflows.
  • Secure Auth — WordPress Application Passwords recommended.
  • Media Management — local media upload plus explicit opt-in remote HTTPS media.
  • Batch Operations — list, filter, dry-run, and bulk update content.
  • Multi-Site Workflows — manage named sites and site groups with wp.sh.
  • Plugin Support — ACF, JetEngine, Rank Math, and Yoast SEO helpers.
  • Safety Gates — dry-run defaults, explicit live-write flags, protected local file reads, and private-network URL blocking.
  • CI Verified — tested on Python 3.11, 3.12, and 3.13.

Package Layout

The actual skill payload lives in:

wordpress-api-pro/

Repository-only files such as this README, changelog, license, CI, and package metadata intentionally stay outside the skill directory.

ClawHub package directory: wordpress-api-pro/.

Version

Current version: 3.8.2

Installation

Via OpenClaw / ClawHub

openclaw skills install wordpress-api-pro

Manual Installation

cp -R wordpress-api-pro ~/.openclaw/workspace/skills/wordpress-api-pro

Via Claude Code

The skill also runs in Claude Code. The installer copies the payload into ~/.claude/skills/ so Claude Code discovers it automatically:

git clone https://github.com/Digitizers/wordpress-api-pro.git
cd wordpress-api-pro
bash INSTALL.sh

Windows note

The plugin ships its skill through a git symlink (skills/ → the in-repo source). On Windows, enable Developer Mode and set git config --global core.symlinks true before cloning or installing — the plugin cache clone inherits it. Changing the config does not repair an existing checkout (the repo may have recorded core.symlinks=false locally). To repair one, run these two commands inside it (the second re-materializes only the plugin's symlink entries, so nothing else in your working tree is touched):

git config core.symlinks true
git checkout -- skills/ .claude/skills/

Or simply re-clone. WSL also works. macOS/Linux need nothing.

Then restart Claude Code, export WP_URL / WP_USERNAME / WP_APP_PASSWORD (or set up config/sites.json), and ask Claude to use it. The ACF / SEO / JetEngine / plugin-detection scripts need requests (pip install requests); the core post/page/media/WooCommerce/batch scripts use the Python stdlib only.

Pairs well with the Elementor MCP kit: build pages with the MCP, then handle media uploads, SEO meta, custom fields, and WooCommerce with these scripts.

Quick Start

Option A: Multi-Site Setup — recommended for 2+ sites ⭐

1. Copy config template:

cd ~/.openclaw/workspace/skills/wordpress-api-pro
cp config/sites.example.json config/sites.json
chmod 600 config/sites.json

2. Edit config/sites.json:

{
  "sites": {
    "client-main": {
      "url": "https://example.com",
      "username": "wp-api-user",
      "app_password": "",
      "description": "Primary client site"
    },
    "client-shop": {
      "url": "https://shop.example.com",
      "username": "wp-api-user",
      "app_password": "",
      "description": "WooCommerce shop"
    }
  },
  "groups": {
    "client": ["client-main", "client-shop"]
  }
}

Keep real credentials local only. Do not commit config/sites.json.

3. Use the CLI wrapper:

# List configured sites
./wp.sh --list-sites

# Read a post on a specific site
./wp.sh client-main get-post --id 123

# Update a post after approval
./wp.sh client-main update-post --id 123 --status draft

# Group operation requires explicit group execution flag
./wp.sh client --execute-group update-post --id 456 --status draft

Option B: Single Site Setup

1. Create an Application Password

  1. Open https://your-site.example/wp-admin/profile.php.
  2. Scroll to Application Passwords.
  3. Create a password for a dedicated API user.
  4. Copy it once and store it in a secret manager or environment variable.

2. Set environment variables

export WP_URL="https://your-site.example"
export WP_USERNAME="wp-api-user"
read -rs WP_APP_PASSWORD
export WP_APP_PASSWORD

3. Use the scripts

cd wordpress-api-pro

Update a post:

python3 scripts/update_post.py \
  --post-id 123 \
  --title "New Title" \
  --content "Updated content" \
  --status draft

Create a draft:

python3 scripts/create_post.py \
  --title "My Post" \
  --content "Post content here" \
  --status draft

Get a post:

python3 scripts/get_post.py --post-id 123

List posts:

python3 scripts/list_posts.py --per-page 10 --status publish

Batch Operations

Dry-run preview is the default:

cd wordpress-api-pro
python3 scripts/batch_update.py \
  --group client \
  --post-ids 123,456 \
  --status draft

Apply only after review:

cd wordpress-api-pro
python3 scripts/batch_update.py \
  --group client \
  --post-ids 123,456 \
  --status draft \
  --execute

Scripts

Core Scripts

ScriptPurpose
update_post.pyUpdate an existing post/page
create_post.pyCreate a new post/page
get_post.pyRetrieve a single post/page
list_posts.pyList and filter posts/pages
batch_update.pyDry-run-first batch updates across sites/groups
wp_cli.pyMulti-site command wrapper backend
security.pyLocal file and remote URL safety helpers

Plugin & Commerce Scripts

ScriptPurpose
detect_plugins.pyAuto-detect supported plugins — ACF, Rank Math, Yoast, JetEngine, WooCommerce
acf_fields.pyRead/write Advanced Custom Fields
seo_meta.pyRead/write Rank Math and Yoast SEO meta
jetengine_fields.pyRead/write JetEngine custom fields
elementor_content.pyRead/update Elementor page content
upload_media.pyUpload local or explicitly approved remote media
woo_products.pyManage WooCommerce products

Examples

Detect supported plugins:

python3 scripts/detect_plugins.py

Get ACF fields:

python3 scripts/acf_fields.py --post-id 123

Set SEO meta:

python3 scripts/seo_meta.py \
  --post-id 123 \
  --set '{"title":"SEO Title","description":"Meta description"}'

Update JetEngine field:

python3 scripts/jetengine_fields.py \
  --post-id 123 \
  --field my_field \
  --value "New value"

Elementor content:

python3 scripts/elementor_content.py get \
  --post-id 123 \
  --widget-id some_widget_id

python3 scripts/elementor_content.py update \
  --post-id 123 \
  --widget-id some_widget_id \
  --field title \
  --value "New Title"

Media upload:

python3 scripts/upload_media.py \
  --file ./media/image.jpg \
  --title "My Image" \
  --caption "A beautiful image"

Remote media requires explicit opt-in:

python3 scripts/upload_media.py \
  --file https://cdn.example.com/image.png \
  --allow-remote-url \
  --set-featured \
  --post-id 123

WooCommerce products:

python3 scripts/woo_products.py list --status publish
python3 scripts/woo_products.py get --id 456
python3 scripts/woo_products.py create --name "New Product" --type simple --regular-price 29.99
python3 scripts/woo_products.py update --id 456 --description "Updated product description"

Safety Model

  • ✅ Use Application Passwords, not regular account passwords.
  • ✅ Prefer a dedicated least-privilege WordPress API user.
  • ✅ Always use HTTPS for production sites.
  • ✅ Store credentials in environment variables or local untracked config.
  • ✅ Keep config/sites.json local, untracked, and chmod 600.
  • ✅ Review dry-runs before live batch updates.
  • ❌ Never commit credentials to git.
  • ❌ Never publish or update live content without explicit approval.

Publishing to ClawHub

Releases are published to ClawHub automatically via GitHub Actions (.github/workflows/publish-clawhub.yml).

One-time setup: add a repository secret named CLAWHUB_TOKEN (Settings → Secrets and variables → Actions). Get the token from clawhub login locally or your ClawHub account.

Release flow:

  1. Bump the version: in wordpress-api-pro/SKILL.md (the source of truth ClawHub displays) and add a CHANGELOG.md entry.
  2. Publish a GitHub Release → the workflow installs the clawhub CLI, authenticates with CLAWHUB_TOKEN, and runs clawhub skill publish wordpress-api-pro --version <version>.

Trigger it manually from the Actions tab (workflow_dispatch) with dry-run on to preview the publish plan without uploading.

Documentation

  • wordpress-api-pro/SKILL.md — full skill instructions for OpenClaw agents.
  • wordpress-api-pro/references/api-reference.md — WordPress REST API reference.
  • wordpress-api-pro/references/gutenberg-blocks.md — Gutenberg block format guide.

Requirements

  • Python 3.8+
  • WordPress 5.6+ recommended for built-in Application Passwords
  • requests for plugin integration scripts: pip install requests

Use Cases

  • Publishing and drafting blog posts.
  • Content migration between WordPress sites.
  • Batch updates across many posts or client sites.
  • Automated content workflows with approval gates.
  • WooCommerce product maintenance.
  • Elementor landing page updates.
  • SEO metadata operations.
  • Agency multi-site operations.
  • Integration with OpenClaw / agentic workflows.

Links

License

MIT-0 — see LICENSE.txt


Built with ❤️ for OpenClaw by Digitizer

常见问题

What is wordpress-api-pro?

wordpress-api-pro is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Digitizers. 🔧 Manage WordPress sites via REST API — posts, media, Elementor, WooCommerce, ACF, Rank Math. Multi-site support. It has 0 GitHub stars.

Is wordpress-api-pro safe to use?

Yes. wordpress-api-pro passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install wordpress-api-pro?

Clone the repository with "git clone https://github.com/Digitizers/wordpress-api-pro" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is wordpress-api-pro written in?

wordpress-api-pro is primarily written in Python. It is open-source under Digitizers on GitHub, so you can review or fork the full source.

Are there alternatives to wordpress-api-pro?

Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh wordpress-api-pro against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ui-ux-pro-max-skill

by nextlevelbuilder

12

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

119,92012,870Python
CLI 工具ai-skillsantigravity
查看详情

happy

by slopus

Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

23,4501,980TypeScript
CLI 工具
查看详情

claudecodeui

by siteboon

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

13,3941,866TypeScript
CLI 工具
查看详情

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

12,5471,869JavaScript
CLI 工具
查看详情

ccstatusline

by sirmalloc

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

12,508545TypeScript
CLI 工具
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情