wordpress-headless-expert

wordpress-headless-expert is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 49 tokens per session (1,138 once invoked), scanned A, original, MIT.

A guide to headless WordPress, where WordPress manages content while a separate frontend such as Next.js or Astro displays it.

In plain words
What is it for?
Use it to build or migrate decoupled WordPress sites with WPGraphQL, ACF Pro, Next.js, Astro, or headless WooCommerce.
Why use it?
It helps connect WordPress content, custom fields, SEO data, authentication, caching, and webhooks to a modern frontend application.

Skill for Claude CodeCodex

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

Good fit Use it to build or migrate decoupled WordPress sites with WPGraphQL, ACF Pro, Next.js, Astro, or headless WooCommerce.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/wordpress-headless-expert
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 roedyrustam/vibes-plug --skill wordpress-headless-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

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-headless-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/wordpress-headless-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/wordpress-headless-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/wordpress-headless-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/wordpress-headless-expert/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-headless-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/wordpress-headless-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/wordpress-headless-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,138 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.01138
Opus 5 $0.00024 $0.00569
Sonnet 5 $0.00010 $0.00228
Haiku 4.5 $0.00005 $0.00114

Measured 5d ago against content hash 4315e54c82cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

wordpress-headless-expert scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const res = await fetch(WP_GRAPHQL_ENDPOINT, {
skills/wordpress-headless-expert/SKILL.md · 145 lines

How it starts

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

WordPress Headless Expert (2026 Edition)

English | Bahasa Indonesia


English

Orchestration & Integration

  • headless-cms-expert: Comparing and migrating between CMS backends.
  • nextjs-app-router-expert: Next.js App Router integration with WPGraphQL.
  • astro-framework-expert: Static site generation and content pipelines from WordPress.
  • seo: Syncing Yoast SEO / Rank Math metadata to modern frontend head tags.
  • performance-web-vitals: Caching and Edge SSR optimization for decoupled WordPress.

Description

Production guide for architecting, deploying, and maintaining headless WordPress systems. Covers decoupled WordPress backends with WPGraphQL and Advanced Custom Fields (ACF Pro), frontend rendering with Next.js 15 or Astro 5, Faust.js framework integration, webhook-triggered on-demand revalidation, authentication (JWT / Application Passwords), and WooCommerce headless setups.

Trigger Conditions

  • Decoupling an existing WordPress site into a headless architecture with Next.js/Astro.
  • Querying WordPress content using WPGraphQL and ACF Pro field groups.
  • Synchronizing SEO metadata (Yoast / RankMath) with modern frontend metadata APIs.
  • Setting up on-demand ISR revalidation hooks from WordPress publish events.

Core Architecture & Patterns

1. WPGraphQL Query Integration (Next.js 15 Server Component)
const WP_GRAPHQL_ENDPOINT = process.env.WORDPRESS_API_URL || 'https://cms.example.com/graphql';

interface PostPreview {
  id: string;
  title: string;
  slug: string;
  date: string;
  excerpt: string;
  featuredImage?: {
    node: {
      sourceUrl: string;
      altText: string;
    };
  };
}

export async function fetchWordPressPosts(): Promise<PostPreview[]> {
  const query = `
    query GetLatestPosts {
      posts(first: 10, where: { orderby: { field: DATE, order: DESC } }) {
        nodes {
          id
          title
          slug
          date
          excerpt
          featuredImage {
            node {
              sourceUrl
              altText
            }
          }
        }
      }
    }
  `;

  const res = await fetch(WP_GRAPHQL_ENDPOINT, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({ query }),
    next: { tags: ['wordpress:posts'], revalidate: 3600 },
  });

  const { data } = await res.json();
  return data?.posts?.nodes ?? [];
}

Read the full file on GitHub · 145 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. 5d ago First seen · 145 lines · 49 tokens per session scan A 4315e54c82cf

Subscribe to this mod's changes

wordpress-headless-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (49 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 1,138 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

sdlc-spec-slice-writer

Use to write focused implementation SPEC slices for UI, API, data, admin, permissions, directory, observability, or release.

BlueSkyXN/Codex-is-all-you-need · 35 tokens

dev-fullstack-feature

Use when the requested feature genuinely spans at least two delivery layers such as frontend, backend, API, data, scripts, or tests. Do not expand a single-layer change into a full-stack workflow.

BlueSkyXN/Codex-is-all-you-need · 45 tokens

algolia-search

Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuningUse when "adding search to, algolia, instantsearch, search api, search functionality, typeahead, autocomplete search, faceted search, search index, search as you type, algolia, search, instantsearch…

omer-metin/skills-for-antigravity · 79 tokens

fullstack-coder

Full-stack implementation agent that writes complete, production-ready code following an approved architecture and schema. Triggers on: write the code, implement features, build the app, code the MVP, generate codebase.

Aizaz-Noor/Agent-Startup-Skills · 46 tokens

performance-optimization

Profile and optimize web performance, Core Web Vitals, and backend latencies. Bootstrap on demand.

ksprashu/agent-skill-forge · 24 tokens

auth-web-cloudbase

CloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication solutions with multiple login methods and complete user management.

sutchan/Agent-Skills-Hub · 38 tokens