diff --git a/README.md b/README.md
index 957c8a8..d56c806 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,7 @@
+
+
+
+
# wordpress: WordPress CLI and MCP server for AI agents
@@ -6,8 +10,8 @@
- Docs ·
- Install ·
+ Docs ·
+ Install ·
Usage ·
Discord
@@ -61,6 +65,9 @@ Agent: (runs wordpress blog posts create --title "Pricing in 2027" --text-file
## Quick start
+In [WireCat Desktop](https://wirecat.dev/en/download), add WordPress from the tool list and give it your site, your
+user name and an application password when it asks. Or in a terminal:
+
```sh
npm install -g @wirecat/wordpress-cli
wordpress skill install # the agent skill, for Claude Code, Codex, Gemini CLI and OpenClaw
@@ -108,22 +115,6 @@ days (`keep_successful_runs_for_days`). The first line above stops it.
More: [agents and MCP](https://github.com/WireCatLabs/wordpress-cli/blob/main/docs/mcp.md) ·
[permissions](https://github.com/WireCatLabs/wordpress-cli/blob/main/docs/permissions.md)
-## What needs which key
-
-- **Publishing** needs `.publish` (`posts.publish`, `pages.publish`): a write that sets `status` to
- `publish` or `future`, or that sets `date`, `date_gmt` or `password`, unless the same call sets `status` to
- `draft`, `pending` or `private`. WordPress publishes a scheduled post whose date moves into the past, and a
- password taken off a published post makes it public, with no status in the call. `private` is not public.
- Where a route's `status` starts at `publish` (menu items, for one), each create needs the key, as the
- write publishes unless it says otherwise.
-- **Deleting** needs `.delete`. With `force=true`, which deletes for good instead of moving to the trash,
- it needs `.delete.force` too. Both ask by default.
-- WordPress's batch route (`batch/v1`) is never offered: one batch call would run other routes' writes past
- their keys.
-
-Known limit of the raw `api` group: WordPress publishes a scheduled post whose time has already passed (a
-missed schedule) on any edit, a title change too. The CLI cannot see that without reading the post first.
-
## What it can do
### Read your posts
@@ -182,6 +173,22 @@ wordpress blog config show # each setting and wh
More: [permissions](https://github.com/WireCatLabs/wordpress-cli/blob/main/docs/permissions.md) ·
[settings](https://github.com/WireCatLabs/wordpress-cli/blob/main/docs/configuration.md)
+### What needs which key
+
+- **Publishing** needs `.publish` (`posts.publish`, `pages.publish`): a write that sets `status` to
+ `publish` or `future`, or that sets `date`, `date_gmt` or `password`, unless the same call sets `status` to
+ `draft`, `pending` or `private`. WordPress publishes a scheduled post whose date moves into the past, and a
+ password taken off a published post makes it public, with no status in the call. `private` is not public.
+ Where a route's `status` starts at `publish` (menu items, for one), each create needs the key, as the
+ write publishes unless it says otherwise.
+- **Deleting** needs `.delete`. With `force=true`, which deletes for good instead of moving to the trash,
+ it needs `.delete.force` too. Both ask by default.
+- WordPress's batch route (`batch/v1`) is never offered: one batch call would run other routes' writes past
+ their keys.
+
+Known limit of the raw `api` group: WordPress publishes a scheduled post whose time has already passed (a
+missed schedule) on any edit, a title change too. The CLI cannot see that without reading the post first.
+
## Limits
- Only self-hosted WordPress with application passwords. WordPress.com sites, which sign in with OAuth, are not
@@ -189,7 +196,7 @@ More: [permissions](https://github.com/WireCatLabs/wordpress-cli/blob/main/docs/
- An Author or Contributor gets only their own posts, and no pages: WordPress refuses the pages list to both, and the
sync says so. A Contributor gets only their drafts and posts waiting for review. A post that leaves their view and
that they may no longer read stays in the copy as it was, such as a Contributor's post an editor published. Only an
- Administrator gets every user with their e-mail; other roles get the authors with published posts. Sign in as an
+ Administrator gets every user with their e-mail, and other roles get the authors with published posts. Sign in as an
Administrator for a full copy.
- No view counts. WordPress itself keeps none, and Jetpack stats are not supported.
- A post with galleries, columns, embeds or iframes keeps its body: `posts update` changes its title, excerpt, tags
diff --git a/docs/images/social-preview.png b/docs/images/social-preview.png
new file mode 100644
index 0000000..c75f468
Binary files /dev/null and b/docs/images/social-preview.png differ
diff --git a/docs/images/src/banner.html b/docs/images/src/banner.html
new file mode 100644
index 0000000..43dd1d5
--- /dev/null
+++ b/docs/images/src/banner.html
@@ -0,0 +1,30 @@
+
+
+
+
+wordpress banner
+
+
+
+
+ wordpress
+ WordPress CLI for AI agents
+ Posts offline as Markdown · drafts from your agent · MCP
+
+
+
diff --git a/docs/images/src/render.ts b/docs/images/src/render.ts
new file mode 100644
index 0000000..c345705
--- /dev/null
+++ b/docs/images/src/render.ts
@@ -0,0 +1,29 @@
+// Renders banner.html to the README banner and the social preview: pnpm docs:images
+import { spawnSync } from "node:child_process"
+import { mkdtempSync, rmSync } from "node:fs"
+import { tmpdir } from "node:os"
+import { join } from "node:path"
+import { fileURLToPath, pathToFileURL } from "node:url"
+
+const CHROME = process.env.CHROME ?? "/usr/bin/google-chrome"
+const SOURCE = fileURLToPath(new URL("banner.html", import.meta.url))
+const OUTPUT = fileURLToPath(new URL("../social-preview.png", import.meta.url))
+
+// A throwaway profile, so the render never opens the owner's Chrome profile.
+const profile = mkdtempSync(join(tmpdir(), "banner-chrome-"))
+const result = spawnSync(
+ CHROME,
+ [
+ "--headless",
+ "--disable-gpu",
+ "--hide-scrollbars",
+ "--force-device-scale-factor=1",
+ "--window-size=1280,640",
+ `--user-data-dir=${profile}`,
+ `--screenshot=${OUTPUT}`,
+ pathToFileURL(SOURCE).href,
+ ],
+ { stdio: "inherit" },
+)
+rmSync(profile, { recursive: true, force: true })
+process.exitCode = result.status ?? 1
diff --git a/package.json b/package.json
index e31ffd8..3c701cc 100644
--- a/package.json
+++ b/package.json
@@ -42,6 +42,7 @@
"smoke:node": "node --experimental-strip-types scripts/sandboxed.ts node --experimental-strip-types scripts/smoke-bundle.ts",
"package:check": "pnpm smoke",
"docs:check": "cli-dev docs-check --rules scripts/docs-rules.ts --pages && cli-dev changelog fragments && pnpm docs:spell && rumdl check --config config/wirecat/rumdl.toml README.md SECURITY.md CHANGELOG.md CLAUDE.md AGENTS.md docs/*.md docs/dev/*.md && pnpm docs:lint",
+ "docs:images": "node docs/images/src/render.ts",
"docs:lint": "markdownlint-cli2",
"contracts:check": "cli-contract contracts/plan.json && cli-dev manifest --program dist/program.js --identity dist/wcat.js --check",
"security:no-leak": "cli-testing security no-leak . contracts/no-leak.json",