seo-watchlist
Skill162 starsChanged 7 months agoMITView on GitHub
Track multiple domains and keywords across runs using the DataForSEO SERP API. Saves a local watchlist of domains + their target keywords, then re-runs live rank checks on demand and surfaces any position changes (gains, losses, drops) since the last check.
- Reads credentials
In this repository15 other files it gives its agents.
- seoSkill
- seo-auditSkill
- seo-backlinksSkill
- seo-compareSkill
- seo-competitorsSkill
- seo-content-gapSkill
- seo-contentSkill
- seo-emailSkill
- seo-keywordsSkill
- seo-prospectSkill
- seo-quickSkill
- seo-rankingsSkill
- seo-report-pdfSkill
- seo-reportSkill
- seo-technicalSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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 12
Before running any of the steps below, always invoke the shared preflight check:
- Very specific: line 30
Write them to ~/.claude/skills/seo/.env:
- Very specific: line 36
Run a verification call: ~/.claude/skills/seo/scripts/keyword_research.py volume "test"
- Distinctive: line 37
If verification succeeds (real JSON returned): tell the user "✅ Credentials verified.
- Very specific: line 38
If status 40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to …
- Distinctive: line 39
If any other auth error: ask them to double-check the API password (the long alphanumeric string from https://app.dataforseo.com/api-access …
- Distinctive: line 73
Read the existing watchlist (if any), add or update the domain entry, write back.
- Distinctive: line 74
Run an immediate rank check and store as the first history entry.
- Distinctive: line 104
Always end with a short take: any concerning drops (-5 or worse), any opportunities (rankings just outside top 10), and one suggested …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Phase 0: Credential Preflight (REQUIRED — run BEFORE anything else)
Before running any of the steps below, always invoke the shared preflight check:
~/.claude/skills/seo/scripts/preflight.shIf exit code is 0: credentials are configured — proceed with the rest of this skill silently.
If exit code is 2: the script prints the DataForSEO setup wizard to stdout. STOP, display that wizard to the user verbatim, and wait for them to paste credentials in this format:
login: their_email@example.com
password: their_api_password_hereWhen they reply:
- Parse
login:andpassword:from their message. - Write them to
~/.claude/skills/seo/.env:DATAFORSEO_LOGIN=<login> DATAFORSEO_PASSWORD=<password> chmod 600 ~/.claude/skills/seo/.env- Run a verification call:
~/.claude/skills/seo/scripts/keyword_research.py volume "test" - If verification succeeds (real JSON returned): tell the user "✅ Credentials verified. Running your command now..." and proceed with the original request.
- If status
40104 — Please verify your account: tell the user to verify their account at https://app.dataforseo.com/, then say "continue" to retry. - If any other auth error: ask them to double-check the API password (the long alphanumeric string from https://app.dataforseo.com/api-access — not their account login password).
Never echo credentials back to the user, never include them in tool output, and never commit them.
SEO Watchlist Skill
Powered by: DataForSEO API — SERP
google/organic/live/advancedfor live rank checks across the saved keyword set. Cost: ~$0.002 per keyword per check.
A simple file-based watchlist at ~/.claude/skills/seo/output/watchlist.json.
Schema
{
"domains": {
"example.com": {
"label": "Main site",
"keywords": ["seo audit tool", "keyword research", "..."],
"history": [
{"date": "2026-04-15", "rankings": [{"keyword": "...", "position": 8}, ...]},
{"date": "2026-04-22", "rankings": [{"keyword": "...", "position": 6}, ...]}
]
}
}
}Subcommands
add <domain> <keywords...>
Read the existing watchlist (if any), add or update the domain entry, write back. Run an immediate rank check and store as the first history entry.
list
Print the watchlist in a human-readable table:
- Domain | label | # keywords | last checked | last avg position
check <domain> or check all
Re-run SERP rank check on the saved keywords:
~/.claude/skills/seo/scripts/serp_check.py rank --domain <domain> --keywords <kw...>Append the result to history, then diff against the previous check:
Movement since <last_date>:
🟢 Up: "seo audit tool" 8 → 5 (+3)
🔴 Down: "ai content tool" 12 → 18 (-6)
⚪ Same: "..." 3 → 3remove <domain> and remove <domain> <keyword>
Drop a domain or a single keyword from the watchlist.
Output
Always end with a short take: any concerning drops (-5 or worse), any opportunities (rankings just outside top 10), and one suggested action.
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.

