Community程式設計與開發github.com

cygnixlabs-cmd/cygnix-seo-skills

將關鍵字列表分組為主題集群,每個集群包含一個支柱關鍵字、主要搜尋意圖及建議頁面類型,適合在貼上關鍵字或關鍵字CSV並要求分群、組織或規劃內容中心時使用。離線運作,無需API金鑰。

cygnix-seo-skills 是什麼?

這是一個輕量級的關鍵字集群工具,專為 SEO 專業人士設計,能將平面的關鍵字列表轉換為可實際用於頁面規劃的主題集群。每個集群會自動選出一個支柱關鍵字(根據最高搜尋量,若無搜尋量則選最短者)、判斷主要搜尋意圖,並推薦相對應的頁面類型。它採用詞彙聚類演算法:移除停用詞、輕度詞幹提取,再以 Jaccard 相似度計算核心詞彙重疊比例,當關鍵字與集群支柱共享超過設定的閾值(預設 0.5)時便歸入同一集群。支援 .txt 或含 keyword/query 欄位的 CSV 檔案,並可選用 volume 欄位來排序集群。此技能完全離線執行,無需任何 API 金鑰。工具會產生 Markdown 表格供使用者快速檢視,並針對前三個集群建議 URL 別名與 H1 標題。需要注意的是,它僅基於詞彙相似度,不查詢即時 SERP,因此同義詞(如「cheap」與「affordable」)會分屬不同集群,兩個實際上排名相同的集群也不會自動合併。適合在規劃內容中心、組織關鍵字導出資料(如 Ahrefs、Semrush、GSC、Keyword Planner)時使用,並建議使用者在合併或拆分頁面前先驗證實際 SERP。

相容平台~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(每行一個)或 CSV 檔案,並包含 keyword 或 query 欄位。可選的 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 別名和一個 H1。

運作方式(及其限制)

詞彙聚類:移除停用詞、輕度詞幹提取,關鍵字會加入其核心詞彙與支柱關鍵字至少共享 threshold 比例(Jaccard)的集群。單字核心詞僅能與相同的核心詞合併。它不會查詢即時 SERP,因此同義詞(「cheap」與「affordable」)會分開,且兩個擁有相同排名 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.

相關技能