Logo van Keyword Research

Keyword Research

Community
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".

Overzicht

UitgeverXuanRanL
Repositoryloamwright-SEO-Skill
Skillnaamkeyword-research
Sterren
52
Forks
9
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door XuanRanL op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Keyword Research in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/research/keyword-research
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Keyword Research in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Keyword Research automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Keyword Research niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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)

Veelgestelde vragen

Wat doet de AI-skill 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".

Waarom Keyword Research gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Keyword Research bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Keyword Research in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/research/keyword-research. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Keyword Research gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Keyword Research gebruiken?

Zoveel als je wilt. Je kunt Keyword Research gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Keyword Research gratis?

Ja. Deze skill is door XuanRanL op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