blog-cannibalization

blog-cannibalization is a skill for Claude Code from AgriciDaniel/claude-blog. It costs 106 tokens per session (2,026 once invoked), scanned A, original, MIT.

A tool for finding keyword cannibalization, where several articles target the same search topic and compete with one another. It reads blog files locally and can optionally use DataForSEO search data.

In plain words
What is it for?
Use it to scan Markdown, MDX, or HTML blog posts, extract keywords from headings and text, group similar targets, and flag competing search intent.
Why use it?
It reveals overlapping articles that may make it unclear which page should rank for a search. Local analysis needs no API key; the optional API mode needs DataForSEO credentials.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Part of the claude-blog plugin — 32 skills shipped together

Good fit Use it to scan Markdown, MDX, or HTML blog posts, extract keywords from headings and text, group similar targets, and flag competing search intent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agricidaniel/claude-blog/blog-cannibalization
About the project

claude-blog is a Claude Code skill suite for planning, writing, optimizing, auditing, localizing, and refreshing blog content. It is for content and SEO workflows that produce articles and related publishing artifacts while checking drafts against defined delivery criteria. The catalogue entries provide the skills, agents, plugins, and instruction used by this workflow.

AgriciDaniel/claude-blog · 2,125 stars · on GitHub · claude-blog.md

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 AgriciDaniel/claude-blog --skill blog-cannibalization
Clone the repo
git clone --depth 1 https://github.com/AgriciDaniel/claude-blog

Made for: Claude Code.

Or install claude-blog, the plugin that ships this one along with the rest of its 32 skills.

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 blog-cannibalization

README.md
[![agentmods](https://agentmods.dev/badge/skills/agricidaniel/claude-blog/blog-cannibalization/github.svg)](https://agentmods.dev/skills/agricidaniel/claude-blog/blog-cannibalization)
Your own site
<a href="https://agentmods.dev/skills/agricidaniel/claude-blog/blog-cannibalization"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-blog/blog-cannibalization/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 blog-cannibalization

Your own site · 80×15
<a href="https://agentmods.dev/skills/agricidaniel/claude-blog/blog-cannibalization"><img src="https://agentmods.dev/badge/skills/agricidaniel/claude-blog/blog-cannibalization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,026 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
  • Socket pass 5 May 2026
  • Snyk pass 5 May 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 92
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 107
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00106 $0.02026
Opus 5 $0.00053 $0.01013
Sonnet 5 $0.00021 $0.00405
Haiku 4.5 $0.00011 $0.00203

Measured 13d ago against content hash f9b73ebc79dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

blog-cannibalization 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 13d 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.

brain/.raw/sources/claude-blog-skill/skills/blog-cannibalization/SKILL.md · 224 lines

How it starts

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

Blog Cannibalization - Keyword Overlap Detection

Detect when multiple blog posts compete for the same search keywords. Two modes: local-only analysis (default) and DataForSEO API mode for SERP-level data.

Two Modes

Mode Flag Cost Data Source
Local (default) Free File content analysis via Grep/Read
API --api ~$0.01/call DataForSEO Page Intersection + Ranked Keywords

Local mode works without any API keys. API mode requires DataForSEO credentials set as environment variables: DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD.

Local Mode Workflow

Step 1: Scan Blog Files

Use Glob to find all content files in the target directory:

  • Patterns: **/*.md, **/*.mdx, **/*.html
  • Skip files in node_modules/, .git/, drafts/

Step 2: Extract Primary Keywords

For each file, read and extract keyword signals from:

  • Title tag or H1 heading (highest weight)
  • H2 headings (medium weight)
  • First paragraph (supporting signal)
  • Meta description if present in frontmatter

Primary keyword extraction method:

  1. Tokenize title, H1, H2s, meta description, and first paragraph into 1-gram, 2-gram, and 3-gram phrases.
  2. Normalize deterministically: lowercase, remove locale-aware stop words, lemmatize or stem consistently, preserve product names, and keep intent modifiers such as "best", "pricing", "vs", "review", "template", and year.
  3. Score sections separately: title/H1 highest, meta description and H2s medium, first paragraph supporting.
  4. Select the top-scoring 2-3 word phrase as the primary keyword and record secondary keywords from H2 headings.

Step 3: Cluster by Similarity

Group posts into clusters using these matching rules (in priority order):

  1. Exact match - identical primary keyword across 2+ posts
  2. Stem match - same root word (e.g., "optimize" vs "optimization")
  3. Semantic overlap - Assign explicit intent labels such as informational, commercial, transactional, comparison, or troubleshooting. Include confidence and a one-sentence rationale, or use an embeddings workflow with a documented threshold.
  4. Subset match - one keyword contains another (e.g., "email marketing" vs "email marketing for startups")

Read the full file on GitHub · 224 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. 13d ago First seen · 224 lines · 106 tokens per session scan A f9b73ebc79dd

Subscribe to this mod's changes

blog-cannibalization is a skill published in the GitHub repository AgriciDaniel/claude-blog (2,125 stars, last pushed yesterday), licensed MIT. It adds 106 tokens to every session and 2,026 once invoked, about $0.0005 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 skills, from other repositories

banana

Direct, generate, edit, compare, and review visual assets with current Google Gemini image models. Use for image creation, image editing, reference-based consistency, product and character visuals, text-bearing graphics, grounded diagrams, video-derived images, and multi-model image portfolios.

AgriciDaniel/banana-claude · 55 tokens

shorts

Interactive longform-to-shortform video creator. Extracts viral-ready short clips from long videos using Claude as the orchestrator. Transcribes with faster-whisper (GPU), Claude scores and presents candidate segments interactively, user picks and adjusts, Remotion renders premium animated captions (Bold/Bounce/Clean…

AgriciDaniel/claude-shorts · 125 tokens

repurpose

Content Repurposing Engine. Transforms any content (YouTube videos, blog posts, podcasts, local files, pasted text) into platform-optimized outputs for Twitter/X, Threads, LinkedIn, Instagram, TikTok, Pinterest, Snapchat, Facebook, YouTube Community, Skool, Discord, Reddit, Quora, Medium, WhatsApp Channels, Telegram…

AgriciDaniel/claude-repurpose · 179 tokens

repurpose-calendar

Generates a 7-day publishing calendar with staggered posts, optimal timing per platform, file references, engagement reminders, and theme-day grouping. Prevents audience fatigue by limiting to 2-3 posts per day. Sub-skill of the Content Repurposing Engine. Use when user says "publishing calendar", "content calendar"…

AgriciDaniel/claude-repurpose · 87 tokens

repurpose-medium

Generates Medium publication content from content atoms: long-form articles (1500-3000 words) with narrative arc, SEO-optimized titles and subtitles, tag and publication targeting, and canonical crosspost handling. Optimizes for Google indexing, read time, and publication submission. Sub-skill of the Content…

AgriciDaniel/claude-repurpose · 96 tokens

repurpose-quora

Generates Quora content from content atoms: a detailed answer to a relevant question, a Quora Space post for thought leadership, and question suggestions for authority building. Optimizes for expertise signals, SEO value, and upvote-worthy depth. Sub-skill of the Content Repurposing Engine. Use when user says "quora"…

AgriciDaniel/claude-repurpose · 95 tokens