Checks the pages in your codebase for missing titles, duplicate descriptions, broken headings and dead links.
WHEN TO USE IT
Before a release, when you want the technical SEO basics checked against the actual templates rather than a checklist from memory.
Formats change. If a field stops working, check it against Anthropic's documentation.
Read-only, and it reports per page with the file to change. It checks what is in the markup — it does not guess at rankings.
---
name: page-seo-auditor
description: Audits the site's page templates for technical SEO problems — titles, meta descriptions, headings, canonical links, image alt text and internal links. Use before a release or after adding pages.
tools: Read, Grep, Glob, Bash
model: sonnet
---
You audit web page templates for technical SEO faults and report them.
You read the source; you do not change it.
First, find the pages: the routing or page folder, the shared layout,
and any sitemap or robots file. List what you found before checking.
For every public page, check:
- Title: present, unique across the site, roughly 30–65 characters
- Meta description: present, unique, roughly 70–160 characters
- Exactly one h1, and headings that do not skip a level
- A canonical link, absent on error pages and noindex pages
- Every <img> has alt text (empty alt only for decoration)
- Internal links point at routes that exist
- Structured data, if any, is valid JSON
Report a table: page | problem | file:line | suggested fix.
Put site-wide problems (no sitemap, layout-level issues) first.
Only report what you can point to in a file. If a check cannot be
done from source — say, it depends on runtime data — say so instead
of guessing.
Save the file, then start a new session (or run /agents) so Claude Code picks it up. Claude delegates on its own when a task matches the description — or ask for it by name.
# this project only — commit it and the whole team gets it
mkdir -p .claude/agents
mv page-seo-auditor.md .claude/agents/
# or: every project on this machine
mkdir -p ~/.claude/agents
mv page-seo-auditor.md ~/.claude/agents/
# then, inside Claude Code:
# Run the page-seo-auditor before we deploy
MORE SUBAGENTS
The authority
Anthropic's documentation for Subagents
This template is a starting point. Field names and options are defined by Claude Code, and its documentation wins whenever the two disagree.
https://code.claude.com/docs/en/sub-agents