5 Claude Code Prompts for SEO Content

Published Aug 5, 2026

The repetitive 80% of SEO work — meta tags, linking, formatting — is exactly the kind of mechanical task that eats real time and doesn't need to. Five real prompts, copy and fill in the bracketed part.

Prompt 1

Meta Title & Description Pass

Review the meta title and description on [file/page]. Title should be under 60 characters, description under 160. Flag anything over the limit and suggest a replacement that keeps the actual meaning.

When to use it: after writing new content, or auditing a batch of existing pages for length overages.

Prompt 2

Internal Linking Audit

Look at [page/section] and suggest 3-5 genuinely relevant internal links to other pages in this project, based on what those pages actually cover — not just keyword matching.

When to use it: new content that's currently under-linked, or a periodic pass to strengthen weak spots in site structure.

Prompt 3

Content Audit for Duplication

Compare [page A] and [page B] — do they target overlapping keywords or cover substantially the same ground? If so, tell me honestly whether they should be merged, differentiated, or left as-is.

When to use it: before publishing a new article, to catch cannibalization against something that already exists.

Prompt 4

Alt Text Pass

Check every image in [file] for alt text. Flag missing or generic alt text ("image1.jpg") and suggest a real, specific description for each based on what the image actually shows.

When to use it: accessibility and image-SEO cleanup on a page you didn't originally build with alt text in mind.

Prompt 5

Broken Link Sweep

Scan [file/directory] for internal links and check whether each target actually exists in this project. List anything broken, and suggest the closest real match if one exists.

When to use it: before a deploy, or after renaming/moving pages — catches the exact class of bug that's easy to miss by eye.

New to Claude Code? Start With the Fundamentals

The free guide covers reading a diff and directing tasks clearly — the habits that make prompts like these actually reliable.

Get the Free Guide →

Frequently Asked Questions

Does this replace an SEO strategy?

No — these speed up the repetitive execution work. Keyword strategy, site architecture, and what to actually write about still need a person deciding, the same way reviewing a code diff does.

Can Claude Code actually check character counts for meta tags?

Yes — give it the limit explicitly in the prompt and ask it to state the count, rather than assuming it tracked length silently.

Will this find every broken link on a large site?

For a small site, yes, in one pass. For a large site, a dedicated crawl-based audit tool is more reliable than reading files individually — use these prompts for spot checks and smaller sites.