# Keyword Research

> Run public-safe DataForSEO keyword research, SERP checks, competitor discovery, backlink opportunity analysis, gap analysis, and SEO brief planning. Use when Codex is asked for keyword research, niche validation, search demand, CPC/difficulty data, competitor domains, content gaps, backlink prospects, SEO topic prioritization, or article briefs using DataForSEO credentials.

- Skill: `nachoal/keyword-research` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx get-skill add nachoal/keyword-research`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nachoal/keyword-research/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: nachoal (https://skillmd.com/u/nachoal)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/nachoal/keyword-research

---


# Keyword Research

Use the bundled DataForSEO helper:

```bash
python3 scripts/dataforseo_keyword_research.py --help
```

Start with the smallest paid call that answers the question. Run `--dry-run` first when the scope or cost is unclear, and pass `--yes` only after the user asked for live DataForSEO data.

## Default Flow

1. Seed demand: `keyword-overview`, `keyword-ideas`, `related-keywords`, or `google-ads-volume`.
2. SERP proof: `serp-check` for representative commercial terms.
3. Competitors: `competitors` from a known domain, or use SERP domains when no seed domain exists.
4. Competitor keywords: `ranked-keywords` / `research`.
5. Offline analysis: `gap-analysis`, then `briefs` only if content planning is requested.
6. Link building: `backlink-opportunities` only when outreach/link acquisition is in scope.

## Common Commands

```bash
python3 scripts/dataforseo_keyword_research.py keyword-overview \
  --keywords "local seo services,seo automation" \
  --location 2840 --language en --dry-run

python3 scripts/dataforseo_keyword_research.py serp-check \
  --keywords "local seo services,seo automation" \
  --location 2840 --language en --yes

python3 scripts/dataforseo_keyword_research.py competitors \
  --target example.com --limit 20 --yes

python3 scripts/dataforseo_keyword_research.py ranked-keywords \
  --target example.com --limit 200 --yes

python3 scripts/dataforseo_keyword_research.py gap-analysis \
  --input dataforseo-results/ranked-keywords-latest.json \
  --min-volume 100 --max-difficulty 40
```

## Rules

- Use `DATAFORSEO_LOGIN` and `DATAFORSEO_PASSWORD`; never ask for or print secret values.
- Keep examples generic unless the user provides a real project, domain, locale, or niche.
- Pass locale explicitly for non-US/non-English work, for example Mexico/Spanish: `--location 2484 --language es`.
- Review live SERP results before recommending a content plan.
- Treat generated briefs as planning artifacts; do not publish content without a separate content-quality workflow.

## Resources

- Workflow guide: `references/workflow.md`
- API surface map: `references/dataforseo-endpoints.md`
- Helper script: `scripts/dataforseo_keyword_research.py`

Read `references/workflow.md` when choosing command order. Read `references/dataforseo-endpoints.md` when you need endpoint coverage, payload shape, or cost/safety notes.

