seomachine
CLAUDE.md7.5k starsChanged 9 months agoMITView on GitHub
SEO Machine is an open-source Claude Code workspace for creating SEO-optimized blog content. It combines custom commands, specialized agents, and Python-based analytics to research, write, optimize, and publish articles for any business. API credentials are configured in data_sources/config/.env (GA4, GSC, DataForSEO, WordPress). GA4 service account credentials go in credentials/ga4-credentials.json. All commands are defined in .claude/commands/ and invoked as slash commands: Commands (.claude/commands/) orchestrate workflows. Agents (.claude/agents/) are specialized roles invoked by commands. After /write, these agents auto-run: SEO Optimizer, Meta…
- Reads credentials
- Installs packages
Trending
More talk lately.thin dataabout the whole repository
Who's talking about TheCraigHewitt/seomachine
- @duplicake.fyi“new AI slop just dropped that'll fill the internet with even more SEO spam blog posts, get ready @kagi.com …”Bluesky · Apr 8, 2026 · 1 likes
- @dailygithubtrends.bsky.social“今日のGitHubトレンド TheCraigHewitt/seomachine このリポジトリは、SEOに最適化された長文ブログコンテンツを生成するためのツール「SEO Machine」を提供します。 Claude…”Bluesky · Apr 8, 2026 · 1 likes
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 TheCraigHewitt / seomachine ⭐ 3,624 (+213) 🗒 Python A specialized …”Bluesky · Apr 7, 2026 · 1 likes
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 TheCraigHewitt / seomachine ⭐ 1,271 (+379) 🗒 Python A specialized …”Bluesky · Mar 5, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.thecraighewitt.seomachine: init at 0-unstable-2026-02-02”GitHub · Oct 3, 2026
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub and Bluesky (9 times).
On GitHub · 5
- Oct 3, 2026agent-skills.github.thecraighewitt.seomachine: init at 0-unstable-2026-02-02 — sudosubin/agents.nix0 reactions
- Apr 8, 2026AI 热点探索 | 2026-04-08 中午 — sleepy-zone/daily-report0 reactions
- Apr 8, 2026📈 AI 开源趋势日报 2026-04-08 — DenisZheng/agents-radar0 reactions
- Feb 6, 2026add seomachine.io — brightdigit/brightdigit.com0 reactions · 1 comment
- Jan 11, 2026Review SEO project for blog workflow improvements — wildcard/caro0 reactions · 2 comments
On Bluesky · 4
- Apr 8, 2026new AI slop just dropped that'll fill the internet with even more SEO spam blog posts, get ready @kagi.com github.com/TheCraigHewi... — @duplicake.fyi1 likes and repost
- Apr 8, 2026今日のGitHubトレンド TheCraigHewitt/seomachine このリポジトリは、SEOに最適化された長文ブログコンテンツを生成するためのツール「SEO Machine」を提供します。 Claude… — @dailygithubtrends.bsky.social1 likes and repost
- Apr 7, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 TheCraigHewitt / seomachine ⭐ 3,624 (+213) 🗒 Python A specialized Claude Code workspace for… — @github-trending.bsky.social1 likes and repost · 1 reply
- Mar 5, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 TheCraigHewitt / seomachine ⭐ 1,271 (+379) 🗒 Python A specialized Claude Code workspace for… — @github-trending.bsky.social1 likes and repost · 1 reply
In this repository25 other files it gives its agents.
- ab-test-setupSkill
- analytics-trackingSkill
- competitor-alternativesSkill
- content-strategySkill
- copy-editingSkill
- copywritingSkill
- email-sequenceSkill
- form-croSkill
- free-tool-strategySkill
- launch-strategySkill
- marketing-ideasSkill
- marketing-psychologySkill
- onboarding-croSkill
- page-croSkill
- paid-adsSkill
- paywall-upgrade-croSkill
- popup-croSkill
- pricing-strategySkill
- product-marketing-contextSkill
- programmatic-seoSkill
- referral-programSkill
- schema-markupSkill
- seo-auditSkill
- signup-flow-croSkill
- social-contentSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
All commands are defined in .claude/commands/ and invoked as slash commands:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
SEO Machine is an open-source Claude Code workspace for creating SEO-optimized blog content. It combines custom commands, specialized agents, and Python-based analytics to research, write, optimize, and publish articles for any business.
Setup
pip install -r data_sources/requirements.txtAPI credentials are configured in data_sources/config/.env (GA4, GSC, DataForSEO, WordPress). GA4 service account credentials go in credentials/ga4-credentials.json.
Commands
All commands are defined in .claude/commands/ and invoked as slash commands:
/research [topic]- Keyword/competitor research, generates brief inresearch//write [topic]- Create full article indrafts/, auto-triggers optimization agents/rewrite [topic]- Update existing content, saves torewrites//optimize [file]- Final SEO polish pass/analyze-existing [URL or file]- Content health audit/performance-review- Analytics-driven content priorities/publish-draft [file]- Publish to WordPress via REST API/article [topic]- Simplified article creation/cluster [topic]- Build complete topic cluster strategy with pillar + supporting articles + linking map/priorities- Content prioritization matrix/research-serp,/research-gaps,/research-trending,/research-performance,/research-topics- Specialized research commands/research-ai-citations [topic]- AI citation audit: generates prompts, clusters them, audits which sources AI cites/repurpose [file]- Adapts article for LinkedIn, Medium, Reddit, Quora distribution/landing-write,/landing-audit,/landing-research,/landing-publish,/landing-competitor- Landing page commands
Architecture
Command-Agent Model
Commands (.claude/commands/) orchestrate workflows. Agents (.claude/agents/) are specialized roles invoked by commands. After /write, these agents auto-run: SEO Optimizer, Meta Creator, Internal Linker, Keyword Mapper.
Key agents: content-analyzer.md, seo-optimizer.md, meta-creator.md, internal-linker.md, keyword-mapper.md, editor.md, headline-generator.md, cro-analyst.md, performance.md, cluster-strategist.md.
Python Analysis Pipeline
Located in data_sources/modules/. The Content Analyzer chains:
search_intent_analyzer.py- Query intent classificationkeyword_analyzer.py- Density, distribution, stuffing detectioncontent_length_comparator.py- Benchmarks against top 10 SERP resultsreadability_scorer.py- Flesch Reading Ease, grade levelseo_quality_rater.py- Comprehensive 0-100 SEO score
Data Integrations
google_analytics.py- GA4 traffic/engagement datagoogle_search_console.py- Rankings and impressionsdataforseo.py- SERP positions, keyword metricsdata_aggregator.py- Combines all sources into unified analyticswordpress_publisher.py- Publishes to WordPress with Yoast SEO metadata
Opportunity Scoring
opportunity_scorer.py uses 8 weighted factors: Volume (25%), Position (20%), Intent (20%), Competition (15%), Cluster (10%), CTR (5%), Freshness (5%), Trend (5%).
Running Python Scripts
# Research & analysis scripts (run from repo root)
python3 research_quick_wins.py
python3 research_competitor_gaps.py
python3 research_performance_matrix.py
python3 research_priorities_comprehensive.py
python3 research_serp_analysis.py
python3 research_topic_clusters.py
python3 research_trending.py
python3 seo_baseline_analysis.py
python3 seo_bofu_rankings.py
python3 seo_competitor_analysis.py
# Test API connectivity
python3 test_dataforseo.pyContent Pipeline
topics/ (ideas) → research/ (briefs) → drafts/ (articles) → review-required/ (pending review) → published/ (final)
Rewrites go to rewrites/. Landing pages go to landing-pages/. Audits go to audits/. Repurposed content goes to repurposed/.
Context Files
context/ contains brand guidelines that inform all content generation:
brand-voice.md- Tone, messaging pillarsstyle-guide.md- Grammar, formatting standardsseo-guidelines.md- Keyword and structure rulesinternal-links-map.md- Key pages for internal linkingfeatures.md- Product featurescompetitor-analysis.md- Competitive intelligencecro-best-practices.md- Conversion optimization guidelinesai-citation-targets.md- Directories/platforms where your brand should be cited by AI toolsreddit-strategy.md- Reddit engagement strategy for AI SEO and community visibility
WordPress Integration
Publishing uses the WordPress REST API with a custom MU-plugin (wordpress/seo-machine-yoast-rest.php) that exposes Yoast SEO fields. Articles are published in WordPress block format (HTML comments in Markdown files).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

