Every SEO session used to start the same way for me: re-crawl the site, re-pull Search Console, re-check competitors, and rediscover things I had already figured out last week. When I started working with AI agents like Claude Code, it got worse. The agent had no memory, so every session began from zero.
The fix turned out to be boring: put everything in Git, as plain files.
The idea
A repo for one website that holds what you know about it:
- goals and baseline numbers
- keywords (cluster, intent, target URL, status, position)
- competitors and per-competitor analyses
- content inventory and content plan
- internal links, backlinks, link opportunities
- ranking snapshots from Search Console
- audits
- a dated changelog of every change you make
Everything is CSV or Markdown, so it diffs well, searches fast, and is easy for an AI agent to read.
The session loop
- Read
NEXT-STEPS.md,05-goals/GOALS.mdand the latest changelog entry. - Do the work: audit, research, write, fix.
- Update the matching files.
- Add a changelog entry: what changed, why, expected effect, how to measure it.
- Rewrite
NEXT-STEPS.mdwith the prioritized to-do list for next time. - Commit.
Step 5 is the important one. The next session (yours or your agent's) starts with a clear list instead of an empty head. You only go back to the live site or GSC when you need new data.
Why it works well with AI agents
The repo ships with CLAUDE.md and AGENTS.md that tell the agent the rules: use stored data first, never invent keyword volume or difficulty, ask before touching the live site, never commit secrets. That means Claude Code, Cursor or Codex can pick up exactly where the last session stopped.
What's in the box
- 13 numbered folders (site docs, goals, keywords, competitors, content, links, rankings, audits, changelog, media map and more) plus blank CSV/Markdown templates
- a sitemap crawler and WordPress exporters for the media map and content inventory
-
examples/demo-site/, a filled-in example with fake data so you can see the result before you start - documentation in English, Persian and Arabic
It works well with WordPress (Rank Math, Polylang) but isn't tied to it.
Try it
Click Use this template on GitHub, create a private repo for your site, fill in 01-site-docs/ and 05-goals/GOALS.md, and run your next session from there.
soheylfarzanedev / seo-workspace-template
Git-based SEO knowledge base & work-log template for AI agents (Claude Code, Cursor, Codex). EN/FA/AR docs. Stop re-auditing, start compounding.
SEO Workspace Template
A Git-based SEO knowledge base and work log for one website, built to be read by humans and AI agents (Claude Code, Cursor, Codex). Stop re-auditing your site every session. Store what you learn and build on it.
Why
Every SEO session usually starts the same way: re-crawl the site, re-pull Search Console, re-check competitors. This template keeps goals, keywords, competitors, content, links, rankings and audits in plain CSV/Markdown under version control. You only go back to the live site, server or GSC when you need new data.
Quick start
- Click Use this template and create a private repo for your site.
- Fill
01-site-docs/and05-goals/GOALS.md. - Each session: read
NEXT-STEPS.md, work, update the matching files, add a12-changelog/entry, rewriteNEXT-STEPS.md, commit.
Works well with WordPress (Rank Math, Polylang) but is not tied to it. Keep client data out…
It's MIT licensed. I'd love to hear what's missing from the folder structure, and what you track that I don't.

