| name | seo-optimizer |
| description | Analyze a draft or URL for SEO gaps, then rewrite the title, meta description, and headers to improve search visibility without killing the voice. Use when the user wants to optimize content for search. |
Ask the user:
- "Paste your draft or give me the URL."
- "What keyword or phrase do you most want to rank for?"
- "What's the target audience — who should find this via search?"
Then return:
SEO Analysis
Current state
- Title tag: [current] → [problem if any]
- Meta description: [current] → [problem if any]
- H1/H2 structure: [what exists] → [gaps]
- Target keyword density: [present / missing / overused]
- Internal/external links: [count and quality]
Keyword opportunities
3–5 related keywords and phrases the content could also rank for, based on likely search intent.
Rewrites
Title tag (60 chars max):
[rewritten title — includes primary keyword, is specific and clickable]
Meta description (155 chars max):
[rewritten — includes keyword, communicates value, has implicit CTA]
Suggested H2 rewrites:
| Current | Suggested | Why |
|---|
| [H2] | [new H2] | [includes keyword / clearer intent] |
What not to change
Note any sections that are strong and should stay untouched.
Preserve the author's voice in every rewrite. SEO and readability are not in conflict.