home / skills / aviz85 / claude-skills-library / wordpress-publisher
This skill publishes WordPress posts by creating drafts or publishing after confirmation, integrating title, content, and optional media.
npx playbooks add skill aviz85/claude-skills-library --skill wordpress-publisherReview the files below or copy the command above to add this skill to your agents.
No content availableThis skill publishes posts to WordPress using a simple two-step flow: create a draft, then publish after confirmation. It supports featured images, excerpts, categories, tags, and immediate publish flags. Configuration uses environment variables for site URL and an application password for secure REST API access.
The skill calls the WordPress REST API to create or update posts and to upload media when a featured image is provided. By default it creates a draft and returns the post ID, edit link, and preview URL; you can then publish the draft or choose the --publish flag to publish immediately. It handles common API error codes and returns actionable messages for credential, permission, or URL problems.
What credentials are required?
You need WP_USERNAME and a WordPress application password (no spaces) set alongside WP_URL in the environment file.
Why do I get 401 or 403 errors?
401 means incorrect credentials; double-check username and app password. 403 means the user lacks Editor/Admin permissions—grant appropriate role.