topic-clusters
Skill0 starsChanged 2 days agoMITView on GitHub
Group Search Console queries into topics, map each topic to the pages that serve it, and decide the hub and spoke structure: which pages to create, which to merge, which to leave. Uses a Search Console query+page export, a deterministic grouping helper, and the cannibal and links commands. Use when the user says 'topic clusters', 'content cluster', 'pillar page', 'hub and spoke', 'what pages should I write next', 'group my keywords', 'content map', 'site structure for SEO'.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- UXMagicai/seosorted-skillstheir own version, first seen Oct 4, 2026
- powerczuk/seo-machinetheir own version, first seen Sep 3, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- powerczuk/seo-machine★ 0same name
- UXMagicai/seosorted-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-readySkill
- ai-citationsSkill
- ai-crawlersSkill
- ai-logsSkill
- ai-trackerSkill
- backlinksSkill
- cannibalizationSkill
- canonicalsSkill
- citabilitySkill
- comparison-pagesSkill
- competitorsSkill
- content-briefSkill
- content-decaySkill
- content-qualitySkill
- core-web-vitalsSkill
- ecommerce-seoSkill
- ga4-aiSkill
- ghost-publishSkill
- gsc-bingSkill
- hreflangSkill
- imagesSkill
- indexingSkill
- internal-linksSkill
- llms-txtSkill
- local-seoSkill
- measure-rollbackSkill
- onpageSkill
- platformsSkill
- pseo-quality-gateSkill
- quick-winsSkill
- redirects-migrationSkill
- schemaSkill
- seo-planSkill
- seo-reportSkill
- setupSkill
- site-architectureSkill
- sitemapsSkill
- static-site-publishSkill
- sxoSkill
- tech-auditSkill
- titles-metaSkill
- weekly-checkSkill
- wordpress-publishSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 14
Search Console query+page rows for 90 days or more (gsc --dims query,page --out qp.csv, see gsc-bing), or a user export with columns Query, …
- Distinctive: line 39
Keep to what the data supports: a hub needs at least a few real spoke queries, not a list of invented subtopics.
- Distinctive: line 40
Check the current link state:
- Distinctive: line 58
Do not present clusters as a ranking factor.
- Distinctive: line 59
Do not create pages for queries that have no impressions and no user evidence.
- Distinctive: line 60
Do not mass-generate spoke pages from a keyword list.
- Very specific: line 61
Do not merge or redirect pages without the cannibalization checks and the user's agreement.
- Distinctive: line 62
Only restructure pages the user owns.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Topic clusters from the site's own queries
Goal: a content map built from queries the site already receives, with a decision per topic: write, extend, merge or leave. Google documents no "topic cluster" ranking feature. The structure is a way to organise pages and internal links for readers and crawlers, and the skill presents it that way.
Inputs
- Search Console query+page rows for 90 days or more (
gsc --dims query,page --out qp.csv, seegsc-bing), or a user export with columns Query, Page, Clicks, Impressions, CTR, Position. - The site's sitemap (for
links).
Steps
- Export:
The API returns at most 50K rows per day per search type and may drop rows when grouping by query and page, so small queries can be missing. Say so in the report.npx sitetiller gsc example.com --start 2026-08-12 --end 2026-11-09 --dims query,page --out qp.csv - Draft the groups with the helper (offline, reads the CSV as data, no shell, no network):
Each cluster hasnode skills/topic-clusters/references/cluster-queries.mjs qp.csv --min-imp 10 --jsonlabel,queries,impressions,clicks,avgPosition,pages(which URLs got impressions for the cluster) andtopQueries. The helper joins queries that share two words (or one word when both are short). It does not understand meaning. Read each cluster and split or merge by hand; record the final names. - For each cluster, classify:
Pattern in the data Reading Decision One page holds most impressions, positions 1-3 topic is served leave; link supporting pages to it One page, positions 4-20, many queries page is relevant but not strong extend that page, add internal links ( internal-links)Several pages share the cluster's queries overlap run cannibalizationbefore creating anythingQueries with real impressions, no page contains the words gap create a spoke page from a brief ( content-brief)Many tiny queries across many weak pages on one subtopic fragmentation merge into one stronger page, redirect the rest ( cannibalization) - Choose the structure per large topic:
- Hub: one page that covers the topic broadly, answers the main query, and links to each spoke with descriptive anchors.
- Spokes: pages for specific sub-questions with their own query set, each linking back to the hub and to one or two sibling spokes where a reader would go next.
- Keep to what the data supports: a hub needs at least a few real spoke queries, not a list of invented subtopics.
- Check the current link state:
Fields:npx sitetiller links https://example.com --pages 100 --jsonorphans,weak(each withurl,linkedFrom,anchors). Orphans and weak pages in a cluster go first. Details ininternal-links. - Produce the content map (below) and queue the work: briefs for gaps, merges for fragments, link edits for weak pages.
Content map format
| Topic | Queries / impressions | Current pages | Hub | Spokes to create | Merge | Links to add |
| Fill each cell from the data. "Spokes to create" lists real query strings from the export, never invented ones. |
Output to the user
- The content map and the top five actions by impressions affected.
- What the data cannot show (queries dropped by export limits, topics with no impressions yet). For topics with no data, say a brief needs the live results page from the user.
- How each action will be measured (
measure-rollback).
Guardrails
- Do not present clusters as a ranking factor. Google documents none; the benefit claimed is organisation, links and coverage.
- Do not create pages for queries that have no impressions and no user evidence.
- Do not mass-generate spoke pages from a keyword list. Google's spam policies name scaled content abuse: many pages made mainly to rank, with unoriginal content.
- Do not merge or redirect pages without the
cannibalizationchecks and the user's agreement. - Only restructure pages the user owns.
References
references/cluster-queries.mjs(offline helper)references/sources.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

