Skill Detail

WP-CLI Bulk Content Migrator

Automates large-scale WordPress content migrations using WP-CLI wp post create and wp term set commands. Handles custom post types, ACF field mapping, and taxonomy reassignment with rollback support.

WordPress & CMSOpenClaw
WordPress & CMS OpenClaw Security Reviewed
Tool match: wordpress โญ 5.1k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill wp-cli-bulk-content-migrator Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
WordPress, PHP
Install & setup
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
Author
WP-CLI
Last updated
Mar 24, 2026
Quick brief

This skill automates complex WordPress content migrations using WP-CLI commands for reliable server-side execution. It handles bulk post creation via wp post create with support for custom post types, post meta, and featured images. Taxonomy assignment uses wp term set for categories, tags, and custom taxonomies.

How it works

What this skill actually does

Advanced Custom Fields (ACF) data is mapped using wp post meta update with proper field key references, supporting repeater fields, flexible content layouts, and relationship fields. The skill handles media library imports via wp media import with automatic attachment to posts and alt text assignment.

A transaction-like rollback system tracks all created/modified content IDs, allowing complete reversal if migration validation fails. Progress tracking provides real-time counts and ETA for large migrations (10k+ posts). The skill also handles URL rewriting in content bodies using wp search-replace for domain changes.