Agent skill

SEO Content Gap

by zubair-trabzada in zubair-trabzada/dataforseo-claude

Find keywords competitors rank for that you don't, via the DataForSEO Labs domainintersection endpoint.

MITAuto-check: notesMarketing & SEO

Install SEO Content Gap

skills CLI
$ npx skills add zubair-trabzada/dataforseo-claude --skill seo-content-gap -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zubair-trabzada/dataforseo-claude seo-content-gap --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zubair-trabzada/dataforseo-claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/seo-content-gap .claude/skills/seo-content-gap && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
seo-content-gap
GitHub stars
165
Token cost
~823 tokens
SKILL.md length
309 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Find keywords competitors rank for that you don't, via the DataForSEO Labs domainintersection endpoint.

  • Works in 7 steps: Parse login: and password: from their… → Write them to ~/.claude/skills/seo/.env → chmod 600 ~/.claude/skills/seo/.env → …
  • Tasks that involve On-page SEO
  • SKILL.md covers Phase 0: Credential Preflight…, Run, Sort and surface and Output structure, plus 1 more section
  • Needs DATAFORSEO_PASSWORD

What it does

SEO Content Gap is an agent skill from zubair-trabzada/dataforseo-claude. Find keywords competitors rank for that you don't, via the DataForSEO Labs domainintersection endpoint. Surfaces the highest-leverage content opportunities sorted by search volume and the competitor's ranking position, with cross-competitor consensus signals.

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO, covering On-page SEO and Keyword research. The repository describes itself as: SEO Agency Killer for Claude Code — powered by DataForSEO. 13 skills + 5 subagents for keyword research, rank tracking, backlink audits, technical crawls, competitor analysis… The licence is MIT.

When your agent uses it

  • Tasks that involve On-page SEO
  • Tasks that involve Keyword research

