WordPress Auto-Publish for Openclaw

A powerful automation skill for publishing Markdown content directly to WordPress sites via the REST API.

rainco2008
v1.0.0
Apr 17, 2026
0
638
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install test-wp

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install test-wp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WordPress Auto-Publish?

The WordPress Auto-Publish skill is designed for developers and content creators who want to bridge the gap between local Markdown environments and WordPress. By leveraging the WordPress REST API, this Openclaw Skills integration allows for seamless synchronization of text, metadata, and media without manual copy-pasting.

This tool is particularly effective for those maintaining a headless-style workflow while still utilizing the robust backend of WordPress. It ensures that your Openclaw Skills empowered agent can manage the entire lifecycle of a blog post, from initial draft to a fully categorized and tagged live publication.

WordPress Auto-Publish Use Cases

  • Automating the transfer of technical documentation from local Markdown files to a WordPress blog.
  • Managing high-volume batch publishing for content-heavy marketing sites.
  • Synchronizing AI-generated content drafts directly into the WordPress editor for final review.
  • Organizing digital assets by automatically assigning categories and tags during the upload process.

How WordPress Auto-Publish Works

  1. The skill identifies Markdown files designated for publication within the local workspace.
  2. It authenticates with the target WordPress site using secure REST API credentials.
  3. The Markdown content is parsed and converted into a WordPress-compatible format.
  4. The skill checks for existing categories and tags, creating new ones if necessary to match the file metadata.
  5. Post status is set (draft or published) and the content is pushed to the server.
  6. Featured images are processed and linked to the post during the upload sequence.

WordPress Auto-Publish Setup

To get started with this Openclaw Skills component, ensure you have Application Passwords enabled on your WordPress site, then configure your environment:

# Install the Openclaw Skills package
openclaw install wordpress-auto-publish

# Set your environment variables
export WP_URL="https://yourblog.com"
export WP_USERNAME="your_admin_user"
export WP_APP_PASSWORD="your_application_password"

WordPress Auto-Publish Data Schema & Taxonomy

The skill manages data through a combination of Markdown frontmatter and WordPress API responses. Below is the mapping of the data structure:

Property Source WordPress Field
Title YAML Frontmatter post_title
Content Markdown Body post_content
Status YAML Frontmatter post_status (draft/publish)
Categories YAML List categories
Tags YAML List tags
Media Local Path featured_media

WordPress Auto-Publish Advanced Features

  • Batch processing capabilities to upload multiple articles in a single execution cycle.
  • Intelligent draft management to prevent accidental live publishing of incomplete work.
  • Dynamic category and tag creation to ensure taxonomy consistency without manual setup.
  • Support for featured image uploads and automated media library integration.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*