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 Start
- Runtime Support
- Core Workflow
- Commands
- Required Context Files
- Data Integrations
- Project Structure
- Upstream Sync
- Support and Contributing
- License
- Clone this fork:
git clone https://github.com/qwe00921/seomachine-codex.git cd seomachine-codex - Install dependencies:
pip install -r data_sources/requirements.txt
- Create environment files:
cp .env.example .env cp data_sources/config/.env.example data_sources/config/.env
- Fill required credentials in
.envanddata_sources/config/.envas needed. - Fill core context files in
context/(see Required Context Files). - Run your first workflow:
/research your topic /write your topic /optimize drafts/your-topic-YYYY-MM-DD.md
For more guided setup:
- General quick start: QUICK-START.md
- Codex-specific quick start: CODEX-QUICKSTART.md
| 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.
/research [topic]-> keyword + SERP research brief inresearch//write [topic]-> article draft indrafts//optimize [draft-file]-> optimization report indrafts//publish-draft [draft-file]-> publish draft to WordPress (optional)
/analyze-existing [url-or-file]/rewrite [topic-or-analysis]/optimize [rewrite-file]
/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-serp [keyword]/research-gaps/research-trending/research-performance/research-topics
/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/
Fill these before serious content generation:
context/brand-voice.mdcontext/writing-examples.mdcontext/style-guide.mdcontext/seo-guidelines.mdcontext/features.mdcontext/internal-links-map.mdcontext/target-keywords.mdcontext/competitor-analysis.md
Example filled context set:
examples/castos/
Supported integrations:
- Google Analytics 4
- Google Search Console
- DataForSEO
- WordPress (draft publishing + Yoast meta fields)
Primary docs:
- Analytics/data setup: data_sources/README.md
- Additional setup guide: data-sources-setup.md
- WordPress setup: wordpress/README.md
WordPress env vars expected by publisher:
WORDPRESS_URLWORDPRESS_USERNAMEWORDPRESS_APP_PASSWORD
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
Keep this fork up to date with upstream fixes:
git fetch upstream
git checkout main
git merge upstream/main
git push origin main- Fork issues: qwe00921/seomachine-codex issues
- Upstream issues: TheCraigHewitt/seomachine issues
- Contribution guide: CONTRIBUTING.md
This project is distributed under the MIT License.
As a fork, upstream licensing and attribution are preserved.
Originally developed in the upstream project for Castos and later open-sourced for broader SEO content workflows.