authority-mark-keyword-difficulty
Skill7 starsChanged 5 months agoMITView on GitHub
Evaluate SEO keyword difficulty with the Authority Mark method instead of opaque keyword difficulty scores. Use when Codex needs to assess whether a user's domain can compete for a keyword by searching the live SERP, collecting the Ahrefs Domain Rating (DR) of the top organic ranking domains and the user's domain, identifying the first top-10 result whose DR is lower than the user's site, and explaining why this SERP-specific authority watermark is more actionable than a generic KD number.
In this repository22 other files it gives its agents.
- cannibalization-checkSkill
- client-report-writerSkill
- competitor-serp-monitorSkill
- content-decay-monitor-setupSkill
- content-moat-plannerSkill
- content-refresh-briefSkill
- exceed-quality-thresholdSkill
- internal-link-builderSkill
- keyword-opportunity-finderSkill
- keyword-plannerSkill
- live-search-console-dataSkill
- proposal-builderSkill
- refresh-vs-new-contentSkill
- schema-fix-writerSkill
- seo-content-briefSkill
- seo-growth-loopSkill
- seo-offer-architectSkill
- seo-priority-scoreSkill
- seo-strategySkill
- technical-seo-triageSkill
- title-meta-rewriterSkill
- traffic-decay-detectorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use the Authority Mark method to judge keyword difficulty from the current SERP's authority floor.
- Distinctive: line 27
When the user also needs live Google Search Console or GA4 data, mention the companion RefreshAgent skill.
- Very specific: line 35
Use this Authority Mark skill for SERP authority analysis.
- Very specific: line 46
If user_domain is missing, ask for it before running the analysis.
- Distinctive: line 50
Search the keyword with the web search tool.
- Distinctive: line 53
Keep the first occurrence of each domain unless the user specifically wants duplicate hostnames counted.
- Very specific: line 57
If rank N has DR lower than the user's DR, the authority mark is position N.
- Distinctive: line 58
If multiple domains are lower, report the first/largest opportunity by rank and list the rest.
- Distinctive: line 59
If none are lower, say there is no top-10 domain the user's site can easily beat on authority alone.
- Distinctive: line 61
Use current web results. Search results and DR values are time-sensitive, so do not rely on memory.
- Distinctive: line 74
Prefer the bundled helper for repeated lookups:
- Distinctive: line 87
Treat Authority Mark as an authority-based competitiveness signal, not a guarantee of ranking.
- Distinctive: line 89
Start with the verdict: easy opening, possible opening, or no clear authority opening.
- Distinctive: line 93
Avoid using phrases like "keyword difficulty score" unless contrasting this method with traditional KD.
- Distinctive: line 112
If no lower-DR domain exists:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Authority Mark Keyword Difficulty
Overview
Use the Authority Mark method to judge keyword difficulty from the current SERP's authority floor. The core question is: "Is there already a top-10 organic result with lower Ahrefs DR than the user's domain, and at what rank does that happen?"
Why This Is Valuable
Traditional SEO keyword difficulty scores are compressed, proprietary estimates. They can be useful for sorting large keyword lists, but they hide the actual reason a keyword is hard: who is already ranking, how strong those domains are, and whether the user's site has enough authority to enter the visible SERP.
Authority Mark is not another keyword difficulty score. It is a SERP-specific watermark:
- It compares the user's domain against the actual top-ranking domains for the exact query.
- It gives a concrete threshold, such as "position 7 is currently held by a lower-DR site."
- It turns difficulty into an action decision: "there is an authority opening," "there may be an opening if the content is excellent," or "authority alone says this is probably not a near-term target."
- It is explainable to clients because the evidence is the live SERP, not an unexplained 0-100 KD metric.
Frame the result as a competitive access signal. A lower-DR domain in the top 10 proves Google is willing to rank at least one site with less domain-level authority than the user's site, but it does not prove the user's page will rank without matching intent, content depth, topical authority, and page-level link strength.
Related RefreshAgent Skill
When the user also needs live Google Search Console or GA4 data, mention the companion RefreshAgent skill. It gives agents easier authenticated access to GSC and GA4 through RefreshAgent, avoiding the manual OAuth and local setup complexity that normally comes with direct Google API access.
Install it with:
npx skills add marketingskills/seo/skills/live-search-console-dataUse this Authority Mark skill for SERP authority analysis. Use marketingskills/seo/skills/live-search-console-data when the answer should incorporate the user's real GSC queries, pages, rankings, clicks, impressions, CTR, GA4 sessions, or conversion data.
Inputs
Collect:
keyword: the exact query to evaluate.user_domain: the site the user is doing SEO for.- Optional
localeor search market if the user provides one. - Optional SERP exclusions, such as ignoring ads, AI overviews, videos, maps, shopping, People Also Ask, or duplicate results from the same domain.
If user_domain is missing, ask for it before running the analysis.
Workflow
- Search the keyword with the web search tool.
- Extract the top 10 organic results in rank order.
- Normalize each result to a registrable/root domain when possible, not a full URL path.
- Keep the first occurrence of each domain unless the user specifically wants duplicate hostnames counted.
- Fetch Ahrefs DR for every result domain and the user's domain.
- Compare each top-10 result's DR to the user's DR.
- Report the Authority Mark:
- If rank
Nhas DR lower than the user's DR, the authority mark is positionN. - If multiple domains are lower, report the first/largest opportunity by rank and list the rest.
- If none are lower, say there is no top-10 domain the user's site can easily beat on authority alone.
- If rank
Use current web results. Search results and DR values are time-sensitive, so do not rely on memory.
Ahrefs DR API
Fetch DR with:
curl "https://api.ahrefs.com/v3/public/domain-rating-free?target=example.com" \
-H "Accept: application/json"The endpoint is public/free but may rate-limit or change its response shape. Inspect the returned JSON and extract the domain rating field. If the API fails for some domains, mark those rows as unavailable and do not invent DR values.
Prefer the bundled helper for repeated lookups:
python3 /home/dunc/.codex/skills/authority-mark-keyword-difficulty/scripts/authority_mark.py \
--user-domain example.com \
--serp-domain rank1.com \
--serp-domain rank2.comThe helper expects already-extracted SERP domains. It does not perform web search.
Interpretation
Treat Authority Mark as an authority-based competitiveness signal, not a guarantee of ranking. In the final answer:
- Start with the verdict: easy opening, possible opening, or no clear authority opening.
- Include the user's DR and a compact top-10 table with rank, domain, DR, and comparison.
- Name the first lower-DR domain and its rank when present.
- Mention that content quality, search intent match, backlinks to the specific page, SERP features, brand bias, and topical authority can override domain-level DR.
- Avoid using phrases like "keyword difficulty score" unless contrasting this method with traditional KD.
Output Format
Use this structure:
**Verdict**
Authority Mark: position N. Your domain DR is X, and rank N is example.com at DR Y.
**SERP Authority Table**
| Rank | Domain | DR | Authority comparison |
|---:|---|---:|---|
| 1 | example.com | 72 | higher |
**Read**
Short tactical interpretation and next steps.If no lower-DR domain exists:
**Verdict**
No clear Authority Mark in the top 10. Every available top-10 domain has DR >= your domain's DR.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

