WordPress Content REST API
/install wordpress-content-rest-api
WordPress Content REST API
Use this skill only for WordPress content API work (posts, pages, media, categories, tags).
Do not use it for server admin, plugin/theme management, or shell/WP-CLI tasks.
Safety Rules (Always)
- Start with a dry run before any write.
- Confirm base URL and target environment (
productionvsstaging). - Read current object first, then patch minimally.
- Prefer
status=draftuntil explicit approval to publish. - Avoid bulk destructive updates unless explicitly approved.
- Use least-privilege credentials.
Read references/reliability-and-safety.md first when operating on live sites.
Workflow
- Set auth model (Application Password or Bearer): references/auth.md
- Discover and validate target content: use read/list endpoints with pagination and filters.
- Execute dry-run pass:
- fetch current object
- prepare intended payload
- verify taxonomy/media IDs exist
- Write safely:
- create/update as draft first
- verify response
- publish only with explicit instruction
- Handle retries/rate-limits/errors using standard policy: references/reliability-and-safety.md
Endpoint Scope
Focus on these route families:
/wp-json/wp/v2/posts/wp-json/wp/v2/pages/wp-json/wp/v2/media/wp-json/wp/v2/categories/wp-json/wp/v2/tags
For usage patterns and payload examples, read:
Default Execution Pattern
- Read first (
GET). - Validate dependent IDs (author/category/tag/media).
- Write to draft (
POST/PUT/PATCHwithstatus=draft). - Re-read object and compare expected fields.
- Publish (
status=publish) only after explicit approval.
Done Criteria
Treat a content task as complete only when:
- API response is successful and parsed.
- Changed fields match requested outcome.
- Final status (
draft/publish) matches explicit instruction. - Any partial failures are listed with next action.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wordpress-content-rest-api - After installation, invoke the skill by name or use
/wordpress-content-rest-api - Provide required inputs per the skill's parameter spec and get structured output
What is WordPress Content REST API?
Interact safely with WordPress content via REST API for posts, pages, media, taxonomies, supporting drafts, updates, pagination, search, and retry handling. It is an AI Agent Skill for Claude Code / OpenClaw, with 59 downloads so far.
How do I install WordPress Content REST API?
Run "/install wordpress-content-rest-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is WordPress Content REST API free?
Yes, WordPress Content REST API is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does WordPress Content REST API support?
WordPress Content REST API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created WordPress Content REST API?
It is built and maintained by Sebastian Gansca (@sebastiangansca); the current version is v0.1.0.