SkillAgentSearch skills...

blog-cluster

Semantic topic cluster planning and automated execution engine for claude-blog. Performs SERP-based keyword research, groups keywords by search intent and SERP overlap, builds a hub-and-spoke cluster architecture, generates an interactive SVG cluster map, and executes the full cluster by orchestrati…

Install / Use

npx skills add AgriciDaniel/claude-blog --skill blog-cluster

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

93/100

Category

Automation

Supported Platforms

Claude Code

Tags

Our assessment of blog-cluster

blog-cluster scores 93/100 on our quality scale, 549th of 2,176 Automation skills we index (top 26%).

Its SKILL.md is 19 KB long, well organised into 28 sections with 2 code examples: a thorough specification that gives an agent plenty to work with.

With 2,282 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
18/20
Description
15/15
Adoption
14/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 4 days ago, so blog-cluster is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-09-29. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

blog-cluster compared with similar skills

All 4 of these similar skills score higher than blog-cluster; compare them before choosing.

SkillScoreStarsUpdatedFormat
blog-cluster (this skill)by AgriciDaniel932.3k4d agoSKILL.md
Agent-Reachby Panniantong10086.1k13d agoCLAUDE.md
rufloby ruvnet10073.5ktodayCLAUDE.md
Scraplingby D4Vinci10084.4ktodayMCP Server
algorithmic-artby anthropics100177.9k6d agoSKILL.md

Frequently asked questions

How do I install blog-cluster?
Run npx skills add AgriciDaniel/claude-blog --skill blog-cluster. The install tabs above show the steps for each supported agent.
Which AI agents does blog-cluster work with?
It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
Is blog-cluster safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is blog-cluster still maintained?
The repository was last updated 4 days ago, so blog-cluster is actively maintained.

name: blog-cluster description: > Semantic topic cluster planning and automated execution engine for claude-blog. Performs SERP-based keyword research, groups keywords by search intent and SERP overlap, builds a hub-and-spoke cluster architecture, generates an interactive SVG cluster map, and executes the full cluster by orchestrating blog-write calls with shared cluster context and automatic internal-link injection. Fills the strategy-to-execution gap: blog-strategy plans the blueprint, blog-cluster builds the house. Use when user says "blog cluster", "topic cluster", "content cluster", "cluster plan", "cluster execute", "pillar content", "hub and spoke", "content ecosystem", "cluster map". license: MIT compatibility: Requires Claude Code and claude-blog (provides blog-write, blog-chart, blog-image) metadata: author: AgriciDaniel version: "2.2.0" category: blog user-invokable: true argument-hint: "[plan|execute] [seed-keyword|cluster-plan.json]"

Blog Cluster (Semantic Topic Cluster Engine)

Plans and executes entire interlinked content ecosystems from a single seed keyword. Three layers: Semantic Clustering (the brain), Cluster Architecture (the structure), and Execution Engine (the machine).

Adapted from the semantic-cluster-engine submission by Lutfiya Miller (winner, AI Marketing Hub Pro Challenge, March 2026, 95/100 Exemplary). Original repository: https://github.com/Drfiya/semantic-cluster-engine This port keeps the Plan + Execute architecture and the cluster context innovation, removes brand-specific (ScienceExperts.ai) styling and image prompts, and routes through claude-blog's existing sub-skills.

Commands

| Command | What it does | |---------|--------------| | /blog cluster | Interactive. Asks whether to plan or execute. | | /blog cluster plan <seed-keyword> | SERP-based semantic analysis. Outputs cluster plan + map. | | /blog cluster plan --from strategy [path] | Imports existing blog-strategy cluster build plan and validates against SERP data. | | /blog cluster execute [path-to-plan] | Sequential blog-write calls with cluster context and auto-interlinks. |

Key references (load on demand)

  • references/semantic-clustering.md (SERP overlap analysis, intent classification, keyword universe expansion)
  • references/cluster-architecture.md (hub-and-spoke specs, schema strategy, link-density rules)
  • references/execution-workflow.md (execution order, context injection, scorecard, failure handling)

Cross-references to existing claude-blog skills

