Skip to content

qwe00921/seomachine-codex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SEO Machine

Fork & Attribution Notice

This repository is an independent fork of the original project: TheCraigHewitt/seomachine.

  • Upstream (original): https://github.com/TheCraigHewitt/seomachine.git
  • This fork adds multi-assistant compatibility while keeping the original workflow structure.
  • This fork is not officially affiliated with, endorsed by, or maintained by the upstream authors.
  • Original authorship and project credit belong to the upstream repository and contributors.
  • The upstream project license continues to apply to this fork.

SEO Machine is a command-driven AI workspace for long-form SEO content production: research, writing, optimization, and publishing.

Quick Navigation

Quick Start

  1. Clone this fork:
    git clone https://github.com/qwe00921/seomachine-codex.git
    cd seomachine-codex
  2. Install dependencies:
    pip install -r data_sources/requirements.txt
  3. Create environment files:
    cp .env.example .env
    cp data_sources/config/.env.example data_sources/config/.env
  4. Fill required credentials in .env and data_sources/config/.env as needed.
  5. Fill core context files in context/ (see Required Context Files).
  6. Run your first workflow:
    /research your topic
    /write your topic
    /optimize drafts/your-topic-YYYY-MM-DD.md
    

For more guided setup:

Runtime Support

Runtime Instruction File(s)
Claude Code CLAUDE.md
Codex AGENTS.md, CODEX-QUICKSTART.md
Gemini GEMINI.md, AI-ASSISTANTS.md
Cursor .cursorrules, AI-ASSISTANTS.md
Windsurf .windsurfrules, AI-ASSISTANTS.md
Cline .clinerules, AI-ASSISTANTS.md
GitHub Copilot .github/copilot-instructions.md, AI-ASSISTANTS.md

Shared cross-runtime behavior is centralized in AI-ASSISTANTS.md.

Core Workflow

New Content

  1. /research [topic] -> keyword + SERP research brief in research/
  2. /write [topic] -> article draft in drafts/
  3. /optimize [draft-file] -> optimization report in drafts/
  4. /publish-draft [draft-file] -> publish draft to WordPress (optional)

Existing Content

  1. /analyze-existing [url-or-file]
  2. /rewrite [topic-or-analysis]
  3. /optimize [rewrite-file]

Commands

Core

  • /research [topic]
  • /write [topic]
  • /rewrite [topic]
  • /analyze-existing [url-or-file]
  • /optimize [file]
  • /publish-draft [file]
  • /article [topic]
  • /cluster [topic]
  • /content-calendar
  • /priorities
  • /performance-review [days]
  • /scrub [file]

Research

  • /research-serp [keyword]
  • /research-gaps
  • /research-trending
  • /research-performance
  • /research-topics

Landing Pages

  • /landing-write [topic]
  • /landing-audit [file]
  • /landing-research [topic]
  • /landing-competitor [url]
  • /landing-publish [file]

Detailed command specs live in:

  • .claude/commands/

Agent role definitions live in:

  • .claude/agents/

Required Context Files

Fill these before serious content generation:

  • context/brand-voice.md
  • context/writing-examples.md
  • context/style-guide.md
  • context/seo-guidelines.md
  • context/features.md
  • context/internal-links-map.md
  • context/target-keywords.md
  • context/competitor-analysis.md

Example filled context set:

  • examples/castos/

Data Integrations

Supported integrations:

  • Google Analytics 4
  • Google Search Console
  • DataForSEO
  • WordPress (draft publishing + Yoast meta fields)

Primary docs:

WordPress env vars expected by publisher:

  • WORDPRESS_URL
  • WORDPRESS_USERNAME
  • WORDPRESS_APP_PASSWORD

Project Structure

seomachine-codex/
├── .claude/                   # Commands, agents, skills
├── .github/                   # Copilot instructions
├── context/                   # Brand + SEO context
├── data_sources/              # Integrations and analysis modules
├── drafts/                    # Generated drafts
├── research/                  # Research briefs and reports
├── rewrites/                  # Updated content
├── published/                 # Finalized content
├── topics/                    # Topic ideas
├── wordpress/                 # WP plugin/snippets/docs
├── AGENTS.md                  # Codex instructions
├── AI-ASSISTANTS.md           # Shared runtime rules
├── CLAUDE.md                  # Claude Code instructions
├── GEMINI.md                  # Gemini instructions
├── QUICK-START.md
└── CODEX-QUICKSTART.md

Upstream Sync

Keep this fork up to date with upstream fixes:

git fetch upstream
git checkout main
git merge upstream/main
git push origin main

Support and Contributing

License

This project is distributed under the MIT License.
As a fork, upstream licensing and attribution are preserved.

Credits

Originally developed in the upstream project for Castos and later open-sourced for broader SEO content workflows.

About

SEO Machine fork with multi-AI assistant support (Codex/Claude/Gemini/Cursor/Windsurf/Cline/Copilot), synced with upstream bug fixes.

Topics

Resources

License

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors