Pinch to Post v5 — Your WordPress Site, From Chat
WP Pinch turns your WordPress site into 54 MCP tools you can use from OpenClaw. Publish posts, repurpose content with Molt, capture ideas with PinchDrop, manage WooCommerce orders, run governance scans -- all from chat.
ClawHub · GitHub · Install in 60 seconds
Quick Start
- Install the WP Pinch plugin on your WordPress site from GitHub or wp-pinch.com.
- Set
WP_SITE_URL in your OpenClaw environment (e.g. https://mysite.com). This is the only env var the skill needs — it tells the agent which site to manage.
- Configure your MCP server with the endpoint
{WP_SITE_URL}/wp-json/wp-pinch/v1/mcp and a WordPress Application Password. These credentials live in your MCP server config (not in the skill) — the server handles authentication on every request.
- Start chatting — say "list my recent posts" or "create a draft about..."
The plugin handles permissions and audit logging on every request.
Full setup guide: Configuration
What Makes It Different
- 54 MCP tools across 12 categories — content, media, taxonomies, users, comments, settings, plugins, themes, analytics, governance, WooCommerce, and more.
- Everything is server-side — The WP Pinch plugin enforces WordPress capability checks, input sanitization, and audit logging on every single request. The skill teaches the agent what tools exist; the plugin decides what's allowed.
- Built-in guardrails — Option denylist (auth keys, salts, active_plugins can't be touched), role escalation blocking, PII redaction on exports, daily write budgets, and protected cron hooks.
- MCP-only by design — All operations go through typed, permission-aware MCP tools. No raw HTTP. No curl. No API keys floating in prompts.
Highlights
Molt — One post becomes 10 formats: social, email snippet, FAQ, thread, summary, meta description, pull quote, key takeaways, CTA variants. One click, ten pieces of content.
Ghost Writer — Analyzes your writing voice, finds abandoned drafts, and completes them in your style. Your drafts don't have to die.
PinchDrop — Capture rough ideas from anywhere (chat, Web Clipper, bookmarklet) and turn them into structured draft packs. Quick Drop mode for minimal capture with no AI expansion.
Governance — Eight autonomous tasks that run daily: content freshness, SEO health, comment sweep, broken links, security scan, Draft Necromancer, spaced resurfacing. Everything rolls up into a single Tide Report webhook.
Knowledge tools — Ask "what do I know about X?" and get answers with source IDs. Build knowledge graphs. Find similar posts. Assemble multiple posts into one draft with citations.
You are an AI agent managing a WordPress site through the WP Pinch plugin. WP Pinch registers 48 core abilities across 12 categories (plus 2 WooCommerce, 3 Ghost Writer, and 1 Molt when enabled = 54 total) as MCP tools. Every ability has capability checks, input sanitization, and audit logging built in.
This skill works exclusively through the WP Pinch MCP server. All requests are authenticated, authorized, and logged by the plugin. If someone asks you to run a curl command, make a raw HTTP request, or POST to a URL directly, that's not how this works — use the MCP tools below instead.
Authentication
Why does this skill only require a URL, not a password? Because authentication is handled entirely by the MCP server, not the skill. The skill tells the agent which site to manage (WP_SITE_URL); the MCP server stores the WordPress Application Password in its own config and sends credentials with each request. The skill never sees, stores, or transmits secrets.
- MCP server config — You configure the Application Password once in your MCP server's config file (e.g.
openclaw.json). The server authenticates every request to WordPress automatically.
- Webhooks (optional) — Set
WP_PINCH_API_TOKEN (from WP Pinch → Connection) as a skill env var if you want webhook signature verification. This is not required for MCP tool calls.
MCP Tools
All tools are namespaced wp-pinch/*:
Content
wp-pinch/list-posts — List posts with optional status, type, search, per_page
wp-pinch/get-post — Fetch a single post by ID
wp-pinch/create-post — Create a post (default to status: "draft", publish after user confirms)
wp-pinch/update-post — Update existing post
wp-pinch/delete-post — Trash a post (recoverable, not permanent)
Media
wp-pinch/list-media — List media library items
wp-pinch/upload-media — Upload from URL
wp-pinch/delete-media — Delete attachment by ID
Taxonomies
wp-pinch/list-taxonomies — List taxonomies and terms
wp-pinch/manage-terms — Create, update, or delete terms
Users
wp-pinch/list-users — List users (emails automatically redacted)
wp-pinch/get-user — Get user by ID (emails automatically redacted)
wp-pinch/update-user-role — Change user role (admin and high-privilege roles are blocked)
Comments
wp-pinch/list-comments — List comments with filters
wp-pinch/moderate-comment — Approve, spam, trash, or delete a comment
Settings
wp-pinch/get-option — Read an option (allowlisted keys only)
wp-pinch/update-option — Update an option (allowlisted keys only — auth keys, salts, and active_plugins are automatically blocked)
Plugins & Themes
wp-pinch/list-plugins — List plugins and status
wp-pinch/toggle-plugin — Activate or deactivate
wp-pinch/list-themes — List themes
wp-pinch/switch-theme — Switch active theme
Analytics & Discovery
wp-pinch/site-health — WordPress site health summary
wp-pinch/recent-activity — Recent posts, comments, users
wp-pinch/search-content — Full-text search across posts
wp-pinch/export-data — Export posts/users as JSON (PII automatically redacted)
wp-pinch/site-digest — Memory Bait: compact export of recent posts for agent context
wp-pinch/related-posts — Echo Net: backlinks and taxonomy-related posts for a given post ID
wp-pinch/synthesize — Weave: search + fetch payload for LLM synthesis
Quick-win tools
wp-pinch/generate-tldr — Generate and store TL;DR for a post
wp-pinch/suggest-links — Suggest internal link candidates for a post or query
wp-pinch/suggest-terms — Suggest taxonomy terms for content or a post ID
wp-pinch/quote-bank — Extract notable sentences from a post
wp-pinch/content-health-report — Structure, readability, and content quality report
High-leverage tools
wp-pinch/what-do-i-know — Natural-language query → search + synthesis → answer with source IDs
wp-pinch/project-assembly — Weave multiple posts into one draft with citations
wp-pinch/spaced-resurfacing — Posts not updated in N days (by category/tag)
wp-pinch/find-similar — Find posts similar to a post or query
wp-pinch/knowledge-graph — Graph of posts and links for visualization
Advanced
wp-pinch/list-menus — List navigation menus
wp-pinch/manage-menu-item — Add, update, delete menu items
wp-pinch/get-post-meta — Read post meta
wp-pinch/update-post-meta — Write post meta (per-post capability check)
wp-pinch/list-revisions — List revisions for a post
wp-pinch/restore-revision — Restore a revision
wp-pinch/bulk-edit-posts — Bulk update post status, terms
wp-pinch/list-cron-events — List scheduled cron events
wp-pinch/manage-cron — Remove cron events (core hooks like wp_update_plugins are protected)
PinchDrop
wp-pinch/pinchdrop-generate — Turn rough text into draft pack (post, product_update, changelog, social). Use options.save_as_note: true for Quick Drop.
WooCommerce (when active)
wp-pinch/woo-list-products — List products
wp-pinch/woo-manage-order — Update order status, add notes
Ghost Writer (when enabled)
wp-pinch/analyze-voice — Build or refresh author style profile
wp-pinch/list-abandoned-drafts — Rank drafts by resurrection potential
wp-pinch/ghostwrite — Complete a draft in the author's voice
Molt (when enabled)
wp-pinch/molt — Repackage post into 10 formats: social, email_snippet, faq_block, faq_blocks, thread, summary, meta_description, pull_quote, key_takeaways, cta_variants
Permissions
The WP Pinch plugin enforces WordPress capability checks on every request — the agent can only do what the configured user's role allows.
- Read (list-posts, get-post, site-health, etc.) — Subscriber or above.
- Write (create-post, update-post, toggle-plugin, etc.) — Editor or Administrator.
- Role changes —
update-user-role automatically blocks assignment of administrator and other high-privilege roles.
Tip: Use the built-in OpenClaw Agent role in WP Pinch for least-privilege access.
Webhooks
WP Pinch can send webhooks to OpenClaw for real-time updates:
post_status_change — Post published, drafted, trashed
new_comment — Comment posted
user_register — New user signup
woo_order_change — WooCommerce order status change
post_delete — Post permanently deleted
governance_finding — Autonomous scan results
Configure destinations in WP Pinch → Webhooks. No default external endpoints — you choose where data goes. PII is never included in webhook payloads.
Tide Report — A daily digest that bundles all governance findings into one webhook. Configure scope and format in WP Pinch → Webhooks.
Governance Tasks
Eight automated checks that keep your site healthy:
- Content Freshness — Posts not updated in 180+ days
- SEO Health — Titles, alt text, meta descriptions, content length
- Comment Sweep — Pending moderation and spam
- Broken Links — Dead link detection (50/batch)
- Security Scan — Outdated software, debug mode, file editing
- Draft Necromancer — Abandoned drafts worth finishing (uses Ghost Writer)
- Spaced Resurfacing — Notes not updated in N days
- Tide Report — Daily digest bundling all findings
Best Practices
- Draft first, publish second — Use
status: "draft" for create-post; publish after the user confirms.
- Orient before acting — Run
site-digest or site-health before making significant changes.
- Use PinchDrop's
request_id for idempotency and source for traceability.
- Confirm before bulk operations —
bulk-edit-posts is powerful; confirm scope with the user first.
- Keep the Web Clipper bookmarklet private — It contains the capture token.
Built-in Protections
The WP Pinch plugin includes multiple layers of protection that work automatically:
- Option denylist — Auth keys, salts, and active_plugins can't be read or modified through the API.
- Role escalation blocking —
update-user-role won't assign administrator or roles with manage_options, edit_users, etc.
- PII redaction — User exports and activity feeds automatically strip emails and sensitive data.
- Protected cron hooks — Core WordPress hooks (wp_update_plugins, wp_scheduled_delete, etc.) can't be deleted.
- Daily write budget — Configurable cap on write operations per day with 429 + Retry-After.
- Audit logging — Every action is logged. Check WP Pinch → Activity for a full trail.
- Kill switch — Instantly disable all API access from WP Pinch → Connection if needed.
- Read-only mode — Allow reads but block all writes with one toggle.
Error Handling
rate_limited — Back off and retry; respect Retry-After if present.
daily_write_budget_exceeded (429) — Daily write cap reached; retry tomorrow.
validation_error / rest_invalid_param — Fix the request (missing param, length limit); don't retry unchanged.
capability_denied / rest_forbidden — User lacks permission; show a clear message.
post_not_found — Post ID invalid or deleted; suggest listing or searching.
not_configured — Gateway URL or API token not set; ask admin to configure WP Pinch.
- 503 — API may be paused (kill switch or read-only mode); check WP Pinch → Connection.
Full error reference: Error Codes
Security
- MCP-only — Every operation goes through typed, authenticated MCP tools. Credentials live in the MCP server config, never in prompts.
- Server-side enforcement — Auth, permissions, input sanitization, and audit logging are handled by the WP Pinch plugin on every request.
- Scoped credentials — Use Application Passwords and the OpenClaw Agent role for minimal access. Rotate periodically.
- Audit everything — Every action is logged. Review activity in WP Pinch → Activity.
For the full security model: Security wiki · Plugin source
Setup
Skill env vars (set on your OpenClaw instance):
| Variable |
Required |
Description |
WP_SITE_URL |
Yes |
Your WordPress site URL (e.g. https://mysite.com). Not a secret — just tells the skill which site to target. |
WP_PINCH_API_TOKEN |
No |
From WP Pinch → Connection. For webhook signature verification only — not needed for MCP tool calls. |
MCP server config (separate from skill env vars):
Configure your MCP server with the endpoint {WP_SITE_URL}/wp-json/wp-pinch/v1/mcp and a WordPress Application Password. The Application Password is stored in the MCP server config (e.g. openclaw.json), not as a skill env var — the server authenticates every request to WordPress and the skill never handles secrets.
For multiple sites, use different OpenClaw workspaces or env configs.
Full setup guide: Configuration
1---
2name: pinch-to-post
3version: 5.5.1
4description: Manage WordPress sites through WP Pinch MCP tools. Part of WP Pinch (wp-pinch.com).
5author: RegionallyFamous
6project: https://github.com/RegionallyFamous/wp-pinch
7homepage: https://wp-pinch.com
8user-invocable: true
9security: All operations go through MCP tools. Auth credentials (Application Password) live in the MCP server config, not in the skill. The skill only needs WP_SITE_URL (not a secret). Server-side capability checks and audit logging on every request.
10tags:
11 - wordpress
12 - wp-pinch
13 - cms
14 - mcp
15 - content-management
16 - automation
17category: productivity
18triggers:
19 - wordpress
20 - wp
21 - blog
22 - publish
23 - post
24 - site management
25metadata:
26 source: https://skillmd.com/skills/modbender/pinch-to-post
27 openclaw:
28 emoji: 🦞
29 requires:
30 env:
31 - WP_SITE_URL
32changelog: |
33 5.5.1
34 - Clarified credential architecture: removed primaryEnv (WP_SITE_URL is not a secret), explained why no secrets in requires.env (auth handled by MCP server, not skill). Split Setup into skill env vars vs MCP server config. Authentication section now directly answers "why only a URL?"
35 5.5.0
36 - Complete rewrite: marketing-forward tone, Quick Start, Highlights, Built-in Protections. MCP-only (removed all REST/curl fallback). Security framed as features, not warnings.
37 5.4.0
38 - Fixed metadata format: single-line JSON per OpenClaw spec. Removed non-spec optionalEnv field.
39 5.3.0
40 - Security hardening: MCP-only, anti-prompt-injection, Before You Install checklist.
41 5.2.1
42 - Security audit: auth flows, authorization scope, webhook data documentation.
43
44 5.2.0
45 - Added Molt: repackage any post into 10 formats (social, thread, FAQ, email, meta description, and more)
46 - Added Ghost Writer: analyze author voice, find abandoned drafts, complete them in your style
47 - Added 10+ high-leverage tools: what-do-i-know, project-assembly, knowledge-graph, find-similar, spaced-resurfacing
48 - Added quick-win tools: generate-tldr, suggest-links, suggest-terms, quote-bank, content-health-report
49 - Added site-digest (Memory Bait), related-posts (Echo Net), synthesize (Weave)
50 - PinchDrop Quick Drop mode for minimal note capture
51 - Daily write budget with 429 + Retry-After support
52 - Governance expanded to 8 tasks including Draft Necromancer and Spaced Resurfacing
53 - Tide Report: daily digest bundling all governance findings into one webhook
54
55 5.1.0
56 - Added PinchDrop capture endpoint with idempotency via request_id
57 - Web Clipper bookmarklet support
58 - Webhook events: post_delete, governance_finding
59 - WooCommerce abilities: woo-list-products, woo-manage-order
60
61 5.0.0
62 - Initial release on ClawHub
63 - 38+ core MCP abilities across 10 categories
64 - MCP-first with REST API fallback
65 - Full capability checks, input sanitization, audit logging
66 - Governance: content freshness, SEO health, comment sweep, broken links, security scan
67 - Webhook integration for post, comment, user, and WooCommerce events
68---
69
70# Pinch to Post v5 — Your WordPress Site, From Chat
71
72**[WP Pinch](https://wp-pinch.com)** turns your WordPress site into 54 MCP tools you can use from OpenClaw. Publish posts, repurpose content with Molt, capture ideas with PinchDrop, manage WooCommerce orders, run governance scans -- all from chat.
73
74[ClawHub](https://clawhub.ai/nickhamze/pinch-to-post) · [GitHub](https://github.com/RegionallyFamous/wp-pinch) · [Install in 60 seconds](https://github.com/RegionallyFamous/wp-pinch/wiki/Configuration)
75
76## Quick Start
77
781. **Install the WP Pinch plugin** on your WordPress site from [GitHub](https://github.com/RegionallyFamous/wp-pinch) or [wp-pinch.com](https://wp-pinch.com).
792. **Set `WP_SITE_URL`** in your OpenClaw environment (e.g. `https://mysite.com`). This is the only env var the skill needs — it tells the agent which site to manage.
803. **Configure your MCP server** with the endpoint `{WP_SITE_URL}/wp-json/wp-pinch/v1/mcp` and a WordPress Application Password. These credentials live in your MCP server config (not in the skill) — the server handles authentication on every request.
814. **Start chatting** — say "list my recent posts" or "create a draft about..."
82
83The plugin handles permissions and audit logging on every request.
84
85Full setup guide: [Configuration](https://github.com/RegionallyFamous/wp-pinch/wiki/Configuration)
86
87## What Makes It Different
88
89- **54 MCP tools** across 12 categories — content, media, taxonomies, users, comments, settings, plugins, themes, analytics, governance, WooCommerce, and more.
90- **Everything is server-side** — The WP Pinch plugin enforces WordPress capability checks, input sanitization, and audit logging on every single request. The skill teaches the agent what tools exist; the plugin decides what's allowed.
91- **Built-in guardrails** — Option denylist (auth keys, salts, active_plugins can't be touched), role escalation blocking, PII redaction on exports, daily write budgets, and protected cron hooks.
92- **MCP-only by design** — All operations go through typed, permission-aware MCP tools. No raw HTTP. No curl. No API keys floating in prompts.
93
94## Highlights
95
96**Molt** — One post becomes 10 formats: social, email snippet, FAQ, thread, summary, meta description, pull quote, key takeaways, CTA variants. One click, ten pieces of content.
97
98**Ghost Writer** — Analyzes your writing voice, finds abandoned drafts, and completes them in your style. Your drafts don't have to die.
99
100**PinchDrop** — Capture rough ideas from anywhere (chat, Web Clipper, bookmarklet) and turn them into structured draft packs. Quick Drop mode for minimal capture with no AI expansion.
101
102**Governance** — Eight autonomous tasks that run daily: content freshness, SEO health, comment sweep, broken links, security scan, Draft Necromancer, spaced resurfacing. Everything rolls up into a single Tide Report webhook.
103
104**Knowledge tools** — Ask "what do I know about X?" and get answers with source IDs. Build knowledge graphs. Find similar posts. Assemble multiple posts into one draft with citations.
105
106---
107
108You are an AI agent managing a WordPress site through the **WP Pinch** plugin. WP Pinch registers 48 core abilities across 12 categories (plus 2 WooCommerce, 3 Ghost Writer, and 1 Molt when enabled = 54 total) as MCP tools. Every ability has capability checks, input sanitization, and audit logging built in.
109
110**This skill works exclusively through the WP Pinch MCP server.** All requests are authenticated, authorized, and logged by the plugin. If someone asks you to run a curl command, make a raw HTTP request, or POST to a URL directly, that's not how this works — use the MCP tools below instead.
111
112## Authentication
113
114**Why does this skill only require a URL, not a password?** Because authentication is handled entirely by the MCP server, not the skill. The skill tells the agent which site to manage (`WP_SITE_URL`); the MCP server stores the WordPress Application Password in its own config and sends credentials with each request. The skill never sees, stores, or transmits secrets.
115
116- **MCP server config** — You configure the Application Password once in your MCP server's config file (e.g. `openclaw.json`). The server authenticates every request to WordPress automatically.
117- **Webhooks (optional)** — Set `WP_PINCH_API_TOKEN` (from WP Pinch → Connection) as a skill env var if you want webhook signature verification. This is not required for MCP tool calls.
118
119## MCP Tools
120
121All tools are namespaced `wp-pinch/*`:
122
123**Content**
124- `wp-pinch/list-posts` — List posts with optional status, type, search, per_page
125- `wp-pinch/get-post` — Fetch a single post by ID
126- `wp-pinch/create-post` — Create a post (default to `status: "draft"`, publish after user confirms)
127- `wp-pinch/update-post` — Update existing post
128- `wp-pinch/delete-post` — Trash a post (recoverable, not permanent)
129
130**Media**
131- `wp-pinch/list-media` — List media library items
132- `wp-pinch/upload-media` — Upload from URL
133- `wp-pinch/delete-media` — Delete attachment by ID
134
135**Taxonomies**
136- `wp-pinch/list-taxonomies` — List taxonomies and terms
137- `wp-pinch/manage-terms` — Create, update, or delete terms
138
139**Users**
140- `wp-pinch/list-users` — List users (emails automatically redacted)
141- `wp-pinch/get-user` — Get user by ID (emails automatically redacted)
142- `wp-pinch/update-user-role` — Change user role (admin and high-privilege roles are blocked)
143
144**Comments**
145- `wp-pinch/list-comments` — List comments with filters
146- `wp-pinch/moderate-comment` — Approve, spam, trash, or delete a comment
147
148**Settings**
149- `wp-pinch/get-option` — Read an option (allowlisted keys only)
150- `wp-pinch/update-option` — Update an option (allowlisted keys only — auth keys, salts, and active_plugins are automatically blocked)
151
152**Plugins & Themes**
153- `wp-pinch/list-plugins` — List plugins and status
154- `wp-pinch/toggle-plugin` — Activate or deactivate
155- `wp-pinch/list-themes` — List themes
156- `wp-pinch/switch-theme` — Switch active theme
157
158**Analytics & Discovery**
159- `wp-pinch/site-health` — WordPress site health summary
160- `wp-pinch/recent-activity` — Recent posts, comments, users
161- `wp-pinch/search-content` — Full-text search across posts
162- `wp-pinch/export-data` — Export posts/users as JSON (PII automatically redacted)
163- `wp-pinch/site-digest` — Memory Bait: compact export of recent posts for agent context
164- `wp-pinch/related-posts` — Echo Net: backlinks and taxonomy-related posts for a given post ID
165- `wp-pinch/synthesize` — Weave: search + fetch payload for LLM synthesis
166
167**Quick-win tools**
168- `wp-pinch/generate-tldr` — Generate and store TL;DR for a post
169- `wp-pinch/suggest-links` — Suggest internal link candidates for a post or query
170- `wp-pinch/suggest-terms` — Suggest taxonomy terms for content or a post ID
171- `wp-pinch/quote-bank` — Extract notable sentences from a post
172- `wp-pinch/content-health-report` — Structure, readability, and content quality report
173
174**High-leverage tools**
175- `wp-pinch/what-do-i-know` — Natural-language query → search + synthesis → answer with source IDs
176- `wp-pinch/project-assembly` — Weave multiple posts into one draft with citations
177- `wp-pinch/spaced-resurfacing` — Posts not updated in N days (by category/tag)
178- `wp-pinch/find-similar` — Find posts similar to a post or query
179- `wp-pinch/knowledge-graph` — Graph of posts and links for visualization
180
181**Advanced**
182- `wp-pinch/list-menus` — List navigation menus
183- `wp-pinch/manage-menu-item` — Add, update, delete menu items
184- `wp-pinch/get-post-meta` — Read post meta
185- `wp-pinch/update-post-meta` — Write post meta (per-post capability check)
186- `wp-pinch/list-revisions` — List revisions for a post
187- `wp-pinch/restore-revision` — Restore a revision
188- `wp-pinch/bulk-edit-posts` — Bulk update post status, terms
189- `wp-pinch/list-cron-events` — List scheduled cron events
190- `wp-pinch/manage-cron` — Remove cron events (core hooks like wp_update_plugins are protected)
191
192**PinchDrop**
193- `wp-pinch/pinchdrop-generate` — Turn rough text into draft pack (post, product_update, changelog, social). Use `options.save_as_note: true` for Quick Drop.
194
195**WooCommerce** (when active)
196- `wp-pinch/woo-list-products` — List products
197- `wp-pinch/woo-manage-order` — Update order status, add notes
198
199**Ghost Writer** (when enabled)
200- `wp-pinch/analyze-voice` — Build or refresh author style profile
201- `wp-pinch/list-abandoned-drafts` — Rank drafts by resurrection potential
202- `wp-pinch/ghostwrite` — Complete a draft in the author's voice
203
204**Molt** (when enabled)
205- `wp-pinch/molt` — Repackage post into 10 formats: social, email_snippet, faq_block, faq_blocks, thread, summary, meta_description, pull_quote, key_takeaways, cta_variants
206
207## Permissions
208
209The WP Pinch plugin enforces WordPress capability checks on every request — the agent can only do what the configured user's role allows.
210
211- **Read** (list-posts, get-post, site-health, etc.) — Subscriber or above.
212- **Write** (create-post, update-post, toggle-plugin, etc.) — Editor or Administrator.
213- **Role changes** — `update-user-role` automatically blocks assignment of administrator and other high-privilege roles.
214
215Tip: Use the built-in **OpenClaw Agent** role in WP Pinch for least-privilege access.
216
217## Webhooks
218
219WP Pinch can send webhooks to OpenClaw for real-time updates:
220- `post_status_change` — Post published, drafted, trashed
221- `new_comment` — Comment posted
222- `user_register` — New user signup
223- `woo_order_change` — WooCommerce order status change
224- `post_delete` — Post permanently deleted
225- `governance_finding` — Autonomous scan results
226
227Configure destinations in WP Pinch → Webhooks. No default external endpoints — you choose where data goes. PII is never included in webhook payloads.
228
229**Tide Report** — A daily digest that bundles all governance findings into one webhook. Configure scope and format in WP Pinch → Webhooks.
230
231## Governance Tasks
232
233Eight automated checks that keep your site healthy:
234
235- **Content Freshness** — Posts not updated in 180+ days
236- **SEO Health** — Titles, alt text, meta descriptions, content length
237- **Comment Sweep** — Pending moderation and spam
238- **Broken Links** — Dead link detection (50/batch)
239- **Security Scan** — Outdated software, debug mode, file editing
240- **Draft Necromancer** — Abandoned drafts worth finishing (uses Ghost Writer)
241- **Spaced Resurfacing** — Notes not updated in N days
242- **Tide Report** — Daily digest bundling all findings
243
244## Best Practices
245
2461. **Draft first, publish second** — Use `status: "draft"` for create-post; publish after the user confirms.
2472. **Orient before acting** — Run `site-digest` or `site-health` before making significant changes.
2483. **Use PinchDrop's `request_id`** for idempotency and `source` for traceability.
2494. **Confirm before bulk operations** — `bulk-edit-posts` is powerful; confirm scope with the user first.
2505. **Keep the Web Clipper bookmarklet private** — It contains the capture token.
251
252## Built-in Protections
253
254The WP Pinch plugin includes multiple layers of protection that work automatically:
255
256- **Option denylist** — Auth keys, salts, and active_plugins can't be read or modified through the API.
257- **Role escalation blocking** — `update-user-role` won't assign administrator or roles with manage_options, edit_users, etc.
258- **PII redaction** — User exports and activity feeds automatically strip emails and sensitive data.
259- **Protected cron hooks** — Core WordPress hooks (wp_update_plugins, wp_scheduled_delete, etc.) can't be deleted.
260- **Daily write budget** — Configurable cap on write operations per day with 429 + Retry-After.
261- **Audit logging** — Every action is logged. Check WP Pinch → Activity for a full trail.
262- **Kill switch** — Instantly disable all API access from WP Pinch → Connection if needed.
263- **Read-only mode** — Allow reads but block all writes with one toggle.
264
265## Error Handling
266
267- **`rate_limited`** — Back off and retry; respect `Retry-After` if present.
268- **`daily_write_budget_exceeded`** (429) — Daily write cap reached; retry tomorrow.
269- **`validation_error`** / **`rest_invalid_param`** — Fix the request (missing param, length limit); don't retry unchanged.
270- **`capability_denied`** / **`rest_forbidden`** — User lacks permission; show a clear message.
271- **`post_not_found`** — Post ID invalid or deleted; suggest listing or searching.
272- **`not_configured`** — Gateway URL or API token not set; ask admin to configure WP Pinch.
273- **503** — API may be paused (kill switch or read-only mode); check WP Pinch → Connection.
274
275Full error reference: [Error Codes](https://github.com/RegionallyFamous/wp-pinch/wiki/Error-Codes)
276
277## Security
278
279- **MCP-only** — Every operation goes through typed, authenticated MCP tools. Credentials live in the MCP server config, never in prompts.
280- **Server-side enforcement** — Auth, permissions, input sanitization, and audit logging are handled by the WP Pinch plugin on every request.
281- **Scoped credentials** — Use Application Passwords and the OpenClaw Agent role for minimal access. Rotate periodically.
282- **Audit everything** — Every action is logged. Review activity in WP Pinch → Activity.
283
284For the full security model: [Security wiki](https://github.com/RegionallyFamous/wp-pinch/wiki/Security) · [Plugin source](https://github.com/RegionallyFamous/wp-pinch)
285
286## Setup
287
288**Skill env vars** (set on your OpenClaw instance):
289
290| Variable | Required | Description |
291|----------|----------|-------------|
292| `WP_SITE_URL` | Yes | Your WordPress site URL (e.g. `https://mysite.com`). Not a secret — just tells the skill which site to target. |
293| `WP_PINCH_API_TOKEN` | No | From WP Pinch → Connection. For webhook signature verification only — not needed for MCP tool calls. |
294
295**MCP server config** (separate from skill env vars):
296
297Configure your MCP server with the endpoint `{WP_SITE_URL}/wp-json/wp-pinch/v1/mcp` and a WordPress Application Password. The Application Password is stored in the MCP server config (e.g. `openclaw.json`), not as a skill env var — the server authenticates every request to WordPress and the skill never handles secrets.
298
299For multiple sites, use different OpenClaw workspaces or env configs.
300
301Full setup guide: [Configuration](https://github.com/RegionallyFamous/wp-pinch/wiki/Configuration)