| Skill | When this skill calls it | |-------|--------------------------| | /blog strategy | Upstream planning. plan --from strategy consumes its Cluster Build Plan tables. | | /blog write | Per-post execution. Each spoke and the pillar are produced by blog-write with a prepended cluster-context block. | | /blog chart | Invoked internally by blog-write for inline SVG charts. No direct call from this skill. | | /blog image | Optional hero image generation per post. Model selection is delegated to blog-image; prefer current Gemini image models when available. | | /blog seo-check | Recommended after execution for per-post on-page validation. | | /blog cannibalization | Recommended after execution to confirm zero keyword overlap across the cluster. | | /blog schema | Recommended after execution to add BreadcrumbList, ItemList, and Article schema. |

This skill never modifies files belonging to other skills. It calls them via the Task tool or as orchestrated sub-skills.

Command Routing

  1. Parse the user's command to determine the sub-command.
  2. If the user typed only /blog cluster, ask: "Would you like to plan a new cluster or execute an existing plan?"
  3. Route:
    • plan <keyword> to the Plan Phase (below)
    • plan --from strategy [path] to the Strategy Import flow (below)
    • execute [path], build, or run to the Execute Phase (below)

Plan Phase: /blog cluster plan <seed-keyword>

Reference: references/semantic-clustering.md

Step 1. Seed keyword expansion

Use WebSearch to expand the seed into a keyword universe of 30 to 50 phrases:

  1. Direct search of <seed> to capture related searches and "People also ask".
  2. Long-tail expansion: <seed> guide, <seed> tips, <seed> tools, <seed> examples, <seed> vs, best <seed>, how to <seed>.
  3. Question mining: what is <seed>, how does <seed> work, why <seed>, <seed> for beginners.
  4. Intent variants: add commercial modifiers (best, top, review, comparison, pricing), informational modifiers (guide, tutorial, explained, examples), and transactional modifiers (buy, download, tool, software, service).
  5. Year freshness: <seed> 2026.

Step 2. Semantic clustering

Group the expanded keywords using the priority rules in references/semantic-clustering.md:

  1. SERP Overlap Analysis is the primary signal. Two keywords with 4 or more shared top-10 results usually target the same intent and should be considered for one post.
  2. Intent Classification assigns each keyword to informational, commercial, transactional, or navigational.
  3. Entity Mapping identifies the people, products, frameworks, and organizations Google associates with the topic.
  4. Grouping combines keywords that share intent and topical proximity. Each group becomes one branch of the hub and spoke.

Step 3. Cluster architecture design

Reference: references/cluster-architecture.md

Build the hub and spoke:

  • Pillar (hub): targets the broadest keyword. Word count 2,500 to 4,000. Template pillar-page. Links down to every spoke.
  • Spokes: each targets a long-tail cluster. Word count 1,200 to 1,800. Template auto-selected by intent. Links up to the pillar and across to siblings.

Cluster formation rules:

  • Normal mode: 2 to 5 clusters per pillar, 2 to 4 spokes per cluster, total 1 pillar plus 5 to 15 spokes.
  • Small-cluster mode: for narrow seeds, allow 1 pillar plus 2 to 4 spokes only after warning the user and asking for confirmation.
  • Every spoke targets a unique primary keyword (zero cannibalization).

Step 4. Internal link matrix

