wordpress-content-manager

Manage WordPress posts via REST API with CRUD operations and status filters.

1|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/jakenuts/agent-skills --skill wordpress-content-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wordpress-content-manager
Source: https://github.com/jakenuts/agent-skills/tree/main/skills/wordpress-content-manager
Command: npx skills add https://github.com/jakenuts/agent-skills --skill wordpress-content-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates WordPress post management across sites via the REST API, enabling listing, searching, viewing, creating, updating, and deleting posts (including drafts, scheduled, and published) with tags and categories.

Core Features & Use Cases

  • Site-agnostic Post Management: Manage posts across multiple profiles (sites) without manual API calls.
  • CRUD on Posts: Create, read, update, and delete posts with status control (draft, publish, future) and support for tags and categories.
  • Profile-Driven Config: Profiles under profiles/ map to site configurations; switch targets with --profile or WP_PROFILE.
  • Secure Credentials: Uses environment variables for WordPress credentials (WP_USERNAME, WP_APP_PASSWORD).

Quick Start

Run a quick test to fetch published posts from the default profile: node ~/.codex/skills/wordpress-content-manager/scripts/wp-content.mjs posts list --status publish --per_page 5 --page 1 --json

Frequently Asked Questions about wordpress-content-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate WordPress post management via REST API?

WordPress post management via REST API automates CRUD operations on posts across sites. Use this Skill to list, search, create, update, and delete posts with status control (draft, publish, scheduled) and tag/category assignment without manual API calls.

Can I manage posts across multiple WordPress sites with different profiles?

Yes, profile-driven configuration lets you manage posts across multiple WordPress sites. Each profile maps to a site configuration; switch targets with --profile or WP_PROFILE environment variable to operate on different sites.

What credentials and environment setup does WordPress content automation require?

WordPress content automation requires Node.js 16+, WP_USERNAME and WP_APP_PASSWORD environment variables for secure authentication, and optional WP_API_URL and WP_SITE_URL overrides. Credentials authenticate REST API requests without storing secrets in code.

How do I filter and search WordPress posts by status, categories, and tags?

Filter posts by status (draft, publish, future) and search by terms using --status and search parameters. The Skill returns JSON output with full post metadata, enabling category and tag-based filtering within non-interactive CLI workflows.

Can I use WordPress REST API automation in scripted workflows without manual intervention?

Yes, this Skill satisfies requirements for non-interactive CLI workflows. It accepts command-line parameters, reads credentials from environment variables, outputs JSON for downstream processing, and runs entirely headless—ideal for automation, cron jobs, and CI/CD pipelines.

What's the difference between using REST API and WordPress CLI for post management?

REST API provides programmatic, network-based post management across sites with structured JSON I/O and profile switching. WordPress CLI runs locally on the server; REST API works remotely and integrates into Node.js automation workflows without WP_CLI_PATH dependency.