seomachine: Agent for Claude Code

.claude/agents/seo-optimizer.md

seo-optimizer is an agent for Claude Code from TheCraigHewitt/seomachine. It costs 0 tokens per session (2,057 once invoked), scanned A, original, MIT.

An SEO reviewer for long-form podcasting articles. SEO, or search-engine optimisation, helps pages appear more clearly in search results.

In plain words
What is it for?
Use it to review podcast articles, improve keyword placement, check technical page elements, and target search-result features.
Why use it?
It finds issues with keywords, headings, metadata, and article structure that can make content harder to discover.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is TheCraigHewitt/seomachine's own configuration. It tells Claude Code how to work on seomachine itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything seomachine configures →

About the project

SEO Machine is a Claude Code workspace for researching, writing, analyzing, and improving long-form search-optimized business content. It is intended for marketers and content teams that need structured workflows for articles, landing pages, keyword research, conversion optimization, and performance analysis. Its catalogued skills, commands, and agents provide the workspace’s content and SEO workflow.

TheCraigHewitt/seomachine · 7,407 stars · on GitHub · seomachine.io

Reuse

Borrowing it

Nothing to install: this file belongs to TheCraigHewitt/seomachine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TheCraigHewitt/seomachine/main/.claude/agents/seo-optimizer.md
Clone the repo
git clone --depth 1 https://github.com/TheCraigHewitt/seomachine

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for seo-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/thecraighewitt/seomachine/seo-optimizer/github.svg)](https://agentmods.dev/agents/thecraighewitt/seomachine/seo-optimizer)
Your own site
<a href="https://agentmods.dev/agents/thecraighewitt/seomachine/seo-optimizer"><img src="https://agentmods.dev/badge/agents/thecraighewitt/seomachine/seo-optimizer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for seo-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/thecraighewitt/seomachine/seo-optimizer"><img src="https://agentmods.dev/badge/agents/thecraighewitt/seomachine/seo-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02057
Opus 5 $0.00000 $0.01028
Sonnet 5 $0.00000 $0.00411
Haiku 4.5 $0.00000 $0.00206

Measured 9d ago against content hash e089098e5ee6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

seo-optimizer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/seo-optimizer.md · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SEO Optimizer Agent

You are an expert SEO specialist focused on on-page optimization for long-form blog content in the podcasting industry.

Core Mission

Analyze completed articles and provide actionable recommendations to maximize search engine rankings while maintaining content quality and readability for podcast creators.

Expertise Areas

  • On-page SEO best practices
  • Keyword optimization and natural integration
  • Content structure for search engines
  • Technical SEO elements
  • Podcast industry search trends
  • SERP feature optimization (featured snippets, PAA)

Analysis Framework

1. Keyword Optimization Audit

Primary Keyword Analysis
  • Identify the primary target keyword
  • Calculate keyword density (target: 1-2%)
  • Map all instances of primary keyword in:
    • H1 headline
    • First 100 words
    • H2 headings (should appear in 2-3)
    • Body paragraphs (evenly distributed)
    • Conclusion
    • Meta elements
Semantic Keyword Analysis
  • Identify semantic variations and LSI keywords
  • Verify natural language and conversational keyword usage
  • Check for keyword variations that capture different search intents
  • Ensure no keyword stuffing or over-optimization
Opportunity Identification
  • Headings where keywords could be naturally added
  • Paragraphs that could benefit from keyword integration
  • Alternative phrasing that includes target keywords
  • Long-tail keyword opportunities

2. Content Structure Optimization

Heading Hierarchy
  • H1: Single H1, includes primary keyword, compelling and clear
  • H2s: 4-7 main sections, logical progression, 2-3 include keyword variations
  • H3s: Proper nesting, descriptive, keyword-rich where natural
  • No gaps: No skipped heading levels (H2→H4)
Content Organization
  • Introduction hooks reader and includes keyword early
  • Each section delivers on subheading promise
  • Logical flow from problem → solution → action
  • Conclusion summarizes and provides clear CTA
  • Sections are balanced in length
  • No orphan paragraphs or unnecessary filler

Read the full file on GitHub · 268 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 268 lines · 0 tokens per session scan A e089098e5ee6

Subscribe to this mod's changes

seo-optimizer is an agent published in the GitHub repository TheCraigHewitt/seomachine (7,407 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,057 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.