Logo vun Seo Agent

Seo Agent

Communautéit
TheMattBerman
seo-agent

Self-improving SEO system. Finds keywords via DataForSEO, writes content that ranks, monitors GSC for what's climbing, then writes MORE content to push winners higher. A feedback loop, not a one-shot tool.

Iwwersiicht

EditeurTheMattBerman
Repositoryseo-kit
Skill-Nummseo-agent
Stären
100
Forks
26
Matgeliwwert Fichieren
3
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum TheMattBerman op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Seo Agent an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/TheMattBerman/seo-kit/tree/main/skills/seo-agent
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TheMattBerman/seo-kit.git /tmp/seo-kit
mkdir -p .claude/skills
cp -r /tmp/seo-kit/skills/seo-agent .claude/skills/seo-agent
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Seo Agent an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Seo Agent automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Seo Agent net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

SEO Agent — The Self-Improving SEO Loop

Most SEO tools do one thing. Discover keywords. Write content. Check rankings. Done.

This isn't that.

The SEO Agent is a feedback loop — a system that finds opportunities, acts on them, watches what happens, and feeds those results back into the next round of work. Every cycle makes the next cycle smarter. Rankings climb. The content library grows. And you're always pushing the keywords that are already moving instead of starting from scratch.

"Don't just rank. Rank, learn, and rank higher."


The Loop

DISCOVER → WRITE → MONITOR → OPTIMIZE → REPEAT

1. DISCOVER (seo-discover.sh) Pull your current GSC rankings. Find what's in the strike zone (positions 5-20). Hit DataForSEO for related keywords you're missing. Score opportunities by volume, competition, and current position. Output a prioritized hit list.

2. WRITE (You + Claude) Take the top opportunity from discovery. Generate publication-ready SEO content — outline, draft, optimized headers, FAQs, schema markup. Brand voice from workspace/brand/voice-profile.md baked in.

3. MONITOR (seo-monitor.sh) Run weekly. Pull current GSC data. Compare to last snapshot. Flag what's climbing, what's dropping, what just cracked the strike zone. This is your radar.

4. OPTIMIZE (seo-compete.sh + Claude) Take the winners from monitoring — content climbing from 15 → 8. Write supporting articles that link to them. Add internal links from existing content. Push the climbers over the finish line.

5. REPEAT Discovery now has more context. Monitor has more history. Every loop compounds.


The Strike Zone

Positions 5–20 are where SEO leverage lives.

  • Position 1–4: Already winning. Defend.
  • Position 5–20: ⚡ THE STRIKE ZONE — close enough to move, not yet getting the clicks. A supporting article, better internal links, or a refreshed page can jump these 5–10 spots. That's the difference between 2% CTR and 8% CTR.
  • Position 21+: Too far out. Needs a full content build.

The Agent focuses energy here by default.


Scripts

All scripts live in ~/clawd/skills/seo-agent/scripts/. All use bash + curl + jq. No Python. No npm.

seo-discover.sh — Find Your Next Opportunity

bash
./seo-discover.sh --site sc-domain:example.com [--seeds "keyword1,keyword2"] [--limit 20]

What it does:

  1. Pulls your GSC top queries (last 28 days)
  2. Filters for strike zone keywords (positions 5–20)
  3. Hits DataForSEO for keyword suggestions around your top queries
  4. Gets search volume + competition for all candidates
  5. Scores and ranks opportunities
  6. Outputs a prioritized JSON list

Output fields: keyword, current_position, search_volume, competition, opportunity_score

Add --json for raw machine-readable output. Default is a human-readable table.

seo-monitor.sh — Track What's Moving

bash
./seo-monitor.sh --site sc-domain:example.com [--days 28]

What it does:

  1. Pulls current GSC data
  2. Loads previous snapshot from ~/clawd/workspace/seo-agent/snapshots/
  3. Diffs positions: climbing, dropping, new entries
  4. Highlights strike zone keywords ready to push
  5. Flags content losing ground (act before it falls further)
  6. Saves new snapshot for next comparison

Snapshots stored at: ~/clawd/workspace/seo-agent/snapshots/SITE-YYYY-MM-DD.json

seo-compete.sh — Find Their Keywords, Take Them

bash
./seo-compete.sh --site example.com --competitor competitor.com [--limit 30]

