Skip to content
OpenSmartRoute
Skillv1.0.0

wordpress-publisher

Publish posts to WordPress. Use for: publish blog post, upload to WordPress, פרסם בבלוג.

by aviz85(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from aviz85/claude-skills-library (skills/wordpress-publisher/SKILL.md). Install upstream with npx skills add aviz85/claude-skills-library --skill wordpress-publisher. Copyright stays with the author.

WordPress Publisher

First time? If setup_complete: false above, run ./SETUP.md first, then set setup_complete: true.

Publish content to WordPress with a two-step flow: draft first, then publish after user confirmation.

Default Language: Hebrew

IMPORTANT: Unless the user explicitly requests English or another language, create all blog posts in Hebrew with RTL formatting. Also generate images using the image-generation skill for:

  • Featured/hero image for the post
  • Internal images to illustrate concepts (instead of ASCII diagrams)

Always wrap Hebrew content in:

<article dir="rtl" lang="he">
  <!-- Hebrew content here -->
</article>

Configuration

Create .env file in the skill directory:

# ~/.claude/skills/wordpress-publisher/.env
WP_URL=https://your-site.com
WP_USERNAME=your_username
WP_APP_PASSWORD=YourApplicationPasswordNoSpaces

Creating Application Password:

  1. Go to WordPress Admin → Users → Profile
  2. Scroll to "Application Passwords"
  3. Enter a name (e.g., "Claude Code") and click "Add New"
  4. Copy the password and remove all spaces

Usage

Create Draft

node ~/.claude/skills/wordpress-publisher/scripts/wp-publish.js create "Post Title" content.html

Create with Featured Image

node ~/.claude/skills/wordpress-publisher/scripts/wp-publish.js create "Post Title" content.html --image=cover.jpg

Create and Publish Immediately

node ~/.claude/skills/wordpress-publisher/scripts/wp-publish.js create "Post Title" content.html --publish

Publish Existing Draft

node ~/.claude/skills/wordpress-publisher/scripts/wp-publish.js publish POST_ID

Check Post Status

node ~/.claude/skills/wordpress-publisher/scripts/wp-publish.js status POST_ID

Read from stdin

echo "<h1>Hello</h1>" | node ~/.claude/skills/wordpress-publisher/scripts/wp-publish.js create "Hello" -

Options

Option Description
--publish Publish immediately (default: draft)
--image=<path> Featured image (uploaded to media library)
--excerpt=<text> Add excerpt
--categories=<ids> Category IDs (comma-separated)
--tags=<ids> Tag IDs (comma-separated)

Response Format

After Creating Draft:

Draft created!

**Post ID:** 123
**Edit in WordPress:** https://your-site.com/wp-admin/post.php?post=123&action=edit
**Preview:** https://your-site.com/?p=123

Publish now or review first?

After Publishing:

Post is live!

**URL:** https://your-site.com/your-post-slug/

Error Handling

Error Cause Solution
401 Unauthorized Wrong credentials Check WP_USERNAME and WP_APP_PASSWORD
403 Forbidden No permissions Ensure user has Editor/Admin role
404 Not Found Wrong URL or API disabled Check WP_URL, enable REST API

Hebrew/RTL Content

For Hebrew content, wrap in RTL container:

<article dir="rtl" lang="he">
  <!-- Hebrew content here -->
</article>

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/aviz85-claude-skills-library-wordpress-publisher/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

aviz85-claude-skills-library-wordpress-publisher.ocm.jsonjson
{
  "ocm": "1",
  "id": "aviz85-claude-skills-library-wordpress-publisher",
  "kind": "skill",
  "name": "wordpress-publisher",
  "description": "Publish posts to WordPress. Use for: publish blog post, upload to WordPress, פרסם בבלוג.",
  "publisher": "aviz85",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "wordpress",
      "blog",
      "publishing",
      "cms",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Publish posts to WordPress. Use for: publish blog post, upload to WordPress, פרסם בבלוג."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/aviz85/claude-skills-library",
      "path": "skills/wordpress-publisher/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/aviz85/claude-skills-library/blob/HEAD/skills/wordpress-publisher/SKILL.md",
      "key": "aviz85/claude-skills-library/skills/wordpress-publisher/SKILL.md"
    }
  },
  "instructions": "# WordPress Publisher\n\n> **First time?** If `setup_complete: false` above, run `./SETUP.md` first, then set `setup_complete: true`.\n\nPublish content to WordPress with a two-step flow: draft first, then publish after user confirmation.\n\n## Default Language: Hebrew\n\n**IMPORTANT:** Unless the user explicitly requests English or another language, create all blog posts in Hebrew with RTL formatting. Also generate images using the `image-generation` skill for:\n- Featured/hero image for the post\n- Internal images to illustrate concepts (instead of ASCII diagrams)\n\nAlways wrap Hebrew content in:\n```ht",
  "cost": {
    "context_tokens": 768
  }
}

Fetch it by URL: GET /api/v1/registry/aviz85-claude-skills-library-wordpress-publisher/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.