Example prompts

  • “/seo-content-gap”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Write

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Parse login: and password: from their message.
  2. Write them to ~/.claude/skills/seo/.env
  3. chmod 600 ~/.claude/skills/seo/.env
  4. Run a verification call: ~/.claude/skills/seo/scripts/keyword_research.py volume "test"
  5. If verification succeeds (real JSON returned): tell the user "✅ Credentials verified. Running your command now..." and proceed with the…
  6. If status 40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to…
  7. If any other auth error: ask them to double-check the API password (the long alphanumeric string from…

What it can do on your machine

Read from SKILL.md and the folder at commit 67ac4f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • dataforseo.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DATAFORSEO_PASSWORD

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

SEO Content Gap loads about 823 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 309 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~823

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:29
    2. Write them to `~/.claude/skills/seo/.env`:
  • NoteMentions a .env fileSKILL.md:34
    3. `chmod 600 ~/.claude/skills/seo/.env`
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zubair-trabzada/dataforseo-claude at commit 67ac4f0, republished under its MIT licence (© zubair-trabzada). 309 words, ~823 tokens.

Download SKILL.mdSave it as .claude/skills/seo-content-gap/SKILL.md (or your agent's skills folder).
name
seo-content-gap
description
Find keywords competitors rank for that you don't, via the DataForSEO Labs domain_intersection endpoint. Surfaces the highest-leverage content opportunities sorted by search volume and the competitor's ranking position, with cross-competitor consensus signals.
allowed-tools
Bash, Write

Phase 0: Credential Preflight (REQUIRED — run BEFORE anything else)

Before running any of the steps below, always invoke the shared preflight check:

bash
~/.claude/skills/seo/scripts/preflight.sh

If exit code is 0: credentials are configured — proceed with the rest of this skill silently.

If exit code is 2: the script prints the DataForSEO setup wizard to stdout. STOP, display that wizard to the user verbatim, and wait for them to paste credentials in this format:

login: their_email@example.com
password: their_api_password_here

When they reply:

  1. Parse login: and password: from their message.
  2. Write them to ~/.claude/skills/seo/.env:
    DATAFORSEO_LOGIN=<login>
    DATAFORSEO_PASSWORD=<password>
  3. chmod 600 ~/.claude/skills/seo/.env
  4. Run a verification call: ~/.claude/skills/seo/scripts/keyword_research.py volume "test"
  5. If verification succeeds (real JSON returned): tell the user "✅ Credentials verified. Running your command now..." and proceed with the original request.
  6. If status 40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to retry.
  7. If any other auth error: ask them to double-check the API password (the long alphanumeric string from https://app.dataforseo.com/api-access — not their account login password).

Never echo credentials back to the user, never include them in tool output, and never commit them.


Content Gap Skill

Powered by: DataForSEO API — Labs domain_intersection (target1=competitor, target2=you, intersections=false). Cost: ~$0.02 per competitor compared.

Run

bash
~/.claude/skills/seo/scripts/domain_overview.py content_gap --you <you> --competitors <c1> <c2> <c3>

You can pass 1–5 competitors. The script returns, per competitor, the keywords where they rank in the top 100 and you don't.

Sort and surface

For each competitor's gap list, sort by:

priority = search_volume * (101 - competitor_position)

Higher = the competitor is ranking high for a high-volume keyword you have nothing for — hot opportunity.

Output structure

For each competitor:

Gap vs <competitor>: <N> keywords where they rank, you don't

Top 10 to pursue:
1. "<keyword>" — they're #<pos>, vol <V>, KD <D>, $<CPC>
   → They rank a <page_type> at <url>
2. ...

Cross-competitor consensus

After processing all competitors, find keywords that multiple competitors rank for. These are the strongest signals — if every competitor has content on a topic and you don't, that's a clear hole in your strategy.

Consensus gaps (3+ competitors rank, you don't):
- "<keyword>"   ← 4 competitors rank top 20
- "<keyword>"   ← 3 competitors rank top 10

End with a 5-article content roadmap with target keyword, working title, priority score, and which competitor's article to study.

© zubair-trabzada, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/seo-content-gap of zubair-trabzada/dataforseo-claude.

Open the folder on GitHubat commit 67ac4f0

Compare with similar skills

SEO Content Gap next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SEO Content Gap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SEO Content Gap this skillzubair-trabzada/dataforseo-claude165—~823Automated safety check: NotesMIT
SEO Keyword ClusteringAgriciDaniel/claude-seo19k2 repos~3.3kAutomated safety check: PassMIT
SEO Content Brief GeneratorAgriciDaniel/claude-seo19k2 repos~2.6kAutomated safety check: PassMIT
SEO Content Briefseranking/seo-skills161—~2.5kAutomated safety check: PassMIT
Blog OutlineAgriciDaniel/claude-blog2.3k1 repos~1.5kAutomated safety check: PassMIT
SEO Keyword Clusterseranking/seo-skills161—~2.5kAutomated safety check: PassMIT

Similar skills

  • SEO Keyword Clustering

    AgriciDaniel/claude-seo

    Clusters keywords by how much their search results overlap and designs a hub-and-spoke content plan with an internal link matrix and an interactive cluster map.

    19k GitHub starsUsed in 2 repos~3.3k tokens
    Marketing & SEOAuto-check passed
  • SEO Content Brief Generator

    AgriciDaniel/claude-seo

    Builds research-backed SEO content briefs with competitor scoring, per-section word counts and page-type templates, for new pages or improving existing ones.

    19k GitHub starsUsed in 2 repos~2.6k tokens
    Marketing & SEOAuto-check passed
  • SEO Content Brief

    seranking/seo-skills

    Generate a writer-ready SEO content brief from a target domain and topic.

    161 GitHub stars~2.5k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • Blog Outline

    AgriciDaniel/claude-blog

    SERP-informed outline generation with H2/H3 heading hierarchy, competitive content gap analysis, section-by-section word count targets, chart and image placement markers, optional FAQ question…

    2.3k GitHub starsUsed in 1 repo~1.5k tokens
    Marketing & SEOAuto-check passed
  • SEO Keyword Cluster

    seranking/seo-skills

    Build a content cluster plan from seed keywords — intent-grouped clusters, pillar+spokes architecture with H1/H2 suggestions per spoke, prioritised build order, and an internal-linking map.

    161 GitHub stars~2.5k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • Business Website Setup

    sickn33/agentic-awesome-skills

    Website page register: URL, title, meta description, search intent, NAP block, schema type, canonical, indexability and Core Web Vitals target.

    47k GitHub starsUsed in 1 repo~6.2k tokens
    Marketing & SEOAuto-check passed

More from zubair-trabzada/dataforseo-claude

All 16 skills in this repo
  • DataForSEO SEO Toolkit

    zubair-trabzada/dataforseo-claude

    Runs keyword research, rank checks, backlink and competitor analysis, site audits and PDF reports from live Google data through the DataForSEO API.

    165 GitHub stars~3.2k tokensUpdated 4 mo ago
    Auto-check: notes
  • DataForSEO Site Audit

    zubair-trabzada/dataforseo-claude

    Runs a full SEO audit through the DataForSEO API with five parallel subagents and produces a composite 0 to 100 SEO score, an action plan and an audit JSON for PDF export.

    165 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • Backlink Audit via DataForSEO

    zubair-trabzada/dataforseo-claude

    Audits a domain's backlink profile with the DataForSEO Backlinks API and reports referring domains, anchor text, dofollow ratio and a toxicity assessment.

    165 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check: notes
  • SEO Domain Comparison

    zubair-trabzada/dataforseo-claude

    Compares two domains side by side with DataForSEO data on traffic, keywords, backlinks, referring domains and keyword overlap, then states which has the stronger position.

    165 GitHub stars~892 tokensUpdated 4 mo ago
    Auto-check: notes
  • SEO Competitor Analysis with DataForSEO

    zubair-trabzada/dataforseo-claude

    Finds a domain's real SEO competitors through DataForSEO Labs, ranked by SERP overlap, with shared keywords, traffic estimates and a 0-100 competitive score.

    165 GitHub stars~957 tokensUpdated 4 mo ago
    Auto-check: notes
  • SEO Content Authority

    zubair-trabzada/dataforseo-claude

    Clusters the keywords a domain ranks for into topics, compares coverage with competitors and returns a content score using DataForSEO data.

    165 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check: notes

Categories

Questions about SEO Content Gap

What does SEO Content Gap do?

Find keywords competitors rank for that you don't, via the DataForSEO Labs domainintersection endpoint. SEO Content Gap is an agent skill from zubair-trabzada/dataforseo-claude. Find keywords competitors rank for that you don't, via the DataForSEO Labs domainintersection endpoint.

When should I use SEO Content Gap?

SEO Content Gap fits situations like: tasks that involve On-page SEO; tasks that involve Keyword research.

How do I install SEO Content Gap in Claude Code?

Run `npx skills add zubair-trabzada/dataforseo-claude --skill seo-content-gap -a claude-code`. Or copy the skill folder (skills/seo-content-gap in zubair-trabzada/dataforseo-claude) into .claude/skills/seo-content-gap in your project. Claude Code loads it when a task matches its description.

How do I install SEO Content Gap in Codex?

Run `npx skills add zubair-trabzada/dataforseo-claude --skill seo-content-gap -a codex`. Or copy the skill folder (skills/seo-content-gap in zubair-trabzada/dataforseo-claude) into .agents/skills/seo-content-gap in your project. Codex loads it when a task matches its description.

Can I use SEO Content Gap in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zubair-trabzada/dataforseo-claude --skill seo-content-gap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/seo-content-gap, .gemini/skills/seo-content-gap, .github/skills/seo-content-gap and .opencode/skills/seo-content-gap in your project.

What does SEO Content Gap need to run?

Going by SKILL.md and its folder, SEO Content Gap needs credentials named DATAFORSEO_PASSWORD. Its frontmatter pre-approves these tools: Bash, Write.

Does SEO Content Gap access the network?

SKILL.md names 1 domain. As links in the text: dataforseo.com. This is read from the text; nothing was executed.

Is SEO Content Gap safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does SEO Content Gap use?

SEO Content Gap is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does SEO Content Gap use?

About 823 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to SEO Content Gap?

Skills that share tags, products or a category with SEO Content Gap: SEO Keyword Clustering (AgriciDaniel/claude-seo, 19k stars), SEO Content Brief Generator (AgriciDaniel/claude-seo, 19k stars), SEO Content Brief (seranking/seo-skills, 161 stars) and Blog Outline (AgriciDaniel/claude-blog, 2.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SEO Content Gap?

zubair-trabzada (a GitHub user) maintains it in zubair-trabzada/dataforseo-claude, which has 165 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on May 20, 2026.

Source: zubair-trabzada/dataforseo-claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.