wordpress-publishlisted
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