explaingit

thecraighewitt/seomachine

6,948PythonAudience · writerComplexity · 3/5Setup · moderate

TLDR

A Claude Code workspace that turns an AI coding assistant into a full SEO content pipeline, researching keywords, writing 2,000-word articles, scoring them, and publishing to WordPress, all with slash commands.

Mindmap

mindmap
  root((SEO Machine))
    Core Workflow
      Research keywords
      Write articles
      Score and optimize
    Content Commands
      Research command
      Write command
      Optimize command
    Existing Content
      Analyze live URLs
      Rewrite with fixes
    Publishing
      WordPress API
      AI text scrubbing
    Setup
      Context files
      Anthropic API key
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Research a blog topic, write a 2,000-word SEO-optimized article, and publish it to WordPress in one automated workflow.

USE CASE 2

Audit an existing live page for SEO health and get a scored list of specific improvements to make.

USE CASE 3

Run competitor gap analysis to find keyword opportunities your content currently misses.

USE CASE 4

Use the AI scrub command to remove patterns associated with AI-written text before publishing.

Tech stack

PythonClaude CodeAnthropic API

Getting it running

Difficulty · moderate Time to first run · 1h+

Requires the Claude Code CLI and an active Anthropic API account, plus filling out brand-specific context files before first use.

No license information is described in the explanation.

In plain English

SEO Machine is a workspace configuration for Claude Code (an AI coding tool) that turns it into a content production system for blog articles. Rather than general-purpose use, the workspace is wired up with custom commands, specialized agents, and context files so that Claude can research topics, write long-form articles, and score them for search engine optimization, all within a consistent brand voice. The core workflow has three steps. You run a research command with a topic, and the system analyzes competing pages and maps out keyword opportunities. You then run a write command, which produces a 2,000 to 3,000 word article with headings, internal and external links, and meta tags. Several additional agents then run automatically to check keyword placement, suggest linking improvements, and score the article's SEO quality on a 0 to 100 scale. A final optimize command does a pre-publish audit. The workspace also handles existing content. You can point the analyze command at a live URL or a saved file, and it returns a content health score along with specific suggestions for what to update. A rewrite command then incorporates those suggestions while keeping the parts of the original that are working. Additional commands cover landing pages, competitor gap analysis, trending topic discovery, and publishing directly to WordPress via its API. A scrub command strips out common patterns associated with AI-written text. The system also includes 26 marketing skills covering copywriting, A/B testing, email sequences, and pricing strategy. Setting up the system involves cloning the repository, installing Python dependencies, and filling out a set of context files for your specific business: brand voice, style guide, keyword targets, and example posts. A complete sample configuration for a podcast hosting company is included as a reference. The project requires the Claude Code CLI and an Anthropic API account to run.

Copy-paste prompts

Prompt 1
I've cloned SEO Machine and want to set up my brand voice and keyword targets. Walk me through filling out the context files using the included podcast hosting company as a reference.
Prompt 2
I want to use SEO Machine to write an article targeting the keyword 'best project management tools for startups'. What commands do I run in order?
Prompt 3
Show me how to point SEO Machine's analyze command at an existing live URL and interpret the content health score it returns.
Prompt 4
How do I configure SEO Machine to publish directly to my WordPress site using its built-in publishing command?
Prompt 5
I want to use SEO Machine's trending topic discovery to find new article ideas in the SaaS niche. Walk me through the command and how to evaluate the output.
Open on GitHub → Explain another repo

← thecraighewitt on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.