← 返回 Skills 市场
sharkqwy

Ahrefs Domain Rating Free

作者 sharkqwy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
35
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ahrefs-domain-rating-free
功能描述
Use when checking Ahrefs Domain Rating, DR, website authority, domain authority, backlink profile strength, or free Ahrefs public API data for a domain or UR...
使用说明 (SKILL.md)

Ahrefs Domain Rating Free

Overview

Use Ahrefs' free public Domain Rating endpoint to check a domain or URL's backlink profile strength. No Ahrefs API key required.

Endpoint:

GET https://api.ahrefs.com/v3/public/domain-rating-free?target=\x3Cdomain-or-url>

Official docs: https://docs.ahrefs.com/en/api/reference/public/get-domain-rating-free

When to Use

Use this skill when user asks for:

  • Ahrefs DR or Domain Rating
  • website authority from Ahrefs
  • domain authority style checks using Ahrefs data
  • quick backlink strength comparison
  • free Ahrefs public API lookup
  • DR for one domain, many domains, or URLs

Do not use when user needs paid Site Explorer metrics, backlinks, referring domains, organic keywords, or historical Ahrefs data. Those require authenticated Ahrefs API endpoints.

Quick Start

From this skill directory:

python3 scripts/ahrefs-domain-rating-free.py ahrefs.com
python3 scripts/ahrefs-domain-rating-free.py https://example.com --json
python3 scripts/ahrefs-domain-rating-free.py ahrefs.com example.com github.com

Expected compact output:

ahrefs.com  91.0

Agent Workflow

  1. Normalize user input as domain or URL. Keep path if user provided a specific URL.
  2. Call the wrapper script first. It handles URL encoding, HTTP errors, JSON parsing, and multi-target output.
  3. Report DR as a numeric score on Ahrefs' 100-point logarithmic scale.
  4. If comparing multiple targets, sort or tabulate only if user asks.
  5. If endpoint returns 400, ask for a valid domain or URL.

Wrapper Script

python3 scripts/ahrefs-domain-rating-free.py \x3Ctarget...> [--json] [--raw]

Flags:

Flag Use
--json Machine-readable array with target, domain_rating, ok/error
--raw Print raw Ahrefs JSON per target
--timeout SECONDS Override HTTP timeout, default 20

API Details

Query parameters:

Parameter Required Meaning
target yes Domain or URL to check
output no Ahrefs output selector. Wrapper does not need it.

Response shape:

{
  "domain_rating": {
    "domain_rating": 91.0
  }
}

domain_rating.domain_rating is the current strength of the target's backlink profile compared to other websites in Ahrefs' database, on a 100-point logarithmic scale.

Common Mistakes

  • Do not add Authorization header. This public endpoint is free and unauthenticated.
  • Do not call /v3/public/domain-rating; correct path is /v3/public/domain-rating-free.
  • Do not confuse Ahrefs DR with Moz DA or Semrush Authority Score.
  • Do not promise real-time backlink counts. This endpoint returns only DR.
  • Handle invalid targets as user input errors, not API outages.

Install

Skills.sh:

npx skills add AIGC-Hackers/ahrefs-domain-rating-free-skill --skill ahrefs-domain-rating-free

ClawHub, after publish:

clawhub install ahrefs-domain-rating-free
# or
clawdhub install ahrefs-domain-rating-free
安全使用建议
Before installing, understand that any domain or URL you check will be sent to Ahrefs' public API. The skill does not appear to need credentials or access to local private data, and the submitted code is proportionate to its stated SEO lookup purpose.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The purpose is coherent: the skill documents and implements a wrapper for Ahrefs' free public Domain Rating endpoint, returning a numeric DR score for user-supplied domains or URLs.
Instruction Scope
Runtime instructions are narrow and explicitly limit use to the unauthenticated public endpoint, warning not to use paid Ahrefs metrics or add authorization headers.
Install Mechanism
Installation is documented through standard Skills.sh or ClawHub commands and there is no install-time script in the artifact; the README also references a GitHub repo as the source.
Credentials
The script makes outbound HTTPS requests to api.ahrefs.com with the target domain or URL, which is expected for this purpose. It does not read local files, environment variables, secrets, or credentials.
Persistence & Privilege
No persistence, background workers, privilege escalation, local mutation, credential storage, or broad filesystem access was found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ahrefs-domain-rating-free
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ahrefs-domain-rating-free 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: wraps Ahrefs free public Domain Rating endpoint with docs and Python helper
元数据
Slug ahrefs-domain-rating-free
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ahrefs Domain Rating Free 是什么?

Use when checking Ahrefs Domain Rating, DR, website authority, domain authority, backlink profile strength, or free Ahrefs public API data for a domain or UR... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。

如何安装 Ahrefs Domain Rating Free?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ahrefs-domain-rating-free」即可一键安装,无需额外配置。

Ahrefs Domain Rating Free 是免费的吗?

是的,Ahrefs Domain Rating Free 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ahrefs Domain Rating Free 支持哪些平台?

Ahrefs Domain Rating Free 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ahrefs Domain Rating Free?

由 sharkqwy(@sharkqwy)开发并维护,当前版本 v1.0.0。

💬 留言讨论