rankmath-sitemap-integration

rankmath-sitemap-integration is a skill for Codex from Lonsdale201/wp-agent-skills. It costs 146 tokens per session (2,487 once invoked), scanned A, original, MIT.

A guide to connecting custom WordPress content to Rank Math's XML and HTML sitemaps. A sitemap is a list of pages that helps search engines discover a site.

In plain words
What is it for?
Use it to include or exclude content, set canonical URLs, add images and authors, control ordering and pagination, and check generated sitemap pages.
Why use it?
It prevents valid content from being missed, duplicated, or incorrectly included when a site uses custom post types, taxonomies, or virtual pages.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to include or exclude content, set canonical URLs, add images and authors, control ordering and pagination, and check generated sitemap pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lonsdale201/wp-agent-skills/rankmath-sitemap-integration
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 Lonsdale201/wp-agent-skills --skill rankmath-sitemap-integration
Clone the repo
git clone --depth 1 https://github.com/Lonsdale201/wp-agent-skills

Made for: 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 rankmath-sitemap-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/rankmath-sitemap-integration/github.svg)](https://agentmods.dev/skills/lonsdale201/wp-agent-skills/rankmath-sitemap-integration)
Your own site
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/rankmath-sitemap-integration"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/rankmath-sitemap-integration/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 rankmath-sitemap-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/rankmath-sitemap-integration"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/rankmath-sitemap-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,487 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. 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.00146 $0.02487
Opus 5 $0.00073 $0.01243
Sonnet 5 $0.00029 $0.00497
Haiku 4.5 $0.00015 $0.00249

Measured yesterday against content hash 1fe3153744a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

rankmath-sitemap-integration 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 yesterday.

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.

rankmath/rankmath-sitemap-integration/SKILL.md · 199 lines

How it starts

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

Rank Math sitemap integration

Use Rank Math's normal post-type and taxonomy providers whenever the resource has a real public WordPress URL. Add a custom provider only for content that cannot be represented correctly by those providers.

Workflow

  1. Classify the resource as a normal post, term, author, or genuinely custom URL collection.
  2. Establish indexability and canonical ownership before touching the sitemap.
  3. Prefer entry filters for small URL-level changes; use symmetric query filters only for database-level eligibility.
  4. Add a provider only for a new sitemap type backed by a custom store or virtual resources.
  5. Define deterministic ordering, pagination, dates, and cache invalidation together.
  6. Verify the sitemap index, every page boundary, and rendered XML.

Use the built-in provider first

A CPT normally needs no custom provider. Ensure it is public and viewable, give it stable local permalinks, then enable its sitemap in Rank Math settings. Rank Math already:

  • includes published, non-password-protected content;
  • skips objects resolved as noindex;
  • excludes posts whose custom canonical differs from their permalink;
  • paginates by the configured entries-per-page value;
  • adds modification times and discovered images;
  • invalidates standard post, term, and author sitemap caches through its watcher.

Do not use a sitemap filter to make private or noncanonical content appear indexable. Align the frontend robots and canonical decisions first.

Select the narrowest filter

Need Hook Contract
change or remove one URL entry rank_math/sitemap/entry array or empty; args include object type and object
change a post URL rank_math/sitemap/xml_post_url absolute local URL plus post
enrich/replace selected post object rank_math/sitemap/post_object object or false
exclude an entire CPT rank_math/sitemap/exclude_post_type boolean plus post type
exclude an entire taxonomy rank_math/sitemap/exclude_taxonomy boolean plus taxonomy
alter index entry rank_math/sitemap/index/entry index array plus kind and subtype
add custom providers rank_math/sitemap/providers array of provider objects
alter post list SQL rank_math/sitemap/get_posts/join and /where trusted SQL fragments
alter post count SQL rank_math/sitemap/post_count/join and /where matching trusted SQL fragments
change sitemap index slug rank_math/sitemap/index/slug slug; flush rewrites once

Read the full file on GitHub · 199 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · -1 lines 1fe3153744a2
  2. 9d ago First seen · 200 lines · 146 tokens per session scan A fb7f20eaf90a

Subscribe to this mod's changes

rankmath-sitemap-integration is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 146 tokens to every session and 2,487 once invoked, about $0.0007 per session on Opus 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-09-03.

Related

Other skills, from other repositories

astro-seo

Audits and improves SEO for Astro sites. Use when the user asks to audit, set up, or improve SEO on an Astro site, or mentions head metadata, structured data, JSON-LD, sitemaps, IndexNow, Open Graph images, schema endpoints, NLWeb, hreflang, or search engine indexing in an Astro project. Produces drop-in code routed…

jdevalk/skills · 105 tokens

static-seo

Audits and improves SEO for static HTML sites. Use when the user asks to audit, set up, or improve SEO on a static site (Hugo, Jekyll, 11ty, Gatsby, Next.js static export, hand-rolled HTML, or wp-static-clone output), or mentions head metadata, structured data, JSON-LD, sitemaps, IndexNow, Open Graph images, schema…

jdevalk/skills · 143 tokens

readability-check

Runs a readability audit on a blog post draft or other multi-paragraph prose, calibrated for readers who read English as a second language. Checks ten categories — overall structure and topic order, paragraph structure, opening paragraph strength, tiered sentence length, passive voice, difficult words, filler and…

jdevalk/skills · 179 tokens

content-seo

Audits a blog post draft or page copy for content-level SEO: search intent fit, focus keyphrase placement, E-E-A-T signals (experience, expertise, authoritativeness, trustworthiness), helpfulness and originality, content freshness, and internal linking. Use when the user asks "will this rank", "SEO check this post"…

jdevalk/skills · 155 tokens

wp-static-clone

Clones a live WordPress (or other CMS-driven) site into a static HTML site deployable on any static host (Cloudflare Pages, Netlify, Vercel, S3+CloudFront, plain Apache/nginx). Use when the user wants to "scrape", "freeze", "archive", "static-ify", or "move to [host]" a WordPress site, or asks to turn a sitemap into…

jdevalk/skills · 137 tokens

metadata-check

Reviews short high-value strings — page titles, meta descriptions, schema description fields, FAQ answers, GitHub repo taglines, profile bios, social-card copy, and other metadata where Flesch and paragraph-level readability checks don't apply. Checks front-loading, concreteness, filler, active voice…

jdevalk/skills · 157 tokens