# wordpress-publisher

wordpress-publisher is a skill that creates WordPress drafts, adds featured images, and publishes prepared posts.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 152 installs · ★ 51 repo stars
- Author: aviz85
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aviz85/claude-skills-library/tree/HEAD/skills/wordpress-publisher/SKILL.md
- Updated: 2026-07-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/wordpress-publisher

## What it does

The skill runs `wp-publish.js` to create a post from an HTML file or standard input. It can attach a featured image, set an excerpt, categories, and tags, publish immediately, or publish an existing draft by ID. It can also check a post’s status. Run the instructions in `./SETUP.md` before using it for the first time.

Set `WP_URL`, `WP_USERNAME`, and `WP_APP_PASSWORD` in a `.env` file inside the skill directory. The application password comes from the WordPress user profile and must be saved without spaces. Invalid credentials cause an authorization error, and the account needs the Editor or Admin role to publish.

Posts default to Hebrew with RTL markup unless another language is requested. The workflow also calls for `image-generation` to make a featured image and supporting illustrations. That means image creation is part of the suggested process, not something the publishing script itself handles.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aviz85/claude-skills-library --skill wordpress-publisher -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/wordpress-publisher/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/wordpress-publisher/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aviz85/claude-skills-library --skill wordpress-publisher -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/wordpress-publisher/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aviz85/claude-skills-library --skill wordpress-publisher -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/wordpress-publisher/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aviz85/claude-skills-library skills/wordpress-publisher
```

2. **Manually: put the files in place**
- File: `.github/skills/wordpress-publisher/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aviz85/claude-skills-library --skill wordpress-publisher -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aviz85/claude-skills-library --path skills/wordpress-publisher
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/wordpress-publisher/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aviz85/claude-skills-library --skill wordpress-publisher -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aviz85/claude-skills-library/tree/HEAD/skills/wordpress-publisher/SKILL.md

## When to use it
- create a WordPress draft from an HTML file
- attach a featured image and excerpt to a post
- publish an existing draft by post ID
- check the status of a WordPress post

## Example prompts
- Create a Hebrew WordPress draft with RTL markup from my post content.
- Turn `content.html` into a WordPress draft and attach `cover.jpg`.
- Publish the WordPress draft with ID `POST_ID`, then check its status.

## Similar
- [wordpress-content](https://affpapa.org/en/nevibecode/skills/wordpress-content.md) — skill · 1700 installs
- [wordpress](https://affpapa.org/en/nevibecode/skills/nowork-studio-wordpress.md) — skill · ★ 4288 repo stars
- [wordpress-plugin-to-emdash](https://affpapa.org/en/nevibecode/skills/wordpress-plugin-to-emdash.md) — skill · 1500 installs
- [wordpress-theme-to-emdash](https://affpapa.org/en/nevibecode/skills/wordpress-theme-to-emdash.md) — skill · 1500 installs
- [wordpress-master](https://affpapa.org/en/nevibecode/agents/voltagent-wordpress-master.md) — subagent · ★ 6505 repo stars
- [WordPress MCP Server](https://affpapa.org/en/nevibecode/mcp/wordpress-mcp-server.md) — MCP server · ★ 10 repo stars

From the same set: [aviz85/claude-skills-library](https://affpapa.org/en/nevibecode/by/aviz85/claude-skills-library.md) — 7 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
