LLM-friendly keyword research CLI for AI agents. Check search volume, CPC, keyword difficulty, and competition via DataForSEO API. Find related keywords, ana...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install dataforseo-cli或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install dataforseo-cli⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/dataforseo-cli/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: dataforseo-cli description: LLM-friendly keyword research CLI for AI agents. Check search volume, CPC, keyword difficulty, and competition via DataForSEO API. Find related keywords, analyze competitor rankings. Outputs TSV by default (optimized for agent context windows). Use when doing SEO research, content planning, or competitive keyword analysis. license: MIT metadata: author: alexgusevski version: "1.0.6" ---
LLM-friendly keyword research CLI. Wraps the DataForSEO API and outputs TSV by default — compact, structured, and optimized for agent context windows.
npm: https://www.npmjs.com/package/dataforseo-cli GitHub: https://github.com/alexgusevski/dataforseo-cli
npm install -g dataforseo-cli
dataforseo-cli status
If credentials are already configured, you're good to go. If not, authenticate:
# With login + password
dataforseo-cli --set-credentials login=YOUR_LOGIN password=YOUR_PASSWORD
# Or with base64 token (from DataForSEO email)
dataforseo-cli --set-credentials base64=YOUR_BASE64_TOKEN
Credentials are stored in ~/.config/dataforseo-cli/config.json. The locations and languages commands work without credentials (local data).
status — Check credentialsCheck if API credentials are configured without making any API calls.
dataforseo-cli status
Exits 0 if configured, exits 1 if not. Shows login username (not password).
volume — Keyword metricsGet search volume, CPC, keyword difficulty (0–100), competition level, and 12-month search trend.
dataforseo-cli volume <keywords...> [options]
Arguments:
— One or more keywords (required). Batch multiple keywords in one call to save API requests.Options:
-l, --location — Location code (default: 2840 = US)--language — Language code (default: en)--json — Output as JSON array--table / --human — Output as human-readable tableExample:
dataforseo-cli volume "seo tools" "keyword research" "backlink checker"
Output (TSV):
keyword volume cpc difficulty competition trend
seo tools 12500 2.35 45 HIGH 14800,13900,12500,12100,11800,12000,12500,13000,12800,12500,12200,11900
difficulty — 0–100 scale (0-30 easy, 31-60 medium, 61-100 hard)cpc — Cost per click in USDcompetition — LOW / MEDIUM / HIGHtrend — 12 monthly search volumes, newest firstrelated — Keyword suggestionsFind related keyword ideas from a seed keyword.
dataforseo-cli related <seed> [options]
Arguments:
— Seed keyword (required, single keyword)Options:
-l, --location — Location code (default: 2840 = US)--language — Language code (default: en)-n, --limit — Max results (default: 50)--json — Output as JSON array--table / --human — Output as human-readable tableExample:
dataforseo-cli related "ai agents" -n 20
Output (TSV):
keyword volume cpc competition difficulty
best ai agents 8100 3.10 0.82 52
ai agent framework 2400 1.85 0.65 38
competitor — Domain keyword analysisSee what keywords a domain currently ranks for.
dataforseo-cli competitor <domain> [options]
Arguments:
— Target domain (required, e.g. ahrefs.com)Options:
-l, --location — Location code (default: 2840 = US)--language — Language code (default: en)-n, --limit — Max results (default: 50)--json — Output as JSON array--table / --human — Output as human-readable tableExample:
dataforseo-cli competitor semrush.com -n 10
Output (TSV):
keyword position volume cpc difficulty url
backlink checker 1 33100 4.50 72 https://ahrefs.com/backlink-checker
locations — Look up location codesList all available location codes, or filter by name. Works offline — no API credentials needed.
dataforseo-cli locations [search] [--json]
Arguments:
[search] — Optional filter by name (e.g. sweden, new york)Without search — lists all locations:
dataforseo-cli locations
With search — filters by name:
dataforseo-cli locations sweden
Output (TSV):
code name country type
2752 Sweden SE Country
languages — Look up language codesList all available language codes, or filter by name. Works offline — no API credentials needed.
dataforseo-cli languages [search] [--json]
Without search — lists all languages:
dataforseo-cli languages
With search — filters by name:
dataforseo-cli languages swedish
Output (TSV):
name code
Swedish sv
All data commands default to TSV (tab-separated values) — the most token-efficient structured format for LLMs.
| Flag | Description | |------|-------------| | (default) | TSV — fewest tokens, best for agent pipelines | | --json | JSON array — use when you need structured parsing | | --table / --human | Human-readable aligned table — for human review |
Results are cached in ~/.config/dataforseo-cli/cache/ to avoid duplicate API calls and save costs. Same query + location + language = cache hit.
dataforseo-cli --print-cache
dataforseo-cli volume "your topic"dataforseo-cli related "your topic" -n 30dataforseo-cli competitor competitor-domain.com -n 20volume — DataForSEO charges per API request, not per keyword--location for local/international SEOlocations and languages without arguments to see all available options安装 dataforseo-cli 后,可以对 AI 说这些话来触发它
Help me get started with dataforseo-cli
Explains what dataforseo-cli does, walks through the setup, and runs a quick demo based on your current project
Use dataforseo-cli to lLM-friendly keyword research CLI for AI agents
Invokes dataforseo-cli with the right parameters and returns the result directly in the conversation
What can I do with dataforseo-cli in my data & analytics workflow?
Lists the top use cases for dataforseo-cli, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/dataforseo-cli/ 目录(个人级,所有项目可用),或 .claude/skills/dataforseo-cli/(项目级)。重启 AI 客户端后,用 /dataforseo-cli 主动调用,或让 AI 根据上下文自动发现并使用。
dataforseo-cli 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
dataforseo-cli 可免费安装使用。请查阅仓库了解许可证信息。
LLM-friendly keyword research CLI for AI agents. Check search volume, CPC, keyword difficulty, and competition via DataForSEO API. Find related keywords, ana...
dataforseo-cli 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using dataforseo-cli
Identifies repetitive steps in your workflow and sets up dataforseo-cli to handle them automatically