Home / Claude Code / WordPress
Claude Code + WordPress Skill

Claude Code + WordPress Publish Posts to Your Site with AI

Use the Upload-Post skill to publish posts with text, images, and video to your WordPress site directly from Claude Code. Push content to any self-hosted or WordPress.com site using an application password.

Install in Seconds

Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.

Terminal
$ npx skills add Upload-Post/upload-post-skill

What You Can Post to WordPress

Text
Photos
Videos

Features for WordPress

Everything you need to publish and automate WordPress content from your terminal.

Text Posts

Publish posts and articles with a title, body content, and excerpt. Formatting is preserved so your post reads exactly as intended once it is live on your site.

Photo Posts

Upload images to your WordPress media library and set a featured image. Photos support JPEG, PNG, GIF, and WebP and appear inline in the post.

Video Posts

Upload video to your media library and embed it in a post, so you can ship rich multimedia content to your site straight from Claude Code.

Any Site

Connect any WordPress site by its URL. It works with self-hosted installations and WordPress.com sites alike, through the standard WordPress REST API.

Application Password Auth

Authenticate securely with a WordPress application password, so you never expose your main login. The credential can be revoked at any time without a password reset.

Multi-Platform Reach

Publish the same update to WordPress and other platforms in a single call, so a post goes live on your site and reaches your social audience at once.

How It Works

1

Install the Skill

Run the install command in your terminal. The skill is added to Claude Code instantly.

2

Connect WordPress

Link your WordPress account on the Upload-Post dashboard and create a profile with your API key.

3

Publish from Claude Code

Tell your AI agent to post content to WordPress. It handles formatting, uploading, and publishing automatically.

Start Posting to WordPress from Claude Code

Join thousands of developers automating their social media workflow with AI. Free plan available.

Prefer another integration path? Explore the WordPress Upload API or the WordPress MCP server.

Frequently Asked Questions

How does publishing to WordPress work through Claude Code?
Upload-Post handles the WordPress REST API behind a simple interface. When you tell Claude Code to publish a post, the skill sends your content to the Upload-Post API, which creates the post on your site using your application password. The post goes live just as if you published it from the WordPress admin dashboard.
Does it work with self-hosted and WordPress.com sites?
Yes. Because you connect with your site URL and an application password, the integration works with self-hosted WordPress installations as well as WordPress.com sites, as long as the REST API is available. You are not tied to a single hosting provider.
How do I authenticate with WordPress?
WordPress through Upload-Post uses an application password together with your site URL and username. Application passwords are scoped credentials you generate in your WordPress user profile, so you never expose your main login and can revoke the credential at any time.
What media formats does the WordPress integration support?
WordPress through Upload-Post supports text posts, photo posts (JPEG, PNG, GIF, WebP), and video posts. Images and video are uploaded to your media library, and you can set a featured image and embed media inside the post body.
Can I cross-post to WordPress and other platforms simultaneously?
Yes. Upload-Post supports multi-platform publishing in a single API call. Include multiple platforms in your request, such as platform[]=wordpress&platform[]=linkedin&platform[]=x, and your content is published to all of them at once. Each platform receives properly formatted content that respects its specific requirements.