audit-cluster

audit-cluster is an agent for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 34 tokens per session (982 once invoked), scanned A, original, Apache-2.0.

A content-structure audit that maps broad topic pages to related articles, finds pages with weak internal links, and spots overlapping topics or missing content opportunities. Internal links are links between pages on the same website.

In plain words
What is it for?
Use it to review pillar-and-supporting-page structures, identify orphan pages, compare titles and headings for possible cannibalization, and find content gaps.
Why use it?
It makes unclear content organization and possible keyword competition visible, while distinguishing suspected overlap from overlap confirmed by search-result data.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit Use it to review pillar-and-supporting-page structures, identify orphan pages, compare titles and headings for possible cannibalization, and find content gaps.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xuanranl/loamwright-seo-skill/audit-cluster
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.

Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

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 audit-cluster

README.md
[![agentmods](https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-cluster/github.svg)](https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-cluster)
Your own site
<a href="https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-cluster"><img src="https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-cluster/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 audit-cluster

Your own site · 80×15
<a href="https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-cluster"><img src="https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-cluster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 982 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.00034 $0.00982
Opus 5 $0.00017 $0.00491
Sonnet 5 $0.00007 $0.00196
Haiku 4.5 $0.00003 $0.00098

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

Security

Grade A, and why

audit-cluster 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 9d 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.

agents/audit-cluster.md · 64 lines

How it starts

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

Audit Cluster Agent

Spawn Condition

Blog or pillar pages detected: crawl-results.json has page_type: "blog"|"pillar", OR site has 10+ content pages by URL pattern or word count.

Inputs

  • {audit_dir}/crawl-results.json — URLs, titles, H1, H2s, word count, internal links in/out
  • {audit_dir}/config.json — domain, primary topics, competitor domains
  • {audit_dir}/modules/content.json — content scores (if available)

Scripts

  • python -m scripts.audit.parse_html {html_path} --url {page_url} --json — the file is positional; output includes headings and links.internal/links.external (there are no --extract-* flags)

SERP-overlap cannibalization confirmation is NOT implemented — no serp_overlap module exists under scripts/. Detect cannibalization by comparing H2 topics and title keywords across pages from crawl-results.json (the "suspected" tier below); never report the "confirmed" tier without real SERP data.

Checks

1. Pillar Identification

Criteria: 2000+ words, 5+ inbound internal links, broad topic scope, top-level URL. Output list with confidence.

2. Cluster Mapping

Per pillar, find cluster pages by: inbound links to pillar, URL prefix, titles matching pillar H2 subtopics, outbound links from pillar. Build {pillar_url: [cluster_urls]}.

3. Hub-Spoke Validation

Spoke→Hub: each cluster page links to its pillar (mandatory, target 100%). Hub→Spoke: pillar links to clusters (target 80%+). Spoke↔Spoke: sibling cross-links (beneficial). HIGH if < 50% spoke→hub; MEDIUM if 50-80%.

4. Cannibalization Detection

Compare pages pairwise (within clusters first, then cross). Signals: title token-overlap > 70%, identical H1 primary keyword, same keyword slug. With SERP data: both ranking = confirmed (CRITICAL). Without: suspected (HIGH). Pairs with different intent + proper linking = complementary (no issue).

5. Content Gaps

Build topic universe from: competitor sitemaps, pillar H2 subtopics not expanded, keyword lists. Cross-reference existing titles/H1s. Gaps = uncovered topics. Prioritize by volume potential and relevance to existing pillars.

Read the full file on GitHub · 64 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. 9d ago First seen · 64 lines · 34 tokens per session scan A 3db3b0adfa7d

Subscribe to this mod's changes

audit-cluster is an agent published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 22d ago), licensed Apache-2.0. It adds 34 tokens to every session and 982 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

schema-generator

Structured-data specialist. Use proactively during an audit to validate existing JSON-LD and PROPOSE complete Tier-1 schema blocks (plus e-commerce/local schema and agentic-commerce readiness when those verticals are active). It proposes diffs only and does NOT write files.

Hainrixz/claude-seo-ai · 56 tokens

seo-fixer-writer

The ONLY agent allowed to write files. Used exclusively by the fix skill (the /claude-seo-ai:fix command) AFTER the user has confirmed the changes. Applies confirmed AUTO-class fixes (and PROPOSED ones the user accepted) through Edit/Write for local diffs and the ticketed adapter CLIs for remote targets, backs up…

Hainrixz/claude-seo-ai · 93 tokens

geo-schema

Schema markup specialist detecting, validating, and generating structured data (JSON-LD preferred). Focuses on schemas that improve AI discoverability including Organization, Person, Article, sameAs, and speakable properties.

Cognitic-Labs/geoskills · 44 tokens

geo-citability

AI citability scoring and optimization specialist. Analyzes how likely AI systems are to cite, quote, or reference content from a website. Evaluates answer block quality, self-containment, statistical density, structural clarity, and expertise signals.

Cognitic-Labs/geoskills · 53 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens