Open source · 7.6k stars on GitHub

SEO Machine: AI-Powered Content Creation That Ranks

An open-source Claude Code workspace that researches, writes, optimizes, and publishes long-form SEO content and landing pages, guided by your brand voice and real search data.

GitHub stars
7.6k
Forks
986
Contributors
10
Last commit
Oct 23

Everything You Need for SEO Content

Streamlined workflows and specialized AI agents to create content that ranks

24 Slash Commands

Research, write, rewrite, optimize, build landing pages, and publish, each as a single slash command in Claude Code

11 Specialized Agents

SEO optimizer, meta creator, internal linker, keyword mapper, editor, headline generator, CRO analyst, and more review every draft

Advanced SEO Analysis

Search intent detection, keyword clustering, readability scoring, and 0-100 SEO quality ratings with actionable recommendations

Real Search Data

Google Analytics 4, Google Search Console, and DataForSEO feed actual traffic, ranking, and SERP data into every brief

Your Brand Voice

Context files for voice, style guide, target keywords, and internal links keep every piece on-brand. A complete real-world example is included

Publish to WordPress

Push articles and landing pages to WordPress as drafts with Yoast SEO titles and descriptions already filled in

See It in Action

A walkthrough of the full workflow, from research brief to published article

How It Works

Four commands from idea to published post

1

Research

/research

Keyword analysis, competitor research, and a comprehensive content brief

2

Write

/write

2,000-3,000+ word articles in your voice, reviewed automatically by the agents

3

Optimize

/optimize

A final SEO polish with data-driven recommendations

4

Publish

/publish-draft

Send it to WordPress with the SEO metadata in place

24 Commands for the Whole Content Lifecycle

Type a slash command in Claude Code and SEO Machine does the rest

Research & planning

  • /researchKeyword research, top-10 competitor analysis, and a full content brief
  • /research-serpDeep SERP analysis to see what Google wants for a keyword
  • /research-gapsFind topics where competitors rank and you don't
  • /research-topicsCluster keywords into topics to map your topical authority
  • /research-trendingSpot topics gaining search interest right now
  • /research-performanceSort existing content by traffic and rankings
  • /research-ai-citationsFind the prompts buyers ask AI tools and track who gets cited
  • /prioritiesA prioritized content roadmap built from every research angle
  • /clusterPillar page, 8-12 supporting articles, and an internal linking map
  • /content-calendarA dated month-long calendar mapped to clusters and keywords

Writing & editing

  • /write2,000-3,000+ word SEO articles in your brand voice
  • /articleResearch, outline, and write section by section in one pipeline
  • /analyze-existingAudit a published post for SEO gaps and a content health score
  • /rewriteUpdate and improve existing posts based on the analysis
  • /optimizeA final SEO pass with data-driven fixes before publishing
  • /repurposeTurn one article into platform-specific versions for distribution
  • /scrubStrip invisible AI watermarks and telltale patterns from drafts

Landing pages

  • /landing-researchResearch competitors and positioning before you build
  • /landing-competitorTear down a competitor's landing page in depth
  • /landing-writeConversion-focused pages for organic or paid traffic
  • /landing-auditAudit an existing page for conversion issues
  • /landing-publishPublish to WordPress as a page

Performance & publishing

  • /performance-reviewTurn GA4 and Search Console data into a prioritized task queue
  • /publish-draftSend a draft to WordPress with Yoast SEO fields filled in

11 Agents Review Every Draft

Each agent is a specialist. After you write, they run automatically and report back.

Content Analyzer

Scores quality, SEO, and readability with the Python analysis modules

SEO Optimizer

On-page optimization for long-form content

Meta Creator

Meta titles and descriptions written to win the click

Internal Linker

Places internal links that build topical authority

Keyword Mapper

Checks that keyword placement and density read naturally

Editor

Makes technical content sound human and engaging

Performance

Prioritizes work using real traffic and ranking data

Headline Generator

Headline variations with A/B testing recommendations

Cluster Strategist

Designs topic clusters that own a search vertical

CRO Analyst

Reviews pages through persuasion and behavioral psychology

Landing Page Optimizer

Concrete recommendations to lift conversion rates

Plus 25 Marketing Skills

Go beyond blog posts: CRO, copywriting, pricing, email, ads, and more

SEO

  • /seo-audit
  • /schema-markup
  • /programmatic-seo
  • /competitor-alternatives

Copywriting

  • /copywriting
  • /copy-editing

CRO

  • /page-cro
  • /form-cro
  • /signup-flow-cro
  • /onboarding-cro
  • /popup-cro
  • /paywall-upgrade-cro

Strategy

  • /content-strategy
  • /product-marketing-context
  • /pricing-strategy
  • /launch-strategy
  • /marketing-ideas

Channels

  • /email-sequence
  • /social-content
  • /paid-ads

Analytics

  • /analytics-tracking
  • /ab-test-setup

Growth

  • /referral-program
  • /free-tool-strategy
  • /marketing-psychology

Built on Modern Technology

Powered by Claude and the data sources you already use

Claude Code

Runs inside Anthropic's agentic coding tool

Python Analysis

Readability, keyword, intent, and CRO analysis modules

Google Analytics 4

Traffic and engagement data

Search Console

Rankings, impressions, and click data

DataForSEO

Keyword volumes and live SERP data

WordPress

REST API publishing with Yoast SEO fields

Get Started in Minutes

You'll need Claude Code, Python 3, and a DataForSEO account.

  1. 1

    Clone the repo and open it in Claude Code

    git clone https://github.com/TheCraigHewitt/seomachine.git
    cd seomachine
    pip install -r data_sources/requirements.txt
    claude
  2. 2

    Fill in your context files

    Add your brand voice, style guide, target keywords, and internal links in context/. See the Castos examplefor a complete, real-world setup.

  3. 3

    Run your first command

    /research content marketing strategies for B2B SaaS

Start Creating Better Content Today

Join 7,628 developers and marketers who've starred SEO Machine on GitHub