Skip to main content

This skill may not reflect the latest upstream change

Google Search Central Blog update on 2026-11-16 may affect this skill Last checked Nov 26, 2026.

AnalysisOfficialCertifiedAI reviewed Jul 21, 2026

Content Cannibalization

Detect content cannibalization on a site — multiple URLs ranking (or impressing) for the same query, splitting click-through, diluting authority, and confusing Google about which URL is canonical for the intent..

v1.0.1New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install content-cannibalization
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/content-cannibalization/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

Content Cannibalization Detector & Resolver

You find cannibalization and recommend the specific fix. Cannibalization is the single most common cause of "we have lots of content but rankings are stuck" — and it's invisible without joining GSC query-level data with the site's page intents.


=== PRE-FLIGHT ===


  • GSC data: from /gsc-pull skill (or direct connection).
  • Page-to-intent map: for each URL, which target query is it written for? If unknown, derive from H1 + meta description.
  • Crawl data: title, H1, canonical, noindex, content embedding (from /internal-link-graph if available).
  • Authority signal: backlinks per page (from Ahrefs/Majestic if accessible; otherwise GSC referring domain proxy).
  • Action capacity: how many redirects / consolidations / canonical edits can the team execute monthly? (Drives prioritization.)

Recovery:

  • No backlink data: use internal PageRank from /internal-link-graph as authority proxy.
  • No intent map: auto-derive via top GSC query per page (with a "MUST_VERIFY" flag on results).

=== PHASE 1: CANNIBALIZATION DETECTION ===


For each unique query in GSC (filter to impressions ≥ 50 in window):

def detect_cannibalization(gsc_rows, min_impressions=50, position_max=50):
    """
    Returns clusters where a single query has 2+ URLs both within
    position 1-50 with non-trivial impressions.
    """
    by_query = defaultdict(list)
    for row in gsc_rows:
        if row.impressions >= min_impressions and row.position <= position_max:
            by_query[row.query].append(row)
    
    clusters = {}
    for query, rows in by_query.items():
        if len(rows) >= 2:
            clusters[query] = sorted(rows, key=lambda r: -r.clicks)
    return clusters

Output cannibalization_clusters.csv:

QueryURLImpressionsClicksAvg PositionCTRCluster Size
best CRM/blog/best-crm84002408.22.9%3
best CRM/pricing11001222.41.1%3
best CRM/reviews600531.80.8%3

VALIDATION: Detection produces non-zero clusters on any site with > 500 pages and > 100 ranking queries.


=== PHASE 2: ROOT-CAUSE CLASSIFICATION ===


For each cluster, classify the cannibalization type:

ClassSignalTypical fix
True duplicateEmbedding similarity > 0.95 between competing pagesConsolidate, 301 weaker → stronger, remove
Intent overlapSame query, different intents (e.g., transactional + informational)Differentiate H1 / content; canonical NOT same
Template confusionMultiple variant/filter pages indexable, same queryCanonicalize to parent; or noindex variants
Accidental same H1Different topics but same H1 / titleRewrite the H1 / title of one
Variant page leakageUTM / session ID / filter query strings indexedSet <link rel="canonical"> to clean URL; robots Disallow query strings
Author overlapSame author bio repeated, body content overlaps in intro paragraphsUpdate author template to be lighter

Detection per class:

  • True duplicate: embedding cosine ≥ 0.95 across competing URLs.
  • Intent overlap: SERP intent signal (Google AI Overview vs ten blue links vs shopping ads) suggests one canonical intent; multiple pages target different but Google merges.
  • Template confusion: URL pattern suggests filter/variant (?color=, ?sort=, /category/page/2/).
  • Variant leakage: URL has query string or session ID.

VALIDATION: Each cluster has a class label + confidence (0-1).


=== PHASE 3: RESOLUTION RECOMMENDATIONS ===


Per cluster, produce one of five resolutions:

A. Consolidate-and-301 (best for true duplicates):

  • Identify "winner" (highest authority + best historical clicks + best target intent fit).
  • All losers 301-redirect → winner.
  • Merge unique content from losers into winner (don't lose value).
  • Update internal links to point to winner.

B. Canonicalize (best for variant leakage):

  • Set <link rel="canonical" href="https://example.com/canonical"> on variants.
  • Don't 301 (preserve UX for filtered nav).

C. Differentiate-intent (best for intent overlap):

  • Keep both pages. Rewrite each to target distinct intent.
  • Page A → transactional ("buy X"); Page B → informational ("what is X").
  • Update internal links to disambiguate.

D. Noindex-the-weaker (best for template / pagination):

  • <meta name="robots" content="noindex,follow"> on weaker pages.
  • Or use rel="next/prev" pagination semantics where applicable.

E. Update-internal-links-only (lightest touch, valid when both pages should stay live):

  • Reroute internal links so the intended page gets all the link equity.
  • Don't change URL structure.

Per cluster, output resolution_{cluster_id}.md with:

  • Recommended resolution (A-E)
  • Reasoning (which signals drove it)
  • Exact code/redirects/canonical tags to add
  • Internal link updates needed
  • Expected click recovery (sum of cluster clicks × consolidation multiplier 1.2-1.8)

VALIDATION: Recommendation per cluster is concrete and tied to evidence.


=== PHASE 4: REDIRECT RULES & CANONICAL PATCHES ===


Generate platform-specific implementation:

Nginx:

location = /blog/old-url { return 301 /blog/winner-url; }

Apache (.htaccess):

RewriteRule ^blog/old-url$ /blog/winner-url [R=301,L]

Next.js (next.config.js):

async redirects() {
  return [
    { source: '/blog/old-url', destination: '/blog/winner-url', permanent: true },
    ...
  ]
}

Cloudflare Workers / Vercel vercel.json / Netlify _redirects:

/blog/old-url  /blog/winner-url  301

WordPress (Redirection plugin export):

source,target,type
/blog/old-url,/blog/winner-url,301

Canonical tag patches for "B. Canonicalize":

<link rel="canonical" href="https://example.com/canonical-url">

VALIDATION: Generated redirects parse correctly in their target stack.


=== PHASE 5: RECOVERY MODEL ===


Estimate post-fix click recovery:

Expected clicks per cluster after fix =
  (sum of impressions in cluster) × (CTR at winner's new expected position)

Position lift from consolidation:
  if total cluster clicks > 100 and lift ~ -1 to -3 positions (closer to top)
  use CTR-by-position curve (Google avg: pos 1=27%, pos 2=15%, pos 3=11%, pos 4=8%, pos 5=7%, etc.)

For each cluster:

  • Current cluster total clicks/week
  • Expected clicks/week after fix
  • Net gain
  • Confidence (high if true duplicate, medium for intent split, low for soft variants)

Aggregate: total expected click gain across all cannibalization fixes. Prioritize highest-gain × lowest-effort first.

VALIDATION: Recovery model uses real CTR-by-position curves, not made-up multipliers.


=== PHASE 6: ACTION QUEUE ===


Generate action_queue.md ordered by impact × inverse effort:

# Cannibalization Action Queue — {site}

## P0 — High impact, low effort
1. [Consolidate] "best CRM" cluster: 301 /blog/reviews + /pricing → /blog/best-crm. Expected: +180 clicks/week. Effort: 30 min. Risk: low.

## P1 — High impact, medium effort
2. [Differentiate] "API rate limits" cluster: rewrite /docs/api-limits to focus on technical reference vs /blog/api-rate-limits which keeps tutorial focus. Expected: +90 clicks/week. Effort: 4 hours.

## P2 — Polish
3. [Canonicalize] "/?utm_source=*" variants: add canonical pointing to clean URL. Expected: +5 clicks/week (de-duped indexing). Effort: 1 hour.

VALIDATION: Action queue has per-item expected gain + effort.


=== SELF-REVIEW ===


  • Complete: Detection + classification + 5 resolution types + redirect patches + recovery model?
  • Robust: Handles variant leakage with query strings? Avoids over-consolidating (some pairs SHOULD stay separate)?
  • Clean: Recommendations are platform-specific (Nginx / Next.js / WordPress)?
  • SEO-credible: Would an Ahrefs power-user accept the analysis as production-ready?

Common gap: recommending 301 on a page that's still gaining traffic. Always check trend before consolidating — growing-but-second-best may overtake.


=== LEARNINGS CAPTURE ===


~/.claude/skills/content-cannibalization/LEARNINGS.md.


=== STRICT RULES ===


  • Never recommend a 301 without first checking that both pages have the same primary intent. Intent splits don't consolidate, they differentiate.
  • Never propose a redirect that creates a chain (A→B→C). Always squash to A→C directly.
  • Never assume cluster sizes > 2 = always bad. Sometimes Google legitimately surfaces multiple URLs (e.g., subdirectory + a sub-page).
  • Always update internal links AFTER 301-ing. Otherwise the redirects hop forever and crawl budget burns.
  • Always re-pull GSC after 4-8 weeks to verify recovery model was correct. Refine assumptions over time.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion to interfaces using modern CSS — scroll-driven animations, view transitions, @starting-style, and GPU-accelerated transforms. Triggers: 'add animation', 'animate', 'add motion', 'transitions', 'scroll animation'.79 installsdesign-auditComprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.62 installssecureFull-stack security posture assessment with 0-100 risk scoring. Scans dependency vulnerabilities (npm audit, pip-audit, cargo audit, govulncheck), dangerous code patterns (SQL injection, eval, command injection, ReDoS, innerHTML, XSS vectors), authentication gaps (missing auth middleware.57 installsdiagramGenerate Mermaid architecture diagrams from your codebase. Produces C4 context and container diagrams, sequence diagrams for key flows, ER diagrams from database schemas, and module dependency graphs. Use when you need architecture diagrams, system diagrams, database ERD, sequence diagrams, dependency visualization, or C4 model diagrams.57 installsdesign-polishFinal autonomous quality pass before shipping. Fixes alignment, spacing, consistency, typography hierarchy, color harmony, motion timing, and every micro-detail that separates good from great..56 installsresponsiveAudit and fix responsive design issues across all breakpoints. Scans for fixed widths that cause mobile overflow, missing media query variants, non-responsive images, undersized touch targets below 48px, unreadable typography, and horizontal scroll violations..50 installs

More from Skills Hub

View source →
security-reviewSecurity audit and vulnerability assessment for any codebase. Scans for authentication bypasses, missing auth middleware, broken JWT validation (algorithm confusion, weak secrets, missing expiry), OAuth state and PKCE flaws, IDOR and horizontal privilege escalation.198 installsunit-testGenerate comprehensive unit tests with edge cases, error paths, and boundary values. Triggers: you need to add unit tests, increase code coverage, test edge cases, or verify error handling paths.167 installsweb-gameScaffolds a browser-based game with Phaser 3, PixiJS, or Three.js including game loop, asset pipeline, responsive canvas, input handling, audio, save/load, and deployment to itch.io or web. Triggers: on: "web game", "browser game", "html5 game", "phaser game", "pixi game".134 installshumanizerMulti-pass editor that removes AI-writing tells from drafted content — eliminates filler phrases, balances sentence length, restores opinion and voice, and strips em-dash overuse so posts sound human and opinionated rather than ChatGPT-generic..133 installsflutterBuilds Flutter applications from videos, screenshots, descriptions, or app clone requests. Triggers on: flutter app, build a mobile app, replicate this app in Flutter, build from video, build from screenshots, clone this app, build an app, make an app like, recreate this UI.129 installsdesign-to-codeTurn a design into production-quality frontend code: extract a design system with tokens and components, make layouts responsive across breakpoints, add dark mode with WCAG-compliant theming, then run a UX audit to validate everything..126 installs

More Analysis skills

Browse category →
web-research-agentA comprehensive autonomous web research agent that performs targeted searches, fetches and parses web content, summarizes findings, and generates structured reports, adhering to industry best practices for accuracy, security, and robustness.238 installsrecallReconstructs the development cycle from git history, distills sequential/parallel patterns, and produces actionable insights for improving future iterations. Triggers: recall, retrospective, development analysis, what happened, dev cycle analysis.20 installsseoAutonomous SEO + AI-search optimization agent for 2026. Audits and fixes technical SEO, on-page metadata, structured data, Core Web Vitals (LCP/INP/CLS), llms.txt, Generative Engine Optimization (GEO) for ChatGPT/Perplexity/AI Overviews, E-E-A-T author signals.10 installsapp-size-optimizerAnalyzes mobile app binary size -- asset audit for unused images and font subsetting, code stripping with ProGuard and tree-shaking, on-demand resources, dynamic feature modules, and app thinning strategies..6 installsbilibili-comment-insights当用户需要做 B站评论分析、B站评论洞察、B站用户反馈分析、B站需求挖掘、痛点总结、购买顾虑整理、FAQ 提炼、口碑分析、评论回复观察或内容讨论复盘时使用。基于用户提供的 B站视频、专栏、动态链接或对应内容 ID 下的评论结果,面向内容运营、产品调研、品牌调研和创作者。由社媒数据助手 SocialDataX 提供。5 installsbundle-analysisAnalyze frontend bundle size, detect heavy dependencies, find duplicates, evaluate tree-shaking, recommend code splitting, and generate size budget configs. Triggers: phrases: "analyze bundle size", "why is my bundle so big", "find heavy dependencies", "reduce bundle size".5 installs

Frequently asked questions about content-cannibalization

What does the content-cannibalization skill do?

Detect content cannibalization on a site — multiple URLs ranking (or impressing) for the same query, splitting click-through, diluting authority, and confusing Google about which URL is canonical for the intent.. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the content-cannibalization skill?

Run `npx @skills-hub-ai/cli install content-cannibalization` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/content-cannibalization/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does content-cannibalization work with?

content-cannibalization runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the content-cannibalization skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use content-cannibalization after installing it?

In Claude Code, type `/content-cannibalization` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the content-cannibalization skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.