SEO keyword research using the DataForSEO API. Perform keyword analysis, YouTube keyword research, competitor analysis, SERP analysis, and trend tracking. Use when the user asks to: research keywords, analyze search volume/CPC/competition, find keyword suggestions, check keyword difficulty, analyze competitors, get trending topics, do YouTube SEO research, or optimize landing page keywords. Requires a DataForSEO API account and credentials in .env file.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install seo-dataforseo或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install seo-dataforseo⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/seo-dataforseo/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: seo-dataforseo description: "SEO keyword research using the DataForSEO API. Perform keyword analysis, YouTube keyword research, competitor analysis, SERP analysis, and trend tracking. Use when the user asks to: research keywords, analyze search volume/CPC/competition, find keyword suggestions, check keyword difficulty, analyze competitors, get trending topics, do YouTube SEO research, or optimize landing page keywords. Requires a DataForSEO API account and credentials in .env file." ---
Install dependencies:
pip install -r scripts/requirements.txt
Configure credentials by creating a .env file in the project root:
[email protected]
DATAFORSEO_PASSWORD=your_api_password
Get credentials from: https://app.dataforseo.com/api-access
| User says | Function to call | |-----------|-----------------| | "Research keywords for [topic]" | keyword_research("topic") | | "YouTube keyword data for [idea]" | youtube_keyword_research("idea") | | "Analyze competitor [domain.com]" | competitor_analysis("domain.com") | | "What's trending?" | trending_topics() | | "Keyword analysis for [list]" | full_keyword_analysis(["kw1", "kw2"]) | | "Landing page keywords for [topic]" | landing_page_keyword_research(["kw1"], "competitor.com") |
Execute functions by importing from scripts/main.py:
import sys
from pathlib import Path
sys.path.insert(0, str(Path("scripts")))
from main import *
result = keyword_research("AI website builders")
Every research task follows three phases:
Run API functions. Each function call hits the DataForSEO API and returns structured data.
All results automatically save as timestamped JSON files to results/{category}/. File naming pattern: YYYYMMDD_HHMMSS__operation__keyword__extra_info.json
After research, read the saved JSON files and create a markdown summary in results/summary/ with data tables, ranked opportunities, and strategic recommendations.
These are the primary functions in scripts/main.py. Each orchestrates multiple API calls for a complete research workflow.
| Function | Purpose | What it gathers | |----------|---------|----------------| | keyword_research(keyword) | Single keyword deep-dive | Overview, suggestions, related keywords, difficulty | | youtube_keyword_research(keyword) | YouTube content research | Overview, suggestions, YouTube SERP rankings, YouTube trends | | landing_page_keyword_research(keywords, competitor_domain) | Landing page SEO | Overview, intent, difficulty, SERP analysis, competitor keywords | | full_keyword_analysis(keywords) | Strategic content planning | Overview, difficulty, intent, keyword ideas, historical volume, Google Trends | | competitor_analysis(domain, keywords) | Competitor intelligence | Domain keywords, Google Ads keywords, competitor domains | | trending_topics(location_name) | Current trends | Currently trending searches |
All functions accept an optional location_name parameter (default: "United States"). Most functions also have boolean flags to skip specific sub-analyses (e.g., include_suggestions=False).
For granular control, import specific functions from the API modules. See references/api-reference.md for the complete list of 25 API functions with parameters, limits, and examples.
Results auto-save to results/ with this structure:
results/
├── keywords_data/ # Search volume, CPC, competition
├── labs/ # Suggestions, difficulty, intent
├── serp/ # Google/YouTube rankings
├── trends/ # Google Trends data
└── summary/ # Human-readable markdown summaries
from core.storage import list_results, load_result, get_latest_result
# List recent results
files = list_results(category="labs", limit=10)
# Load a specific result
data = load_result(files[0])
# Get most recent result for an operation
latest = get_latest_result(category="labs", operation="keyword_suggestions")
from main import get_recent_results, load_latest
# List recent files across all categories
files = get_recent_results(limit=10)
# Load latest result for a category
data = load_latest("labs", "keyword_suggestions")
After running research, create a markdown summary document in results/summary/. Include:
Name the summary file descriptively (e.g., results/summary/ai-tools-keyword-research.md).
安装 SEO DataForSEO 后,可以对 AI 说这些话来触发它
Help me get started with SEO DataForSEO
Explains what SEO DataForSEO does, walks through the setup, and runs a quick demo based on your current project
Use SEO DataForSEO to sEO keyword research using the DataForSEO API
Invokes SEO DataForSEO with the right parameters and returns the result directly in the conversation
What can I do with SEO DataForSEO in my data & analytics workflow?
Lists the top use cases for SEO DataForSEO, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/seo-dataforseo/ 目录(个人级,所有项目可用),或 .claude/skills/seo-dataforseo/(项目级)。重启 AI 客户端后,用 /seo-dataforseo 主动调用,或让 AI 根据上下文自动发现并使用。
SEO DataForSEO 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
SEO DataForSEO 可免费安装使用。请查阅仓库了解许可证信息。
SEO keyword research using the DataForSEO API. Perform keyword analysis, YouTube keyword research, competitor analysis, SERP analysis, and trend tracking. Use when the user asks to: research keywords, analyze search volume/CPC/competition, find keyword suggestions, check keyword difficulty, analyze competitors, get trending topics, do YouTube SEO research, or optimize landing page keywords. Requires a DataForSEO API account and credentials in .env file.
Automate my data & analytics tasks using SEO DataForSEO
Identifies repetitive steps in your workflow and sets up SEO DataForSEO to handle them automatically
SEO DataForSEO 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。