wordpress

wordpress is a skill for Claude Code, Codex from arturseo-geo/claude-code-skills. It costs 130 tokens per session (4,290 once invoked), scanned A, original, MIT.

A set of instructions for managing WordPress websites through the WordPress REST API, the interface software uses to read and change site data.

In plain words
What is it for?
Use it to create or update posts, pages, custom post types, categories, tags, media, featured images, Gutenberg content, and WooCommerce products.
Why use it?
It provides a defined way to authenticate and handle WordPress content without manually editing the site, while keeping credentials out of source code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or update posts, pages, custom post types, categories, tags, media, featured images, Gutenberg content, and WooCommerce products.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arturseo-geo/claude-code-skills/wordpress
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add arturseo-geo/claude-code-skills --skill wordpress
Clone the repo
git clone --depth 1 https://github.com/arturseo-geo/claude-code-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wordpress

README.md
[![agentmods](https://agentmods.dev/badge/skills/arturseo-geo/claude-code-skills/wordpress/github.svg)](https://agentmods.dev/skills/arturseo-geo/claude-code-skills/wordpress)
Your own site
<a href="https://agentmods.dev/skills/arturseo-geo/claude-code-skills/wordpress"><img src="https://agentmods.dev/badge/skills/arturseo-geo/claude-code-skills/wordpress/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wordpress

Your own site · 80×15
<a href="https://agentmods.dev/skills/arturseo-geo/claude-code-skills/wordpress"><img src="https://agentmods.dev/badge/skills/arturseo-geo/claude-code-skills/wordpress.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00130 $0.04290
Opus 5.5 $0.00052 $0.01716
Sonnet 5.5 $0.00026 $0.00858
Haiku 4.5 $0.00013 $0.00429

Measured 2mo ago against content hash b46ed4034f92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wordpress scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/wordpress/SKILL.md · 531 lines

How it starts

The opening of the file, as written. The whole thing — 531 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WordPress Skill

Authentication Setup

WordPress REST API requires authentication. Ask the user for:

  1. Site URL (e.g., https://example.com)
  2. Auth method — prefer Application Passwords (WP 5.6+):
    • Users → Profile → Application Passwords → Add New
    • Returns username:app-password — base64 encode for Basic Auth header
  3. API base: {site_url}/wp-json/wp/v2/
const headers = {
  'Authorization': 'Basic ' + btoa('username:app-password'),
  'Content-Type': 'application/json'
};

MCP Server Authentication (Recommended)

When a WordPress MCP server is configured, use its tools directly instead of raw HTTP. MCP tools handle auth automatically — no need to manage headers or tokens.

// .mcp.json — example WordPress MCP config
{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": ["-y", "@anthropic/wordpress-mcp"],
      "env": {
        "WP_URL": "https://example.com",
        "WP_USERNAME": "admin",
        "WP_APP_PASSWORD": "xxxx xxxx xxxx xxxx"
      }
    }
  }
}

Security Best Practices

  • Never store credentials in code — use environment variables or .env files
  • Application Passwords are scoped to the user's role — create a dedicated API user with minimal permissions
  • Rotate Application Passwords quarterly
  • Use HTTPS exclusively — never send credentials over HTTP
  • Add IP allowlisting in .htaccess or nginx if the API is only called from known servers
  • Disable XML-RPC if not needed: add_filter('xmlrpc_enabled', '__return_false');

Core Operations

Create / Update a Post

POST /wp-json/wp/v2/posts
{
  "title": "Post Title",
  "content": "<p>HTML or Gutenberg blocks</p>",
  "status": "draft" | "publish" | "private" | "future",
  "date": "2026-03-22T10:00:00",
  "slug": "post-slug",
  "excerpt": "Short summary",
  "categories": [id1, id2],
  "tags": [id1, id2],
  "featured_media": media_id,
  "meta": { "custom_field": "value" },
  "template": "template-name.php"
}

# Update: PATCH /wp-json/wp/v2/posts/{id}
# Delete: DELETE /wp-json/wp/v2/posts/{id}?force=true

Read the full file on GitHub · 531 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 531 lines · 130 tokens per session scan A b46ed4034f92

Subscribe to this mod's changes

wordpress is a skill published in the GitHub repository arturseo-geo/claude-code-skills (13 stars, last pushed 7mo ago), licensed MIT. It adds 130 tokens to every session and 4,290 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

wordpress compared with skills from other repositories

wordpress next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wordpressarturseo-geo/claude-code-skillsSkill137mo agoMITA130Claude Code, Codex
csharp-patternssoftspark/ai-toolkitSkill17910d agoApache-2.0A61Claude Code
seo-validatesoftspark/ai-toolkitSkill17910d agoApache-2.0A59Claude Code
database-patternssoftspark/ai-toolkitSkill17910d agoApache-2.0A55Claude Code
debugsoftspark/ai-toolkitSkill17910d agoApache-2.0A34Claude Code
ruby-patternssoftspark/ai-toolkitSkill17910d agoApache-2.0A60Claude Code
prsoftspark/ai-toolkitSkill17910d agoApache-2.0A36Claude Code