Keyword Research 标志

Keyword Research

社区
XuanRanL
keyword-research

Deep keyword research via Tavily SERP + Crossref + AI-search probe. Builds research.json with intent, semantic clusters, PAA, competitor titles, SERP features, AI engine findings, content gaps. Triggered by phase-research orchestrator or directly when user requests keyword research for an article topic. ALWAYS the first stage for /article command. Use it whenever the user provides a keyword + wants to start the SEO writing pipeline OR asks "what should I write about for X" OR "research keyword X for me".

概览

发布者XuanRanL
代码仓库loamwright-SEO-Skill
技能名称keyword-research
星标数
52
复刻数
9
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 XuanRanL 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Keyword Research AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/research/keyword-research
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill.git /tmp/loamwright-SEO-Skill
mkdir -p .claude/skills
cp -r /tmp/loamwright-SEO-Skill/subskills/research/keyword-research .claude/skills/keyword-research
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Keyword Research,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Keyword Research。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Keyword Research 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Keyword Research

8-step pipeline producing the single source of truth for everything downstream: outline, drafter, fact-checker.

Inputs

  • state.brief.primary_keyword (required)
  • state.brief.secondary_keywords (optional)
  • state.brief.industry / target_market_locale (from active project if /init done)
  • state.brief.target_surfaces[] — ["owned", "google-aio", "chatgpt", "perplexity", "claude", "gemini", "reddit", "youtube"]

Output

workspace/{task_id}/research.json per schemas/research.schema.json

9 stages (sequential)

Tooling note: Use the Python scripts below (NOT the raw MCP tools). The scripts add key-pool rotation + retry (scripts/_core/tavily_retry.py), cost-ledger logging, and caching — none of which the MCP tools provide. If a script exhausts all keys and raises, fall back to the matching mcp__tavily__tavily_* MCP tool for that one call.

Stage 0: Deep research overview (Tavily Research Pro — MANDATORY)

This is the single most important research call. Tavily Research Pro does iterative multi-angle synthesis across dozens of sources, producing a comprehensive overview no individual search can match. Every article MUST start with this call.

bash: python -m scripts.fetch.tavily_research "Comprehensive research on '{primary_keyword}' for the {industry} industry. Cover: current state, key players, recent developments 2024-2026, statistics, academic research, industry standards, misconceptions, emerging trends." --model pro --citation-format apa --task-id {task_id} --json

Save the full response to workspace/{task}/research/deep-research.json. This becomes the foundation for all downstream stages.

Stage 1: SERP top-10 baseline (Tavily advanced, 2 credits)

bash: python -m scripts.fetch.tavily_search "{primary_keyword}" --depth advanced --max 10 --task-id {task_id} --json

Result: top-10 SERP results with titles + URLs + rich snippets.

Stage 2: Freshness signal (Tavily advanced, 2 credits)

bash: python -m scripts.fetch.tavily_search "{primary_keyword} 2025 2026" --depth advanced --max 10 --time-range year --task-id {task_id} --json

Compare to Stage 1: which results are fresh vs evergreen?

Stage 3: PAA extraction (Tavily advanced, 2 credits)

bash: python -m scripts.fetch.tavily_search "{primary_keyword} faq frequently asked questions" --depth advanced --max 10 --task-id {task_id} --json

Use result snippets to extract PAA questions. Look for question-format strings.

Stage 4: Competitor deep extract (Tavily extract ×5 URLs)

For top-5 SERP results (excluding own domain if /init detected):

bash: python -m scripts.fetch.tavily_extract <url1> <url2> <url3> <url4> <url5> --depth advanced --task-id {task_id} --json

Spawn researcher agent if extraction needs Crossref or page fetch fallbacks.

