Agent skill
MyBacklinks CLI – Domain Analysis
Research any domain's SEO metrics (DR, traffic) and discover its backlink profile using the MyBacklinks CLI.
Install this agent skill to your Project
npx add-skill https://github.com/hekmon8/mybacklinks-tools/tree/main/skills/mybacklinks-cli-domain-analysis
SKILL.md
MyBacklinks CLI – Domain Analysis
Evaluate any domain's SEO strength and reverse-engineer its backlink profile from the command line.
Prerequisites
Authenticate once before running any command:
# API-key auth (recommended for agents)
mybacklinks login --api-key <YOUR_API_KEY>
# Verify credentials
mybacklinks status
All commands accept --json for machine-readable output and --base-url <url> to target a different server.
Commands
1. fetch-dr-by-domain
Retrieve the Domain Rating (DR) for a single domain. DR is a 0–100 score reflecting the strength of a domain's backlink profile.
When to use: Qualify a domain before outreach, compare competitors, or audit your own site's authority.
mybacklinks fetch-dr-by-domain --domain <domain>
| Option | Required | Type | Description |
|---|---|---|---|
--domain |
Yes | string | Domain to look up (e.g. example.com) |
Examples:
# Quick DR check
mybacklinks fetch-dr-by-domain --domain ahrefs.com
# JSON output for scripting
mybacklinks fetch-dr-by-domain --domain ahrefs.com --json
Typical response (JSON):
{
"domain": "ahrefs.com",
"dr": 91
}
2. fetch-traffic-by-domain
Retrieve estimated monthly organic traffic for a domain.
When to use: Evaluate whether a site is worth pursuing for a guest post or backlink, gauge competitor reach, or prioritize outreach targets by traffic volume.
mybacklinks fetch-traffic-by-domain --domain <domain>
| Option | Required | Type | Description |
|---|---|---|---|
--domain |
Yes | string | Domain to look up |
Examples:
mybacklinks fetch-traffic-by-domain --domain moz.com
mybacklinks fetch-traffic-by-domain --domain moz.com --json
Typical response (JSON):
{
"domain": "moz.com",
"traffic": 1250000
}
3. fetch-backlinks-by-domain
Discover the backlinks pointing to any domain. Returns referring pages, anchor texts, dofollow status, and referring domain ratings.
When to use: Reverse-engineer a competitor's link profile, find link-building opportunities from shared referring domains, or audit a prospective partner's backlink quality.
mybacklinks fetch-backlinks-by-domain --domain <domain> [options]
| Option | Required | Type | Description |
|---|---|---|---|
--domain |
Yes | string | Domain to look up |
--mode |
No | string | Discovery mode |
--dofollow |
No | boolean | Only return dofollow links |
--min-dr |
No | number | Minimum referring-domain DR |
--anchor-text |
No | string | Filter by anchor text substring |
--limit |
No | number | Max backlinks to return |
Examples:
# Basic discovery
mybacklinks fetch-backlinks-by-domain --domain competitor.com
# Only high-quality dofollow links
mybacklinks fetch-backlinks-by-domain --domain competitor.com --dofollow --min-dr 30
# Limit results and output JSON
mybacklinks fetch-backlinks-by-domain --domain competitor.com --limit 50 --json
# Search for specific anchor
mybacklinks fetch-backlinks-by-domain --domain competitor.com --anchor-text "best tools"
Agent Workflows
Competitive Gap Analysis
- Identify competitor domains.
- For each competitor, run
fetch-dr-by-domainandfetch-traffic-by-domainto benchmark. - Run
fetch-backlinks-by-domain --dofollow --min-dr 20to find high-quality referring domains. - Cross-reference referring domains across competitors to find common link sources you're missing.
Domain Qualification for Outreach
Before reaching out to a site for a guest post or link placement:
fetch-dr-by-domain --domain <target>— confirm DR meets your minimum threshold.fetch-traffic-by-domain --domain <target>— verify the site has real organic traffic.- If both pass, proceed with outreach; otherwise skip.
Batch Domain Screening
Use --json output to pipe results into downstream processing:
for domain in site1.com site2.com site3.com; do
mybacklinks fetch-dr-by-domain --domain "$domain" --json
done
Credit Cost
fetch-dr-by-domain and fetch-traffic-by-domain share the same underlying API endpoint (getDomainMetrics). fetch-backlinks-by-domain calls the backlink discovery endpoint. Both consume credits — check mybacklinks status to see your balance.
Related Skills
- mybacklinks-cli-resource-management — Save qualified domains as backlink resources
- mybacklinks-cli-campaign-tracking — Track backlinks you build against your projects
- blog-commenter-skill — Automate blog comment outreach
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
MyBacklinks CLI – Resource Management
Build and maintain a database of backlink opportunities (directories, guest posts, forums) using the MyBacklinks CLI.
Blog Commenter
Automated blog comment posting for marketing and outreach
MyBacklinks CLI – Campaign Tracking
Manage SEO projects and track link-building campaign progress using the MyBacklinks CLI.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
claude-code-expert
Especialista profundo em Claude Code - CLI da Anthropic. Maximiza produtividade com atalhos, hooks, MCPs, configuracoes avancadas, workflows, CLAUDE.md, memoria, sub-agentes, permissoes e integracao com ecossistemas.
lex
Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.
Didn't find tool you were looking for?