Install
openclaw skills install wordpress-rest-apiWork with the WordPress REST API for route discovery, authentication, reads and writes, core endpoint selection, and custom namespace inspection. Use when a WordPress task needs `/wp-json`, application passwords, cookie or nonce auth, post or media endpoints, settings access, or live discovery of plugin-defined REST routes.
openclaw skills install wordpress-rest-apiUse this skill when the correct interface is HTTP against a WordPress site, not shell access with wp.
This skill is built around two facts:
/wp-jsonTreat the reference files as the core map and use the discovery script for the live map.
/wp-json on a live siteregister_rest_route() implementationswp access already existsStart with:
scripts/inspect-rest-api.sh --site https://example.com
This fetches the site index at /wp-json/, prints the namespaces, and lists the live routes that site exposes.
If you need one route only:
scripts/inspect-rest-api.sh --site https://example.com --route /wp/v2/posts
scripts/inspect-rest-api.sh --site https://example.com --route /wp/v2/posts --method OPTIONS
Read references/core-endpoints.md before assuming a core route name from memory.
Default rule:
Read references/auth-and-discovery.md.
Core routes are more stable than plugin routes.
Common starting points:
For plugin or theme APIs, do not guess.
Use the discovery index and OPTIONS:
scripts/inspect-rest-api.sh --site https://example.com --route /my-namespace/v1/report --method OPTIONS
Then read references/custom-route-rules.md if you are implementing or reviewing the server-side route registration.
Default patterns:
?_fields= to trim large responsespage, per_page, search, orderby, and order instead of client-side filtering when possibleX-WP-Total and X-WP-TotalPagesOPTIONS before write automation when you do not control the site codescripts/inspect-rest-api.sh: discover the live route index or inspect a single route with GET or OPTIONSreferences/core-endpoints.md: core route families worth checking before you inspect plugin namespacesreferences/auth-and-discovery.md: application passwords, cookie auth, nonces, and route discovery rulesreferences/custom-route-rules.md: implementation-side guidance for registering or reviewing custom routes