For each spoke S:

  • S to Pillar (always; anchor text uses the pillar's primary keyword).
  • Pillar to S (always; anchor text uses S's primary keyword).
  • S to other spokes in the same cluster (2 to 3 links each, contextual anchors).
  • S to spokes in adjacent clusters (0 to 1 links, only when semantically relevant).

Verify every spoke has at least 2 incoming links. Count total planned interlinks.

Step 5. Generate output files

All plan and execute artifacts go into a single subdirectory of the current working directory. Canonicalize the output directory, refuse symlinks, and reject writes outside the cluster directory. Slugs must match lowercase letters, numbers, and hyphens only; reject absolute paths, .., path separators inside slugs, and hidden control characters.

<cwd>/
└── cluster-<seed-keyword-slug>/
    ├── cluster-plan.json
    ├── cluster-map.html
    ├── pillar-<slug>.md       (Execute Phase)
    ├── <spoke-slug>.md        (Execute Phase, one per spoke)
    └── cluster-scorecard.md   (Execute Phase)

cluster-plan.json schema

{
  "seed_keyword": "<seed>",
  "generated_at": "YYYY-MM-DDTHH:MM:SSZ",
  "pillar": {
    "id": "P",
    "title": "Title of the pillar",
    "primary_keyword": "broadest keyword",
    "secondary_keywords": ["..."],
    "search_volume_estimate": "high|medium|low",
    "template": "pillar-page",
    "word_count_target": 3000,
    "cluster": "pillar"
  },
  "clusters": [
    {
      "name": "Cluster A: Theme",
      "intent": "informational|commercial|transactional",
      "color": "#2563eb",
      "posts": [
        {
          "id": "A1",
          "title": "Post title",
          "primary_keyword": "long-tail keyword",
          "secondary_keywords": ["..."],
          "search_volume_estimate": "high|medium|low",
          "template": "how-to-guide",
          "word_count_target": 1500,
          "links_to": ["P", "A2"],
          "links_from": ["P", "A2"]
        }
      ]
    }
  ],
  "total_posts": 9,
  "total_interlinks": 23,
  "estimated_total_words": 18000
}

Note: volume estimates are relative indicators (high, medium, low) derived from SERP signals, not absolute search volumes. For precise data, the user should consult Ahrefs, SEMrush, or DataForSEO (claude-blog provides the seo-dataforseo companion sibling).

cluster-map.html (XSS-safe)

A static, self-contained HTML file with an embedded SVG visualization. Hard rules for the writer:

  • No inline <script> blocks. No onclick, onmouseover, or any on* event attributes anywhere in the document.
  • No external script <src> references.
  • Every text label drawn into the SVG (titles, keywords, cluster names) must be escaped: replace & with &amp;, < with &lt;, > with &gt;, " with &quot;, and ' with &#39; before insertion.
  • Hover effects use CSS :hover only. No JavaScript.
  • Use <title> child elements inside SVG nodes for accessible tooltips (browser native, no script).

The map shows: a central pillar node, color-coded cluster groups radiating outward, spoke nodes within each cluster, and link lines connecting related nodes.

Step 6. Present plan to user

Show a summary table of clusters and posts, total interlinks, estimated words, and the file paths. Ask for confirmation before proceeding to execution. Wait for explicit user approval. Do not auto-execute.


Strategy Import: /blog cluster plan --from strategy [path]

Bridges blog-strategy output into a cluster plan.

  1. Locate strategy output. Scan the current directory (or the user-specified path) for a file containing a Cluster Build Plan table with the columns # | Spoke Topic | Template | Target Keyword | Word Count | Internal Links (the format produced by /blog strategy).
  2. Parse the table. Extract the pillar row (marked P), the spoke rows, template assignments, target keywords, word counts, and link relationships.
  3. Validate and enrich. Run SERP overlap validation (Plan Phase Step 2) on each keyword. Add volume estimates and verify cluster groupings semantically.
  4. If SERP data contradicts the strategy table, flag the conflict; do not silently override the user's strategic intent.
  5. Generate cluster-plan.json and cluster-map.html using the same outputs as the standard Plan Phase.
  6. Present the converted plan with any SERP-based adjustments highlighted, and wait for user confirmation.

Execute Phase: /blog cluster execute [path-to-plan]

Reference: references/execution-workflow.md

Step 1. Load plan

Read cluster-plan.json from the user-specified path or the most recent cluster-*/cluster-plan.json in the working directory. Validate JSON structure. If no plan exists, return: "No cluster plan found. Run /blog cluster plan <seed-keyword> first."

Before reading a user-supplied plan path, canonicalize it relative to the current working directory. Reject absolute paths, .., symlinks, non-cluster-plan.json filenames, and any path outside the selected cluster directory. Constrain all generated post, image, map, and scorecard outputs to that cluster directory.

Step 2. Determine execution order

  1. Pillar page first (so spokes can link to a known filename).
  2. Then spokes, ordered by (cluster priority, search_volume_estimate desc, post id alphabetical). Cluster priority is the sum of estimated volumes within the cluster (highest first).
  3. Alternating between clusters when more than 2 clusters exist diversifies the early content spread.

Step 3. For each post: build cluster context and call blog-write

Construct the cluster context block (full schema in references/execution-workflow.md) and prepend it to the topic prompt passed to the Task tool invoking blog-write. The context tells `blog-wri

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars2.3k
CategoryAutomation
Updated4d ago
Forks392

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions