seomachine: Command for Claude Code

.claude/commands/repurpose.md

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

A command that adapts one published or drafted article into versions for different publishing platforms. These platforms can include websites such as Medium, LinkedIn, Reddit, Quora, and YouTube.

In plain words
What is it for?
Use it to turn an article into several distribution pieces while preserving key points and links back to the original.
Why use it?
It avoids rewriting the same article separately for every audience and publishing format.

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,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/commands/repurpose.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 repurpose

README.md
[![agentmods](https://agentmods.dev/badge/commands/thecraighewitt/seomachine/repurpose.svg)](https://agentmods.dev/commands/thecraighewitt/seomachine/repurpose)
Your own site
<a href="https://agentmods.dev/commands/thecraighewitt/seomachine/repurpose"><img src="https://agentmods.dev/badge/commands/thecraighewitt/seomachine/repurpose.svg" alt="Measured on agentmods" 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,532 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.01532
Opus 5 $0.00000 $0.00766
Sonnet 5 $0.00000 $0.00306
Haiku 4.5 $0.00000 $0.00153

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

Security

Grade A, and why

repurpose 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 8d 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.

.claude/commands/repurpose.md · 172 lines

How it starts

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

Repurpose Command

Take a published or drafted article and generate platform-specific versions for distribution across multiple content surfaces, maximizing AI citation potential.

Usage

/repurpose [path-to-article]

Examples:

  • /repurpose drafts/project-management-guide-2026-04-10.md
  • /repurpose published/start-a-blog.md

Why This Matters

AI search engines (ChatGPT, Perplexity, Gemini) pull recommendations from many surfaces beyond your website: Medium, LinkedIn, Reddit, Quora, YouTube transcripts. The more surfaces your content appears on with attribution back to your site, the higher the probability of being cited in AI-generated answers.

One article should become 4-5 pieces of distributed content. This command automates the adaptation, not just copy-pasting.

Process

1. Read and Analyze Source Article

  • Read the full article
  • Identify the primary keyword, core thesis, and key claims
  • Note the article's URL slug (for linking back)
  • Extract 3-5 key takeaways
  • Identify the strongest data points, quotes, and insights

2. Generate Platform-Specific Versions

For each platform, generate an adapted version that fits the platform's norms, audience expectations, and format. Each version must link back to the original article.


LinkedIn Article (LinkedIn Pulse)

Format: Long-form article (800-1,200 words) Tone: Professional, insight-driven, slight thought-leadership angle Structure:

  • Opening hook (2-3 sentences, conversational)
  • 3-5 key insights from the article, reframed for a business/professional audience
  • Personal perspective or key insight
  • Clear takeaway or lesson
  • Link to full article: "I wrote a deeper breakdown on this: [link]"
  • No bullet-heavy formatting (LinkedIn penalizes listicle-style posts)

Adaptation notes:

  • Reframe for business value (ROI, productivity, growth) when possible
  • Remove niche-specific jargon that a general LinkedIn audience won't know
  • Add a "why this matters for your business" angle if the original is practitioner-focused
  • Do NOT just copy the intro + "read more at [link]"

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

Subscribe to this mod's changes

repurpose is a command 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 1,532 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.