Skip to content
Docs: Workflow

GEO and SEO with Claude Code: the two workflows

Agent2Ship has two paths. For a new site you go from idea to brief, stack, build, design, deploy and a weekly growth loop. For a site you already have, you start with a Claude Code SEO audit, then work through opportunities, fact-checks and design. Both paths cover SEO (being found in Google) and GEO (being cited in AI answers).

The easiest way to run either path is /a2s-start. Type /a2s-start <your idea> for a new site or /a2s-start <your site's URL> for an existing one (or just /a2s-start and it asks). It runs each step by following that step's own command, saves progress in .claude/agent2ship/JOURNEY.md, and stops only for your decisions and the Claude Code restart. The individual commands below still work if you prefer manual control.

New site with /a2s-start: idea to growth

  1. Idea (/a2s-idea, optional). Validates an idea with live autocomplete demand, competition, AI-answer gaps and hosting cost, and gives go / maybe / skip with an honest confidence level. Skipped if you already know what to build and say so. Stops: you pick the idea.
  2. Brief (/a2s-brief). Writes SITE-BRIEF.md: name, domain, competitor, keywords and a keyword map with one search intent per page. Stops: your name and domain answers, then keyword-map approval.
  3. Stack (/a2s-stack). Writes STACK.md with a ๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด hosting verdict before anything is built. Stops only if the site isn't ๐ŸŸข free or a decision is needed (for example analytics).
  4. Build Phase A (/a2s-build). Installs the design tools. Stops: you fully close Claude Code, reopen it, start a new session and type /a2s-start again.
  5. Build Phase B and design (/a2s-build, which runs /a2s-design). Builds the site in the project root and runs the design department. Stops: you pick one of 3 design directions, then approve the design plan.
  6. Fact-check (/a2s-fact-check). Stops only for claims you must confirm or test yourself, with a ready test input.
  7. Deploy (/a2s-deploy). Cloudflare deploy, domain, redirects, Search Console and sitemap, checked with real requests. Stops: your permission before deploying, and the dashboard steps only you can do.
  8. After launch. /a2s-adsense-ready only if the Site Brief says the site earns from ads (tool or content sites); otherwise analytics and /a2s-grow. Then come back weekly with /a2s-start to run the growth step.

By hand, the same order is: /a2s-idea (optional) โ†’ /a2s-brief โ†’ /a2s-stack โ†’/a2s-build (Phase A โ†’ restart โ†’ Phase B, which runs /a2s-design) โ†’ /a2s-deploy โ†’/a2s-adsense-ready (ad-earning sites only) โ†’ /a2s-audit + /a2s-geo-check โ†’ weekly /a2s-grow.

Existing site with /a2s-start: audit first

  1. Setup (/a2s-setup <url>). Detects your stack, fills SITE-CONTEXT.md from your code, drafts GEO prompts and checks Search Console access. Stops: you confirm what the site is, who it's for and its competitors.
  2. Stack check (/a2s-stack). Checks whether the code runs where it's hosted and whether it's client-side rendered. Hosting isn't moved unless you ask; if the site is hosted elsewhere, the kit never runs the Cloudflare deploy and you upload changes the way you already do.
  3. Audit (/a2s-audit). The crawler audit with the top fixes. Stops: you approve the fixes.
  4. Opportunities (/a2s-opportunities). Search Console data turned into page-level tasks, if you can provide it (CSV or API). It asks once, and skips this step if not.
  5. Fact-check (/a2s-fact-check) on key pages: claims checked against your code and official sources.
  6. Then, one at a time: new pages (/a2s-write-page), refreshes (/a2s-refresh-page), schema and internal links, a GEO check, and a design review (/a2s-design review).
  7. Weekly: /a2s-grow + /a2s-measure.

By hand: /a2s-setup <url> โ†’ /a2s-audit โ†’ /a2s-opportunities โ†’/a2s-fact-check โ†’ /a2s-design review (if it looks basic) โ†’ weekly /a2s-grow. App features such as login, admin or payments are regular Claude Code work, not an Agent2Ship step; /a2s-startsays so and offers to plan them safely.

The audit agents work with Astro, Next.js and React sites.

What does the Claude Code SEO audit check?

/a2s-audit runs a zero-dependency Node crawler, then the technical SEO agent explains and fixes what it finds. The crawler checks:

  • Indexability, meta tags and canonicals
  • Redirects (it follows them) and http/www duplicate hosts
  • Orphan pages and client-side-rendered pages that show crawlers an empty shell
  • Schema misuse, such as page-specific schema repeated on every page
  • AI bots blocked by robots.txt or by the CDN

How does GEO work with Claude Code?

GEO (generative engine optimization) means getting your site mentioned and cited in AI answers. /a2s-geo-check takes 10โ€“20 real questions your visitors ask (saved in geo-prompts.txt), checks the AI answers for them (with API keys if you set them, or in manual mode without), and shows whether your site is cited and who is cited instead. It then explains why those pages win and suggests on-page changes and off-site actions. AI answers vary between runs, so compare trends every 2โ€“4 weeks rather than trusting one result.

Claude Code SEO optimization after launch

Once Search Console has data, /a2s-opportunities finds striking-distance queries (positions 4โ€“20), low-CTR pages, gaps and cannibalization. You change a few pages at a time, /a2s-measure saves a baseline with a recheck date 4โ€“6 weeks out, and then compares a fresh Search Console export to tell you whether the change worked.

Why the files matter

Each step writes its decisions into .claude/agent2ship/ (brief, stack, design plan, JOURNEY.md) and reports into seo-reports/, with a changelog of every change. That is why you can start a fresh session for each big step without losing context.

Every command in detail: the commands reference. Habits that save time: tips.