Analyze and optimize text for search engines. Execute Python script for detailed SEO analysis. Use when optimizing for keywords, search visibility, or content structure.
I analyze text for search engine optimization and provide actionable recommendations.
When analyzing SEO performance, execute the SEO optimizer script:
python /home/ywatanabe/dev/agent-patterns/.claude/skills/seo-optimizer/run.py "text to analyze"
The script returns JSON results with keyword analysis, SEO score, and optimization recommendations.
Activate when user requests:
Provide structured SEO report:
Keyword Analysis:
Content Structure:
On-Page SEO:
Content Quality:
Recommendations (prioritized):
Input: "Machine Learning Guide
Machine learning is cool. It uses computers to learn stuff. There are different types. Supervised learning is one type. Unsupervised is another."
Output:
Keyword Analysis:
- Primary keyword: "machine learning" (detected)
- Keyword density: 2.8% (Too low for competitive term)
- Keyword placement: โ
In title, โ Not in first paragraph
- Secondary keywords: Missing ("AI", "algorithms", "training data", "neural networks")
- Opportunities: Add "machine learning guide", "ML tutorial", "beginner machine learning"
Content Structure:
- Heading hierarchy: โ Missing H2/H3 subheadings
- Content length: 28 words (โ Far too short - aim for 800+ words)
- Paragraph structure: โ Single paragraph, no organization
- Scanability: โ Poor - no lists, bullets, or sections
On-Page SEO:
- Title: "Machine Learning Guide" (Too generic)
Suggested: "Machine Learning for Beginners: Complete Guide 2024"
- Meta description: (Missing)
Suggested: "Learn machine learning basics with our beginner-friendly guide. Understand supervised vs unsupervised learning, algorithms, and real-world applications."
- URL: Suggest "/machine-learning-guide-beginners"
- Internal links: Add links to related ML topics
Content Quality:
- Topic depth: โ Very shallow - needs comprehensive coverage
- Search intent: Informational, but underdeveloped
- Unique value: โ Generic information, no unique insights
- E-A-T signals: โ Missing (no author credentials, sources, or depth)
High Priority Recommendations:
1. **Expand content to 1000+ words**
- Add sections: "What is Machine Learning?", "Types of ML", "How It Works", "Applications", "Getting Started"
2. **Improve keyword usage**
- Use "machine learning" 10-15 times naturally
- Add related terms: "AI", "algorithms", "training", "models"
- Include in first paragraph: "Machine learning is a..."
3. **Add proper structure**
- Create H2 sections for main topics
- Use H3 for subsections
- Add bullet points for key concepts
- Include examples and use cases
4. **Enhance E-A-T**
- Add author bio with credentials
- Cite authoritative sources
- Include case studies or research
- Add "Last updated: [date]"
5. **Optimize technical elements**
- Title tag with primary keyword + year
- Meta description highlighting unique value
- Add schema markup (Article or HowTo)