Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/indranilbanerjee/digital-marketing-pronpx agentmods add commands/indranilbanerjee/digital-marketing-pro/backlink-gapWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/backlink-gap)<a href="https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/backlink-gap"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/digital-marketing-pro/backlink-gap/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/backlink-gap"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/digital-marketing-pro/backlink-gap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.00738 |
| Opus 5 | $0.00017 | $0.00369 |
| Sonnet 5 | $0.00007 | $0.00148 |
| Haiku 4.5 | $0.00003 | $0.00074 |
Grade A, and why
backlink-gap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backlink Gap
If you see unfamiliar placeholders or need to check which backlink data sources are connected, see CONNECTORS.md.
Identifies the highest-leverage backlink prospects — domains that link to multiple competitors but not to you — and ranks them by an opinionated priority score combining authority, link-overlap signal, downstream traffic, and topical relevance. Routes to skills/backlink-gap/SKILL.md.
Trigger
User runs /digital-marketing-pro:backlink-gap or asks for:
- "Find link prospects from my competitors"
- "Where did my competitors gain links?"
- "Backlink-gap audit"
- "Run a digital PR target list"
- "Find broken-link replacement opportunities"
Inputs
- Your domain — the brand's primary domain
- Competitors — 2 minimum (1 allowed but warns), 3–5 is the sweet spot. Auto-fetched from
/digital-marketing-pro:competitor-analysisif a fresh run exists. - Backlink data source — Ahrefs / Semrush / SE Ranking / Moz MCP. Connector must be configured.
- Minimum DR filter (optional) — default 20; YMYL industries should set 40
Process
- Load brand context
- Pick competitors (re-use latest
competitor-analysisPLAN.md if fresh) - Pull backlinks for own domain + each competitor via connected backlink MCP (with budget guard at 200 credits)
- Run
scripts/backlink_gap.pyto compute gap + priority scores - Validate the four quality gates (data_freshness / sample_size / competitor_coverage / link_overlap_signal)
- Build prospect shortlist with outreach angles (guest post / broken-link / resource-page)
- HTTP-HEAD scan competitor backlinks for 4xx — these are broken-link replacement candidates (highest hit rate)
- Draft 3 outreach template variants pre-filled with brand voice
- Write
PLAN.mdto${CLAUDE_PLUGIN_DATA}/{brand}/seo/backlink-gap/{date}/
Output
Numbered intermediate files under ${CLAUDE_PLUGIN_DATA}/{brand}/seo/backlink-gap/{YYYY-MM-DD}/:
00-input.md,01-data-pull.md,02-ours.csv,03-comp-*.csv04-gap-run.json(raw script output),05-quality-scorecard.md06-prospect-shortlist.md,07-broken-link-candidates.md,08-outreach-templates.mdPLAN.md(the deliverable)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 58 lines · 35 tokens per session scan A 4524e4498021
backlink-gap is a command published in the GitHub repository indranilbanerjee/digital-marketing-pro (801 stars, last pushed 2d ago), licensed MIT. It adds 35 tokens to every session and 738 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
brand-setup
Configure brand voice, terminology, compliance guardrails, and style guide for content production.
output-folder
Print the absolute path to the user-visible ContentForge output folder and open it in the OS file manager.
create-content
Run the full 10-phase content production pipeline — research, draft, fact-check, humanize, and publish.
audit-content
Audit your content library for freshness decay, coverage gaps, and optimization opportunities.
content-brief
Generate a research-backed content brief with keyword data, competitor analysis, search intent, and SEO strategy.
publish
Publish finished content to Webflow or WordPress with preview, verification, and HTML export fallback.