Skip to main content
SEO Machine provides custom commands that orchestrate complete SEO content workflows. Each command is designed for a specific phase of the content lifecycle.

Core Content Commands

/research

Comprehensive keyword and competitive research before writing

/write

Create 2000-3000+ word SEO-optimized articles

/rewrite

Update and improve existing content

/optimize

Final SEO polish before publishing

Analysis & Publishing

/analyze-existing

Audit existing posts for improvement opportunities

/publish-draft

Publish to WordPress with Yoast SEO metadata

Additional Commands

Article Command

The /article command provides a unified content creation pipeline with mandatory research:
/article "Best Project Management Tools for Small Teams"
4-Step Pipeline:
  1. SERP Analysis - Analyze top 5 ranking articles for gaps and opportunities
  2. Social Research - Mine Reddit threads and YouTube videos for unique insights
  3. Article Planning - Create section-by-section strategy with engagement hooks
  4. Section Writing - Write and edit each section individually for consistent quality
When to use:
  • Comprehensive new articles on competitive topics
  • Topics where you need to beat existing content
  • Content requiring deep research and differentiation
Output: Research files in research/, final article in drafts/ See the complete /article workflow for detailed steps.

Scrub Command

The /scrub command removes AI-generated watermarks and telltale patterns:
/scrub drafts/article-2025-03-04.md
What it removes:
  • Invisible Unicode watermarks (zero-width spaces, BOM characters)
  • AI detection patterns (excessive em-dash usage)
  • Whitespace and formatting artifacts
When to use:
  • Before publishing content to remove AI fingerprints
  • When content needs to appear naturally human-written
Note: /write and /rewrite automatically invoke /scrub, so manual use is rarely needed.

Command Structure

All commands follow this pattern:
/command-name [input] [--flags]

Input Types

Commands accept different input types:
  • Topic string: /research content marketing strategies
  • File path: /optimize drafts/article-2025-03-04.md
  • URL: /analyze-existing https://yoursite.com/blog/post

Output Locations

Each command saves its output to specific directories:
CommandOutput DirectoryFile Pattern
/researchresearch/brief-[topic]-[date].md
/writedrafts/[topic]-[date].md
/rewriterewrites/[topic]-rewrite-[date].md
/optimizedrafts/optimization-report-[topic]-[date].md
/analyze-existingresearch/analysis-[topic]-[date].md
/publish-draftWordPressDraft post via REST API

Typical Workflows

Creating New Content

  1. Research the topic: /research [topic]
  2. Write the article: /write [topic]
  3. Optimize for SEO: /optimize drafts/[file].md
  4. Publish to WordPress: /publish-draft drafts/[file].md

Updating Existing Content

  1. Analyze current post: /analyze-existing [URL]
  2. Rewrite content: /rewrite [topic]
  3. Optimize: /optimize rewrites/[file].md
  4. Publish: /publish-draft rewrites/[file].md

Agent Auto-Execution

Many commands automatically trigger specialized agents after completion:

After /write

These agents run automatically:
  • SEO Optimizer - On-page SEO recommendations
  • Meta Creator - Multiple meta title/description options
  • Internal Linker - Internal linking suggestions
  • Keyword Mapper - Keyword placement analysis
  • Content Analyzer - Search intent, readability, quality scoring

After /optimize

Final pass from all agents:
  • All agents from /write re-run for final validation
  • Publishing readiness assessment
  • Priority fixes identified

Quality Standards

All commands enforce these standards:
  • Minimum 2000 words (2500-3000+ preferred)
  • Proper H1/H2/H3 hierarchy
  • 2-3 mini-stories with specific details
  • 2-3 contextual CTAs throughout
  • Compelling hook (no generic openings)
  • Primary keyword density 1-2%
  • Keyword in H1, first 100 words, 2-3 H2s
  • 3-5+ internal links
  • 2-3 external authority links
  • Meta title 50-60 characters
  • Meta description 150-160 characters
  • 8th-10th grade reading level
  • Average sentence length 15-20 words
  • Paragraphs 2-4 sentences max
  • Subheadings every 300-400 words
  • Varied sentence rhythm

Advanced Features

Automatic Content Scrubbing

/write and /rewrite automatically invoke /scrub to remove:
  • Invisible Unicode watermarks
  • AI detection patterns (em-dash overuse)
  • Format-control characters

Quality Loop

Articles are automatically scored (0-100) across 5 dimensions:
  1. Humanity/Voice (30%) - No AI phrases, use contractions
  2. Specificity (25%) - Concrete examples, numbers, names
  3. Structure Balance (20%) - 40-70% prose (not all lists)
  4. SEO Compliance (15%) - Keywords, meta, structure
  5. Readability (10%) - Flesch 60-70, grade 8-10
Articles scoring less than 70 go to review-required/ with notes.

Next Steps

Research Command

Learn how to conduct comprehensive keyword research

Write Command

Create long-form SEO-optimized content

Build docs developers (and LLMs) love