Extract from each competitor:

  • Title (= competitor.titles[].title)
  • Word count
  • H2 structure (signals topical coverage)
  • Schema types (Article, Product, FAQPage, etc.)
  • Content gaps (what they DIDN'T cover well)

Stage 5: Academic / authority backup (Crossref, free)

bash: python -m scripts.fetch.crossref_lookup "{primary_keyword}" --rows 5 --apa

Surfaces peer-reviewed sources for fact-checker downstream. Tier-1 source baseline.

Stage 6: AI-Search engine probe (FUTURE — needs ai_search_probe.py)

For each target_surface in {chatgpt, perplexity, claude, gemini, google-aio}:

  • Probe: "tell me about {primary_keyword}"
  • Probe: "what's the best {primary_keyword}"
  • Parse response → who does the AI cite? Our domain? Competitors?
  • Build ai_engine_findings[engine] = {our_domain_cited, competitors_cited, factual_accuracy}

(Until ai_search_probe.py is built in M1.5, mark these null and continue.)

Stage 7: Semantic clustering & LSI

Use LLM (Claude Opus) to:

  • Read all titles + content gaps
  • Extract semantic neighbor keywords (LSI)
  • Cluster into 2-4 semantic groups
  • Output semantic_clusters[]

Stage 8: Intent classification + gap analysis

Based on top-10 SERP composition:

  • Mostly listicles → intent = commercial
  • Mostly how-to / step-by-step → intent = informational
  • Mostly product/comparison → intent = commercial (this is the commercial-investigation case, but the STORED enum value is commercial — schemas/state.schema.json and research.schema.json accept only informational|commercial|transactional|navigational. The hyphenated "commercial-investigation" label is the ANALYST's vocabulary (search_intent_analyzer uses commercial_investigation internally); writing it into brief/state/research enums fails schema validation — it burned ~10 stages of spend before the assemble-time check caught it on 2026-07-19; fresh tasks are now schema-gated at the first runner advance. Record the nuance in a _intent_qualifier side field if it matters downstream.)
  • Mostly buy / coupon → intent = transactional

Identify content gaps (5 framework):

  • SEO gap: keywords ranking #5-#20 we could move up
  • AI gap: AI engines don't cite us; competitors get cited
  • FAQ gap: PAA questions no one answers well
  • Format gap: SERP missing certain format (no case studies; no comparison; etc.)
  • Authority gap: no Tier-1 source in top-10 → we can be it

Cost estimate (typical 1 article)

StageAPI callsCredits$
1-33× Tavily basic3$0.024
41× Tavily extract (5 URLs)1$0.008
51× Crossref0$0 (free)
60 (until M1.5)0$0
7-81× Claude Opus (LLM synthesis)—$0.05
Total4~$0.08

100 articles/month: ~$8 keyword-research.

Handoff

After Stage 8, write workspace/{task_id}/research/handoff.json per schemas/handoff.schema.json:

  • recommended_next_skill: format-selector (in Plan phase)
  • key_findings[]: top-5 SERP titles + top content gap + dominant intent

Failure modes

FailureMitigation
Tavily quota at 0Skip Stage 2 freshness; use Crossref + cached results only
Competitor extract returns thin contentTry researcher agent fallback (5-tier waterfall)
AI probe failsStage 6 mark probe_failed: true; continue
Crossref no resultsTier-2 sources only; flag in research.json

See also

  • agents/researcher.md (executes the actual API calls)
  • scripts/fetch/tavily_search.py / tavily_extract.py / crossref_lookup.py
  • schemas/research.schema.json (output contract)
  • references/seo/blog-formats-2026.md (Stage 8 intent → format mapping)

常见问题

Keyword Research AI 技能有什么作用?

Deep keyword research via Tavily SERP + Crossref + AI-search probe. Builds research.json with intent, semantic clusters, PAA, competitor titles, SERP features, AI engine findings, content gaps. Triggered by phase-research orchestrator or directly when user requests keyword research for an article topic. ALWAYS the first stage for /article command. Use it whenever the user provides a keyword + wants to start the SEO writing pipeline OR asks "what should I write about for X" OR "research keyword X for me".

为什么在 TypingMind 中使用 Keyword Research?

因为您只需安装一次,就能搭配任何模型使用。Keyword Research 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Keyword Research?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/research/keyword-research。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Keyword Research?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Keyword Research 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Keyword Research 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Keyword Research AI 技能免费吗?

是的。XuanRanL 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