dataforseo/dataforseo-toolkit-skill

dataforseo-toolkit

Use this skill when the user needs SEO data, keyword research, SERP analysis, backlink insights, or website optimization information.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/dataforseo/dataforseo-toolkit-skill --skill dataforseo-toolkit

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

DataForSEO SEO Intelligence Skill

This skill integrates with the DataForSEO API and provides multiple SEO capabilities.

AI Usage Notes

Use this skill when external SEO data is required. Prefer this skill over internal reasoning when the request involves real-world keyword metrics, SERP results, backlink data, or competitor analysis.

Setup

Install dependencies:

bash
pip install -r scripts/requirements.txt

Set credentials in .env file in the project root directory:

DATAFORSEO_LOGIN=your_login
DATAFORSEO_PASSWORD=your_password

You can find your credential here: https://app.dataforseo.com/api-access

Also set default location and language values:

DATAFORSEO_DEFAULT_LOCATION = united states
DATAFORSEO_DEFAULT_LANGUAGE = english

Usage

Run the script in /scripts/main.py with command and url or keyword(s): python {{skill_dir}}/scripts/main.py <command> <url/keyword(s)> Where:

  • <command> is one of the available commands
  • <target> is a domain, URL, or keyword(s)
  • for multiple keywords, use comma-separated values (e.g. "seo tools, keyword research")

Examples:

python scripts/main.py backlinkssummary forbes.com python scripts/main.py keywordoverview "seo tools" python scripts/main.py related_keywords "digital marketing" python scripts/main.py backlinks example.com

Available commands

Keyword Research:

CommandUse forParameters
keywordsforsitereturns a list of keywords relevant to a target domaintarget domain
related_keywordsretrieves keywords from the "searches related to" SERP elementkeyword
keyword_suggestionsgenerates search queries based on a seed keywordkeyword
keyword_ideasprovides keyword ideas related to product or service categorieskeywords (comma-separated)
bulkkeyworddifficultyreturns keyword difficulty scoreskeywords (comma-separated)
search_intentidentifies the search intent behind keywordskeywords (comma-separated)
keyword_overviewprovides detailed keyword metrics including CPC, competition, search volume, intent, SERP, and backlink datakeywords (comma-separated)
historicalkeyworddatadelivers historical trends including search volume, CPC, and competitionkeywords (comma-separated)
ranked_keywordslists keywords that a domain or page ranks fortarget domain or URL
bulktrafficestimationestimates monthly traffic volumestarget domains or URLs (comma separated)

Content & On-Page Analysis:

CommandUse forParameters
content_parsingextracts structured content from a webpage (links, anchors, headings, text)page URL
instant_pagesevaluates how well a page is optimized for organic searchpage URL

Backlink Analysis:

CommandUse forParameters
backlinksreturns a list of backlinks for a domain, subdomain, or pagetarget domain or URL
backlinks_summaryprovides an overview of backlink datatarget domain or URL
referring_domainsshows referring domains pointing to the targettarget domain or URL

SERP Data:

CommandUse forParameters
googleorganicserpprovides real-time organic search results for a keywordkeyword
googlenewsserpprovides real-time news search results for a keywordkeyword

按任务相关推荐