What it does:

  1. Uses DataForSEO to find all keywords your competitor ranks for
  2. Cross-references against your rankings
  3. Returns the gap — keywords they're winning that you're not targeting
  4. Scored by their position + search volume (easiest wins first)

This feeds directly back into DISCOVER as a seed list.


Configuration

On first use, create ~/clawd/workspace/seo-agent/config.yaml:

yaml
site: "sc-domain:example.com"
competitors:
  - competitor1.com
  - competitor2.com
content_directory: "./content"
monitor_frequency: "weekly"
target_positions: [5, 20]   # the strike zone
min_search_volume: 100

Scripts read this config automatically. Override any setting with CLI flags.


Setup

1. DataForSEO Credentials

bash
export DATAFORSEO_LOGIN=your@email.com
export DATAFORSEO_PASSWORD=yourpassword

2. Google Search Console Auth

Same auth as gsc-report. If you've set that up, you're ready.

Options:

  • export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
  • gcloud auth application-default login
  • export GOOGLE_ACCESS_TOKEN=ya29.xxx

3. Your Site URL

Find your exact property URL in Search Console. It's either:

  • https://example.com (URL prefix property)
  • sc-domain:example.com (domain property — broader, recommended)

4. (Optional) Brand Voice

Drop your brand voice profile at ~/clawd/workspace/brand/voice-profile.md. The agent reads this when generating content briefs and drafts. Run the brand-voice skill first if you haven't.


Running the Full Loop

Week 1 — Discovery

Run: seo-discover.sh --site your-site --limit 20
Output: Prioritized keyword hit list
Action: Pick top 3 opportunities → generate content with Claude

Week 2+ — Monitor + Optimize

Run: seo-monitor.sh --site your-site
Output: What moved, what's in strike zone
Action: Find climbers → write supporting content → add internal links

Ongoing — Compete

Run: seo-compete.sh --site your-site --competitor their-site
Output: Their keywords, your gaps
Action: Feed gaps back into discovery as seeds

How Claude Uses This

When you run the SEO Agent loop, Claude:

  1. Reads discovery output → selects the best opportunity based on your goals
  2. Generates a full content brief: target keyword, secondary keywords, outline, angle, word count, FAQ section, schema markup suggestions
  3. Drafts the article (or hands off outline for your writer)
  4. Reads monitor output → identifies what to optimize next
  5. Writes supporting articles with internal link strategy built in
  6. Updates workspace/brand/learnings.md with what's working

DataForSEO Endpoints Used

PurposeEndpoint
Keyword volumePOST /v3/keywords_data/google_ads/search_volume/live
Related keywordsPOST /v3/keywords_data/google_ads/keywords_for_keywords/live
Keyword expansionPOST /v3/dataforseo_labs/google/keyword_suggestions/live
SERP checkPOST /v3/serp/google/organic/live/advanced
Competitor keywordsPOST /v3/dataforseo_labs/google/competitors_domain/live
Keyword gapsPOST /v3/dataforseo_labs/google/domain_intersection/live

API base: https://api.dataforseo.com Auth: HTTP Basic — $DATAFORSEO_LOGIN:$DATAFORSEO_PASSWORD


Output Files

PathContents
workspace/seo-agent/snapshots/SITE-DATE.jsonWeekly ranking snapshots
workspace/seo-agent/config.yamlYour site config
workspace/brand/learnings.mdRanking insights (appended)
workspace/brand/keyword-plan.mdActive keyword targets

Why This Works

Most people do SEO once and forget it. They publish and pray.

The SEO Agent turns SEO into a system. Every week you know:

  • What moved
  • Why it moved
  • What to do next

Compound that for 6 months and you've got a content moat competitors can't buy their way out of.

The scripts are the engine. You (and Claude) are the brain. Together, that's the loop.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Seo Agent?

Self-improving SEO system. Finds keywords via DataForSEO, writes content that ranks, monitors GSC for what's climbing, then writes MORE content to push winners higher. A feedback loop, not a one-shot tool.

Firwat Seo Agent op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Seo Agent besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Seo Agent an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/TheMattBerman/seo-kit/tree/main/skills/seo-agent an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Seo Agent benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Seo Agent benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Seo Agent domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Seo Agent gratis?

De Skill gëtt vum TheMattBerman op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