← ClaudeAtlas

wordpress-publishlisted

Publish new posts and pages to a WordPress site you own through the core REST API with an Application Password: wp create (draft by default), wp update, wp unpublish and wp owned. An ownership ledger (.sitetiller/owned.json) makes the tool refuse to edit any page it did not create. Covers the review step before publishing, rollback with measure-rollback, and the fact that core REST does not set SEO plugin title and description fields (Yoast's REST API is read-only per its docs). Use when the user says 'publish to WordPress', 'push these pages to my site', 'create WordPress drafts', 'WordPress REST API', 'Application Password', 'unpublish a page', or 'roll back a WordPress page'.
sitetiller/ai-visibility-skills · ★ 0 · AI & Automation · score 75
Install: claude install-skill sitetiller/ai-visibility-skills
# Publish to WordPress, safely The `wp` commands create new posts or pages on a WordPress site the user owns. They never edit existing content: only ids the tool itself created, recorded in a local ledger, can be updated or pulled back to draft. Everything starts as a draft, and a person reads it before it goes live. ## Inputs - The site's `https://` address (WordPress 5.6 or later has Application Passwords built in; the REST authentication guide says credentials travel over https with Basic Auth). - A WordPress user whose role may create the content, and an Application Password for it. Create it in wp-admin: Users, Edit User, Application Passwords. One password per tool, so it can be revoked on its own. - The content as an HTML file the user keeps in version control (`--content-file`). Keep every version you push; rollback needs them (see below). - Environment variables, never in chat, code or commits: `WP_USER` and `WP_APP_PASSWORD`. The CLI strips spaces from the password and refuses `http://` sites. ## Commands ```bash # 1. Create a draft (status defaults to draft). Posts by default; --type pages for pages. npx sitetiller wp create https://example.com --type pages --title "Invoice template" --content-file drafts/invoice-template.html --slug invoice-template --excerpt "One-sentence summary" # 2. List what this tool created, on every site (reads .sitetiller/owned.json) npx sitetiller wp owned # 3. Update a page this tool created (title, content, excerpt, slug, status onl