AI SEO Skills
AI SEO Skills are powerful automation tools for Claude Code that help you optimize your website for search engines
SEO Keyword Density
SEO keyword density optimization and page audit skill. Automatically analyzes page content, optimizes keyword density to 3-5%, ensures rich content (800-1000 words), and performs comprehensive SEO audit checks.
View on GitHubCreate the skill directory
mkdir -p ~/.claude/skills/seo-keyword-densityCreate SKILL.md file with the following content
---
name: seo-keyword-density
description: |
SEO keyword density optimization and page audit skill. Use cases:
(1) User provides page path and keywords for SEO optimization
(2) User wants to improve keyword density on a page
(3) User requests search engine ranking optimization
(4) User needs SEO audit (meta tags, OG, hreflang, etc.)
Triggers: keyword density, SEO optimization, SEO audit, SEO check
---
# SEO Keyword Density Optimization & Page Audit
Optimize page keyword density to 5%, ensure rich content (800-1000 words), and perform comprehensive SEO audit checks to improve search engine rankings.
## Core Goals
| Metric | Target | Description |
|--------|--------|-------------|
| **Word Count** | 800-1000 words | Content-rich pages rank better |
| **Keyword Density** | 3-5% | Natural integration, avoid stuffing |
| **SEO Audit** | 10/10 | Full technical SEO compliance |
## Input Parameters
- **Page Path**: Page component path or translation JSON file path
- **Keywords**: Target SEO keywords (multiple supported, comma-separated)
## Workflow
### 1. Collect Page Text
Based on page path, collect all relevant text content:
**For TSX/JSX page components**:
- Extract static text from JSX
- Extract translation keys from `t()` or `useTranslations` calls
- Find corresponding translation JSON files
**For translation JSON files**:
- Read all text values
- Ignore key names, only count values
### 2. Calculate Current Density
```
Keyword Density = (Keyword Occurrences / Total Words) × 100%
```
**Word counting rules**:
- English: Split by spaces
- Chinese: Count by characters
### 3. Check Page Content Volume
**Target word count: 800-1000 words**
| Status | Word Count | Action |
|--------|------------|--------|
| ❌ Insufficient | < 500 | Major content expansion needed |
| ⚠️ Low | 500-799 | Add 200-300 words |
| ✅ Ideal | 800-1000 | Maintain current state |
| ✅ Rich | > 1000 | Acceptable, watch readability |
### 4. Calculate Keyword Target Increment
```
Target Occurrences = Total Words × 5% = Total Words × 0.05
Needed Additions = Target Occurrences - Current Occurrences
```
### 5. Optimization Strategy
Execute optimizations by priority:
**A. Natural integration into existing text (Priority)**
**B. Enhance description text**
**C. Add new content sections**
### 6. Optimization Principles
1. **Stay Natural**: Keywords must read naturally, avoid stuffing
2. **Semantic Relevance**: Only add keywords in semantically relevant places
3. **Even Distribution**: Keywords should be evenly distributed
4. **Avoid Excess**: Max 1-2 keywords per sentence
5. **Use Variants**: Use keyword variants (plurals, synonyms)
6. **Content Depth**: Prioritize adding valuable content to reach word count
---
## SEO Audit Checklist
| # | Check Item | Requirement | Method |
|---|------------|-------------|--------|
| 1 | **Content Volume** | 800-1000 words | Count visible text words |
| 2 | **Canonical URL** | Set and pointing correctly | Check `<link rel="canonical">` |
| 3 | **Meta Title** | 40-60 chars, include keywords | Check `<title>` |
| 4 | **Meta Description** | 120-160 chars | Check `<meta name="description">` |
| 5 | **H1 Tag** | Exists and unique | Page should have only one H1 |
| 6 | **H2/H3 Hierarchy** | Proper structure | H3 only under H2 |
| 7 | **Image Alt Text** | All images have alt | Check `<img alt="">` |
| 8 | **Open Graph** | og:title, og:description, og:image | Check `<meta property="og:*">` |
| 9 | **Twitter Card** | twitter:card, twitter:title | Check `<meta name="twitter:*">` |
| 10 | **Hreflang** | All language versions | Check `<link rel="alternate" hreflang="">` |
| 11 | **Indexability** | No noindex | Check robots settings |Usage
After installation, simply use trigger words in Claude Code to activate this skill. Just tell Claude which page you want to optimize for SEO and provide target keywords.
Optimize the /pricing page for SEO, keyword: domain rankCheck keyword density of src/app/page.tsx, target keyword: SEO toolRun SEO audit on the /blog pageIncrease homepage keyword density to 5%What are AI SEO Skills?
AI SEO Skills are specialized automation tools designed for Claude Code that help website owners, developers, and SEO professionals optimize their web pages for search engines. These AI SEO Skills leverage advanced natural language processing to analyze your content, identify optimization opportunities, and implement SEO best practices automatically.
With AI SEO Skills, you can perform comprehensive SEO audits, optimize keyword density, improve meta tags, and ensure your pages follow technical SEO guidelines. Each AI SEO Skill is crafted to address specific SEO challenges, from on-page optimization to content analysis.
Why Use AI SEO Skills for Your Website?
- Automated SEO Analysis - AI SEO Skills automatically scan your pages and identify SEO issues that need attention
- Keyword Optimization - Achieve optimal keyword density (3-5%) without manual counting or guesswork
- Technical SEO Compliance - Ensure your pages have proper meta tags, canonical URLs, Open Graph tags, and more
- Content Quality - AI SEO Skills help you reach the ideal content length (800-1000 words) for better rankings
Getting started with AI SEO Skills is simple. Install the skill in your Claude Code environment, then use natural language commands to trigger SEO optimizations. Whether you need to audit a single page or optimize an entire website, AI SEO Skills provide the automation you need to improve your search engine rankings.
Frequently Asked Questions about AI SEO Skills
What is the difference between AI SEO Skills and traditional SEO tools?
AI SEO Skills are integrated directly into your development workflow through Claude Code, allowing you to optimize content as you write it. Unlike traditional SEO tools that require separate dashboards, AI SEO Skills work within your code editor and can automatically apply optimizations to your source files.
How do AI SEO Skills calculate keyword density?
AI SEO Skills analyze all visible text content on your page, including headings, paragraphs, and meta descriptions. The keyword density is calculated as (keyword occurrences / total words) × 100%. AI SEO Skills target a density of 3-5% for optimal search engine performance without keyword stuffing.
Can AI SEO Skills help with technical SEO?
Yes, AI SEO Skills include comprehensive technical SEO audits. They check for canonical URLs, meta tags, Open Graph tags, Twitter Cards, heading hierarchy, image alt text, and indexability settings. AI SEO Skills provide actionable recommendations and can automatically fix many technical SEO issues.
Are AI SEO Skills free to use?
Yes, all AI SEO Skills listed on this page are free to install and use with Claude Code. Simply follow the installation instructions above to add AI SEO Skills to your development environment and start optimizing your website for search engines.
