Community编程与开发github.com

cygnixlabs-cmd/cygnix-seo-skills

将关键词列表按主题聚类,为每个聚类分配支柱关键词、主要搜索意图和建议页面类型。适用于用户粘贴关键词或 CSV 文件并要求聚类、分组、组织或映射关键词到页面,或规划内容中心。离线运行,无需 API 密钥。

cygnix-seo-skills 是什么?

该技能将扁平的关键词列表转化为按页面规模划分的聚类,每个聚类自动获得支柱关键词(基于最高搜索量或最短词)、主要意图及对应的页面类型。它基于词法聚类算法,去除停用词、轻度词干化,并使用 Jaccard 相似度将相似关键词聚合到同一支柱下。技能完全离线运行,无需外部 API,适用于 Ahrefs、Semrush、GSC 或 Keyword Planner 等工具导出的关键词数据。虽然无法识别同义词或实时 SERP 分析,但它提供了一个快速、免费的基线规划工具,并可通过付费版本扩展为包含意图标注、内容简报或 MCP 服务器的高级功能。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cygnixlabs-cmd/cygnix-seo-skills/tree/HEAD/skills/keyword-clustering-lite

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

关键词聚类(精简版)

将扁平的关键词列表转化为按页面规模划分的聚类。每个聚类会获得一个支柱关键词(最高流量,若无流量数据则取最短词)、主要意图以及通常为该意图排名的页面类型。

使用时机

  • “把这些关键词聚类”、“对这份关键词导出进行分组”、“哪些关键词可以共享一个页面?”
  • 在规划支柱/聚类内容中心时,处理来自关键词工具(Ahrefs、Semrush、GSC、Keyword Planner)的导出数据。

运行方式

  1. 将关键词保存为 .txt 文件(每行一个关键词)或包含 keyword 或 query 列的 CSV 文件。可选的 volume / search volume / impressions 列用于选择支柱关键词和对聚类排序。
  2. 运行:
    python3 scripts/cluster.py keywords.csv            # 默认阈值为 0.5
    python3 scripts/cluster.py keywords.txt --threshold 0.4   # 更宽松的聚类
    
  3. 展示 Markdown 表格。对于前 3 个聚类,分别建议一个 URL slug 和一个 H1。

工作原理(及其局限性)

词法聚类:去除停用词,对词进行轻度词干化,如果一个关键词与其聚类的支柱关键词共享至少 threshold 的核心词条(Jaccard 相似度),则该关键词加入该聚类。单个词的核心词条仅加入相同的单个核心词条。不查看实时 SERP,因此同义词(如“便宜”和“实惠”)会保持分离,且两个拥有相同排名 URL 的聚类不会被合并。请告知用户在合并或拆分页面之前,检查顶部聚类的实时 SERP。

示例

输入:best crm for small business、small business crm software、crm for small business、crm vs erp、erp vs crm difference。 输出:聚类 1 “crm for small business”(商业意图,对比页面,3 个关键词);聚类 2 “crm vs erp”(商业意图,2 个关键词)。

想要更多?

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

cygnixlabs-cmd/cygnix-seo-skills

Give one web page a quick 0-100 AI search visibility (GEO/AEO readiness) score from its server-rendered HTML - AI crawler access, Organization/WebSite JSON-LD, structured data, title/meta, question headings, answer-first opening, llms.txt and freshness - with the top 5 fixes. Use when the user asks if a page is ready for ChatGPT, Perplexity, Google AI Overviews or other AI search, or wants a GEO/AEO score.

cygnixlabs-cmd/cygnix-seo-skills

Compare two Google Search Console page exports (an earlier period and a recent one) and flag pages that are LOST, DECLINING, in STRIKING_DISTANCE, GROWING or STABLE, ranked by clicks lost. Use when the user asks which pages lost traffic, about content decay, what to refresh or update first, or uploads two GSC page exports. Offline, no API keys.

cygnixlabs-cmd/cygnix-seo-skills

Find queries where two or more of your own pages split Google impressions, from a Google Search Console query+page export, and rank them HIGH/MEDIUM/LOW. Use when the user asks about keyword cannibalization, competing pages, pages fighting for the same keyword, or uploads a GSC export with query and page columns. Offline, no API keys.

cygnixlabs-cmd/cygnix-seo-skills

Check whether a website has a valid /llms.txt (llmstxt.org format, working links, size) and whether robots.txt lets AI crawlers such as GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and Google-Extended in. Use when the user asks about llms.txt, AI crawler access, blocking or allowing AI bots, or whether ChatGPT/Claude/Perplexity can read their site. Read-only.

相关技能