Skip to content
Back to skills

Content Decay And Links

ASecurity

Diagnose decaying organic pages, resolve keyword cannibalization, and engineer a hub-and-spoke internal-linking graph into money pages using Google Search Console exports/API and live BeatAPI SEO Data (top_pages, ranked_keywords, backlinks). Use when search traffic plateaus or drops, two URLs split impressions for the same query, or published content needs surgical refresh briefs and contextual internal links.

  • 15 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentspythonrustgoapiperformance

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add BeatAPI/BeatCMO --skill content-decay-and-links --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Content Decay And Links?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Content Decay And Links
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/beatapi-content-decay-and-links/badge)](https://www.skillsdirectory.com/skills/beatapi-content-decay-and-links)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: content-decay-and-links
description: Diagnose decaying organic pages, resolve keyword cannibalization, and engineer a hub-and-spoke internal-linking graph into money pages using Google Search Console exports/API and live BeatAPI SEO Data (top_pages, ranked_keywords, backlinks). Use when search traffic plateaus or drops, two URLs split impressions for the same query, or published content needs surgical refresh briefs and contextual internal links.
when_to_use: content decay, traffic decay, keyword cannibalization, internal linking audit, content refresh plan, striking distance keywords, seo content audit
argument-hint: "[domain URL, optional GSC CSV export path]"
metadata:
  beatapi:
    version: 1.0.1
    layer: growth
    reads: [product-information, brand-manifest, keyword-plan, content-strategy, positioning#chosen-angle, learnings]
    writes: [assets]
    optional-keys: [BEATAPI_API_KEY, GOOGLE_APPLICATION_CREDENTIALS, GSC_SITE_URL]
    enhances_with:
      - toolset: search-console
        gains: "compares 90-day vs prior 90-day clicks, impressions, CTR, and average position per page and query"
      - toolset: seo-data
        gains: "pulls live top_pages, ranked_keywords, and backlinks via BeatAPI SEO Data to map authority and striking-distance ranks"
      - toolset: web-scrape
        gains: "maps all live URLs via BeatAPI Web Map and reads decaying vs top-ranking SERP pages in full via Web Read"
---

# Content Decay, Cannibalization & Internal Linking (`content-decay-and-links`)

Publishing 20 net-new blog posts while your top 5 historical traffic drivers slip from position 3 to position 9—or while two overlapping guides split authority on the same buyer query—leaves your highest-certainty organic pipeline on the table. Search engines already trust URLs with age, backlinks, and impression history. This skill runs **Stage 4 SEO maintenance**: separating true ranking decay from AI Overview CTR compression, resolving cannibalization with clean 301/intent surgery, and wiring contextual internal links from high-authority articles straight into commercial money pages (`/pricing`, `/vs/*`, `/tools/*`).

## Context

Only if `./brand/`, `./brands/` or `MARKETING.md` exists (nothing to load otherwise), run:
`python3 ${CLAUDE_SKILL_DIR}/../start-here/scripts/brand_context.py --for content-decay-and-links`
(`${CLAUDE_SKILL_DIR}` is this skill's folder; outside Claude Code, use the folder this `SKILL.md` lives in.)
(If unavailable, read `reads:` directly. Ask only for the domain and any GSC query+page export if available.)

---

## Phase 1: Pull Live Ranking, Traffic & URL Inventory

Combine first-party Search Console truth with BeatAPI SEO & Web inventory (never invent historical click deltas when only a single-day snapshot exists—state exact data windows in `notes.md`):

1. **Google Search Console (when `GSC_SITE_URL` credentials or CSV export exist):**
   - Pull `["page", "query"]` for the **last 90 days** vs the **prior 90 days** (plus YoY 90-day window if seasonality applies). Compute `clicks_delta`, `impressions_delta`, `ctr_delta`, and `position_delta` per URL and per query.
2. **BeatAPI SEO Data & Web Map (`BEATAPI_API_KEY` or connected BeatAPI MCP):**
   - Run `data:seo.top_pages`, `data:seo.ranked_keywords` (`limit: 100`), and `data:seo.backlinks` (`POST https://api.beatapi.io/v1/capabilities/run`) to identify top-traffic URLs, pages sitting in **striking distance (positions `4–15`)**, and pages holding external referring domains.
   - Run `data:web.map` (`POST https://api.beatapi.io/v1/web/map`) or fetch `/sitemap.xml` to inventory every live editorial and commercial URL—including orphaned money pages receiving zero internal links.

---

## Phase 2: Separate Four Distinct Decay & Opportunity Mechanisms

Never prescribe *"rewrite the post and add 500 words"* blindly. Diagnose which of the four mechanisms is actually happening:

| Observed Signal | True Root Cause | Correct Fix (Wrong Fix Kills Traffic) |
|---|---|---|
| **Impressions stable/up, Position stable (`#1–#3`), Clicks & CTR down `>= 20%`** | **AI Overview / Zero-Click CTR Compression** (not a ranking drop!) | Do **not** gut the URL structure or H1 that holds `#1–#3`. Retrofit a 50-word citable answer + proprietary stat (`/ai-search`), sharpen `<title>` curiosity/specificity for the human click, and add an inline interactive tool/template CTA higher on the page |
| **Position slipped (`#2 -> #8`), Impressions & Clicks falling** | **Freshness / Depth Displacement** (newer or more specific pages overtook you) | Fetch current top 3 SERP winners via `data:web.search` + `data:web.read`; replace fossil dates/screenshots, add missing sub-questions & dated tables, update `dateModified` honestly, and route to `/seo-content` Refresh Mode |
| **Position sitting `#5–#15` with high commercial impressions, never cracked Top 3** | **Striking-Distance Under-Authority or Intent Partial-Match** | Add 3–5 contextual internal links from high-backlink pages (Phase 4) + tighten opening answer block and comparison table |
| **2+ URLs oscillating between `#8` and `#22` for the same query** | **Keyword Cannibalization** (Google splitting authority across duplicate intents) | Execute Phase 3 Consolidation or Intent Split |

---

## Phase 3: Keyword Cannibalization Decision Matrix

Group every query in `ranked_keywords` / GSC where **2 or more URLs on your domain earn `>= 15%` of that query's impressions** or swap ranking positions month to month. Assign **one decisive resolution per collision**:

1. **Consolidate + `301` Permanent Redirect (same search intent, two overlapping articles):**
   - Pick the **keeper URL** by: (a) external backlinks (`data:seo.backlinks`), (b) historical clicks/age, and (c) clean evergreen slug (never keep `/blog/2023-guide-v2` over `/blog/workflow-pricing`).
   - Fold every unique stat, table, or angle from the weaker URL into the keeper URL, update all internal links pointing to the weaker URL so they point **directly** to the keeper URL (avoid internal 301 hops), and ship a server-level `301` redirect.
2. **Intent Re-Anchoring (related topic, genuinely different buyer jobs):**
   - Example: `/blog/zapier-pricing-explained` colliding with `/vs/zapier`.
   - Keep both, strip head-to-head comparison tables out of the informational post, re-title the blog post strictly around tier mechanics, and place a prominent above-the-fold callout + contextual anchor linking `"Northpeak AI vs Zapier comparison"` into `/vs/zapier`.
3. **Prune / `410` (zero-impression, zero-backlink thin tag/archive bloat):**
   - Only when a page has **0 clicks, near-0 impressions over 6+ months, 0 external backlinks, and zero unique product value**. Never delete or redirect a URL carrying referring domains without mapping its `301` target first.

---

## Phase 4: Hub-and-Spoke Internal-Linking Graph (Authority → Money Pages)

Blog posts earn informational traffic and backlinks; `/pricing`, `/vs/*`, `/integrations/*`, and `/tools/*` convert revenue. Bridge the two with a **surgical Link Insertion Table**:

1. **Identify Donor Pages (High Authority):** top 10–15 editorial URLs ranked by external backlinks (`data:seo.backlinks`) + organic sessions (`data:seo.top_pages`).
2. **Identify Starved Money Targets:** commercial landing pages, `/vs/` pages, and free tools with `< 5` contextual internal inlinks (check via `crawl_audit.py` `pages.jsonl` if available, or read donor pages via `data:web.read`).
3. **Write Exact Contextual Paragraph Edits (Not Generic "Related Posts" Footers):**
   - Body links inside relevant paragraphs carry far more crawl and click weight than sidebar/footer widgets.
   - Vary natural, descriptive anchor text (`"per-completed-run workflow pricing"`, `"see how Zapier and Northpeak compare at 50k runs"`)—never stuff identical exact-match anchors 20 times.
   - Output `Source Donor URL | Target Money URL | Section / H2 | Exact Replacement Sentence With Markdown Link`.
4. **Local Repo Branch Patch Handoff:** when run inside the website repository, offer to apply the internal-link edits and redirect config (`next.config.*` / `_redirects` / `vercel.json`) on a local branch (`fix/beatcmo-seo-links-<date>`) or write Unified Diffs under `./campaigns/content-refresh-<date>/patches/`—**never push to `main` without human review**.

---

## Phase 5: Internal Calibration Rubric (Silent 1–10 Gate)

Score privately across five dimensions (`>= 8/10` required before presenting):
- **Mechanism Accuracy:** separates AI Overview CTR compression from true rank loss; zero fabricated historical deltas when GSC is absent.
- **SERP-Backed Refresh Briefs:** top 3–5 refresh targets cite live competing URLs read via `data:web.read` / `WebFetch` and specify exact sections to cut/add.
- **Safe Redirect Hygiene:** every `301` recommendation checks backlinks, preserves evergreen slugs, and updates internal link sources directly.
- **Surgical Link Table:** names exact donor URLs, target money URLs, H2 placement, and ready-to-paste contextual anchor sentences.
- **45-Day Retest Contract:** specifies exact URLs and target position/click thresholds for `/performance-review`.

## Worked SaaS Example (Illustrative — Sample Company `Northpeak AI`)

- **Inventory findings:** `Northpeak AI` (`https://northpeak.example`) had `/blog/webhook-retry-best-practices` sitting at `#2` with 18 referring domains (high donor authority, zero links to `/pricing` or `/tools/automation-cost-calculator`), while `/blog/workflow-automation-cost-2024` slipped `#4 -> #11` (stale 2024 tier caps) and collided with `/blog/per-task-vs-per-run-pricing` on `"workflow automation pricing"`.
- **Shipped actions:** Merged `/blog/per-task-vs-per-run-pricing` into `/blog/workflow-automation-cost` (evergreen slug, `301` redirect from both old slugs, updated 2026 vendor caps), and inserted 9 contextual body links from the top 4 engineering blog posts into `/vs/zapier`, `/tools/automation-cost-calculator`, and `/pricing`.

## Output

Write `./campaigns/content-refresh-<date>/decay-and-links.md` + `notes.md` before summarizing (`start-here/references/output-format.md`), and append one line to `./brand/assets.md`.

**What's next:**
- `/seo-content`: execute Refresh Mode on the #1–#3 decaying URLs using the surgical briefs (~20 min per page)
- `/comparison-pages`: build dedicated `/vs/` targets where informational posts were cannibalizing commercial comparisons (~20 min)
- `/site-audit`: run `crawl_audit.py` after shipping redirects and internal links to verify zero redirect chains or 404s (~10 min)
- `/performance-review`: re-evaluate GSC clicks, CTR, and position on refreshed URLs at Day 30 and Day 60 (~15 min)

## When the user edits your work

Apply the edit, save a gold case to `./brand/gold/<this skill>/` and 1–3 checks to `./brand/checks.md`, and confirm in one line (`${CLAUDE_SKILL_DIR}/../start-here/references/taste-loop.md`).

Files in this skill

  • LICENSE1.3 KB
  • SKILL.md10.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.