seomachine: Command for Claude Code

.claude/commands/priorities.md

priorities is a command for Claude Code from TheCraigHewitt/seomachine. It costs 0 tokens per session (1,453 once invoked), scanned A, original, MIT.

A command that creates a prioritized content plan from search rankings, competitor gaps, site performance, topic clusters, and rising trends. Topic clusters are related groups of subjects used to organize content around a theme.

In plain words
What is it for?
Use it to find quick ranking improvements, missing competitor topics, weak content, new subject areas, and emerging search opportunities.
Why use it?
It turns several search and analytics reports into one ordered list of content opportunities instead of requiring separate manual analysis.

Command 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,425 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/commands/priorities.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 priorities

README.md
[![agentmods](https://agentmods.dev/badge/commands/thecraighewitt/seomachine/priorities/github.svg)](https://agentmods.dev/commands/thecraighewitt/seomachine/priorities)
Your own site
<a href="https://agentmods.dev/commands/thecraighewitt/seomachine/priorities"><img src="https://agentmods.dev/badge/commands/thecraighewitt/seomachine/priorities/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 priorities

Your own site · 80×15
<a href="https://agentmods.dev/commands/thecraighewitt/seomachine/priorities"><img src="https://agentmods.dev/badge/commands/thecraighewitt/seomachine/priorities.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 1,453 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.01453
Opus 5 $0.00000 $0.00727
Sonnet 5 $0.00000 $0.00291
Haiku 4.5 $0.00000 $0.00145

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

Security

Grade A, and why

priorities 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 10d 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/commands/priorities.md · 183 lines

How it starts

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

Priorities Command

Generate a comprehensive, prioritized content roadmap using multiple SEO research angles.

Usage

/priorities - Comprehensive research (all modules, ~10 minutes) /priorities quick - Quick wins only (fast, ~2 minutes)

What This Command Does

Comprehensive Mode (Default)

Runs 5 research modules to provide complete content strategy:

  1. Quick Wins - Keywords ranking 11-20 (page 2)
  2. Competitor Gaps - What competitors rank for that you don't
  3. Performance Matrix - Categorize all content by health
  4. Topic Clusters - Identify topical authority gaps
  5. Trending Topics - Rising search trends

Generates unified roadmap combining all insights.

Quick Mode

Runs quick wins analysis only - fast turnaround for immediate opportunities.

Process

1. Execute Quick Wins Research

Run the research_quick_wins.py script:

python research_quick_wins.py

This will:

  • Pull 30 days of data from Google Search Console
  • Find keywords ranking positions 11-20 (quick win opportunities)
  • Cross-reference with DataForSEO for rankings and search volume
  • Pull engagement metrics from Google Analytics 4
  • Calculate opportunity scores based on impressions, position, commercial intent
  • Generate detailed report in research/quick-wins-YYYY-MM-DD.md

2. Read and Parse Results

  • Read the generated markdown report
  • Extract the top opportunities with highest opportunity scores
  • Identify which URLs are already ranking (existing content to update)
  • Identify keywords without ranking URLs (new content needed)

3. Categorize Opportunities

For each of the top 10 opportunities, categorize as:

EXISTING CONTENT UPDATE:

  • Has a ranking URL on your site
  • Content exists but needs optimization to move from page 2 to page 1
  • Provide current ranking URL
  • Estimate: Moderate effort, high impact

NEW CONTENT CREATION:

  • No ranking URL found OR ranking position too low
  • Need to create comprehensive content targeting this keyword
  • Opportunity to capture search volume
  • Estimate: High effort, high impact

Read the full file on GitHub · 183 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. 10d ago First seen · 183 lines · 0 tokens per session scan A bd89b11bdf63

Subscribe to this mod's changes

priorities is a command published in the GitHub repository TheCraigHewitt/seomachine (7,425 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,453 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.