Overview
The AI Niche Keyword Gap and Content Opportunity Mapper is a production-ready SEO automation skill that identifies untapped content opportunities in your niche by analyzing competitor keyword rankings and content strategies. This skill compares your site against the top 20 competitors, discovers high-intent keywords with low competition, and generates 50+ ranked content ideas with actionable metrics.
Why This Matters
Most SEO strategies rely on generic keyword tools. This skill goes deeper—it finds the gaps where competitors haven't published content for valuable search queries. By analyzing search volume, cost-per-click (CPC), keyword difficulty, and backlink opportunities, you can prioritize content that drives both traffic and revenue.
Key Integrations
- Google Search Console — pulls your current keyword rankings and impressions
- Semrush API — competitor keyword analysis, backlink data, content gaps
- Ahrefs API — domain authority scoring, URL-level authority metrics
- WordPress — direct content planning integration with editorial calendar
- Slack — automated daily/weekly opportunity reports to your team
- Google Sheets — exports ranked keyword opportunities for collaboration
Quick Start
Try these prompts immediately to see the skill in action:
Example 1: Basic Niche Analysis
Analyze keyword gaps for my SaaS project management niche.
My domain: projectflow.io
Top competitors: asana.com, monday.com, notion.so, jira.atlassian.com, clickup.com
Focus on: "project management for remote teams", "agile software", "task management"
Example 2: E-Commerce Competitive Analysis
Find content opportunities in the "sustainable fashion" niche.
My site: ecothread.shop
Competitors: patagonia.com, everlane.com, reformation.com, allbirds.com, veja.com
Include: backlink opportunities, content gap analysis, CPC estimates
Output format: ranked by search volume and commercial intent
Example 3: Local Service Business
Map keyword gaps for a digital marketing agency in Austin, Texas.
My domain: austindigitalco.com
Competitors: wistia.com, hubspot.com, mailchimp.com (national), plus 5 local agencies
Focus on: local intent keywords, service-based content, case study opportunities
Prioritize: keywords with 100-500 monthly searches and low difficulty
Capabilities
1. Competitor Keyword Analysis
- Scrapes top 20 competitors across your niche using Semrush and Ahrefs
- Extracts 2,000+ ranked keywords per competitor with monthly search volume, difficulty, and CPC
- Identifies overlapping keywords where you rank but competitors don't, and vice versa
- Maps keyword clusters (e.g., "project management" cluster includes "task tracking," "team collaboration," "sprint planning")
2. Content Gap Discovery
- Finds high-intent keywords (commercial, transactional, informational) with <40 difficulty score that competitors haven't targeted
- Analyzes competitor content for each keyword (article length, publish date, engagement metrics)
- Scores feasibility — can you realistically rank for this keyword given your domain authority?
- Prioritizes by ROI potential — search volume × CPC × ranking difficulty
3. Content Opportunity Generation
- Generates 50+ specific content ideas ranked by search volume, CPC, and feasibility
- Suggests content types — blog posts, pillar pages, comparison guides, case studies, tutorials
- Recommends target URLs — where to publish on your site for optimal internal linking
- Includes semantic keywords — LSI keywords and related search terms to naturally incorporate
4. Competitive URL Analysis
- Identifies which competitor URLs rank for each opportunity keyword
- Extracts on-page SEO metrics — title tags, meta descriptions, H1/H2 structure, word count, backlink count
- Scores content quality — readability, multimedia usage, freshness, authority signals
- Reveals backlink sources — where competitors get links from for ranking authority
5. Backlink Opportunity Scoring
- Maps backlink profiles for top-ranking URLs in your niche
- Identifies link sources — industry publications, resource pages, directories, guest posting opportunities
- Scores link quality — domain authority, relevance, traffic potential
- Suggests outreach targets — where to pitch your content for maximum link velocity
Configuration
Required Environment Variables
# Semrush API credentials (for competitor keyword & content analysis)
SEMRUSH_API_KEY=your_semrush_api_key_here
# Ahrefs API credentials (for backlink and domain authority data)
AHREFS_API_KEY=your_ahrefs_api_key_here
# Google Search Console API (for your site's current rankings)
GOOGLE_SEARCH_CONSOLE_KEY=your_gsc_json_key_here
GOOGLE_PROPERTY_URL=https://yoursite.com
# Optional: Slack webhook for automated reports
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
# Optional: WordPress integration for content calendar
WORDPRESS_API_URL=https://yoursite.com/wp-json
WORDPRESS_API_TOKEN=your_bearer_token
Configuration Options
analysis_depth: "comprehensive" # Options: quick, standard, comprehensive
competitor_count: 20 # Number of competitors to analyze (5-50)
keyword_volume_min: 50 # Minimum monthly searches to include
keyword_difficulty_max: 50 # Maximum difficulty score (0-100)
content_idea_count: 50 # Number of opportunities to generate
include_backlink_analysis: true # Enable backlink opportunity scoring
output_format: "json" # Options: json, csv, markdown, google_sheets
auto_slack_report: false # Send weekly summary to Slack
Example Outputs
Content Opportunity Report (Top 10 Ideas)
{
"niche": "Project Management for Remote Teams",
"analysis_date": "2024-01-15",
"total_opportunities": 52,
"top_opportunities": [
{
"rank": 1,
"keyword": "best project management tools for remote teams",
"search_volume": 2400,
"search_trend": "rising",
"keyword_difficulty": 28,
"cpc": "$3.20",
"commercial_intent": "high",
"content_type": "comparison guide",
"target_url": "/blog/best-pm-tools-remote-teams",
"estimated_monthly_traffic": 180,
"ranking_feasibility": "high",
"competitor_content": {
"top_ranking_url": "asana.com/templates/remote-team-management",
"current_rank": 2,
"content_length": 2400,
"publish_date": "2023-06-15",
"backlinks": 145
},
"backlink_opportunities": [
{
"source": "techcrunch.com",
"domain_authority": 92,
"traffic_potential": "high",
"relevance_score": 0.92
}
],
"semantic_keywords": [
"remote work collaboration tools",
"asynchronous project management",
"distributed team software"
]
},
{
"rank": 2,
"keyword": "asynchronous communication tools for remote teams",
"search_volume": 890,
"keyword_difficulty": 22,
"cpc": "$2.15",
"commercial_intent": "medium",
"content_type": "pillar page + 3 cluster articles",
"estimated_monthly_traffic": 95,
"ranking_feasibility": "very_high"
}
],
"gap_analysis": {
"keywords_you_rank_for": 342,
"keywords_competitors_rank_for": 1850,
"unique_competitor_keywords": 1508,
"exploitable_gaps": 47,
"low_competition_high_volume": 12
}
}
Competitor Content Gap Matrix
| Keyword |
Vol |
Diff |
CPC |
You |
Asana |
Monday |
Notion |
Jira |
Opportunity |
| project management remote teams |
2400 |
28 |
$3.20 |
— |
#2 |
#5 |
#8 |
— |
HIGH |
| free project management tools |
1800 |
35 |
$2.50 |
#12 |
#1 |
#3 |
— |
#2 |
MEDIUM |
| project tracking software |
1200 |
22 |
$4.10 |
— |
#4 |
#6 |
#9 |
#1 |
HIGH |
| task management for teams |
950 |
18 |
$2.80 |
#15 |
#2 |
#1 |
#4 |
— |
LOW |
Tips & Best Practices
1. Niche Selection is Critical
- Be specific: "Project management" is too broad. "Project management for remote SaaS teams" is ideal.
- Use long-tail keywords: Focus on 3-5 word phrases where you can realistically rank.
- Validate market demand: Ensure your chosen keywords have 100+ monthly searches and actual commercial intent.
2. Prioritize by Feasibility Score
- Quick wins: Keywords with difficulty <25 and your domain authority within 5 points of top-ranking competitors
- Medium-term goals: Keywords 25-40 difficulty; requires 4-8 weeks of content + link building
- Long-term plays: Keywords >40 difficulty; invest only if search volume justifies 6+ month effort
3. Content Cluster Strategy
- Create pillar pages for broad keywords (e.g., "Project Management Tools")
- Add cluster content for specific long-tail variations (e.g., "Best PM Tools for Startups," "PM Tools for Nonprofits")
- Internal link strategically: Pillar → Cluster → Pillar creates topical authority
4. Backlink Leverage
- Prioritize content where you've identified 5+ high-quality backlink sources
- Reach out proactively: Use the identified backlink opportunities to pitch your superior content
- Create link-worthy assets: Original research, data visualizations, and case studies earn links naturally
5. Timing & Trend Analysis
- Watch search trends: Keywords marked "rising" often indicate emerging opportunities
- Publish strategically: Publish when competitors' content is >6 months old (signals freshness to Google)
- Update competitor content: Improve on existing ranking content with newer data, better structure, multimedia
6. Validation Before Publishing
- Verify search intent: Read top 10 ranking results to ensure your content angle matches user expectations
- Check SERP features: Are there featured snippets, People Also Ask, or video results? Optimize for these
- Analyze backlink profiles: Ensure you can realistically build links for this keyword
Safety & Guardrails
What This Skill Will NOT Do
- Does not guarantee rankings: Keyword research is one component of SEO success. Content quality, link building, and technical SEO are equally critical.
- Does not automatically publish content: All recommendations require human review, editing, and strategic approval before publication.
- Does not scrape competitor sites directly: Uses only legitimate APIs (Semrush, Ahrefs, Google Search Console). Respects robots.txt and terms of service.
- Does not create content: Generates outlines, keyword clusters, and opportunity lists. You must create original, valuable content.
- Does not perform black-hat SEO: Will not recommend keyword stuffing, cloaking, private link networks, or other Google-violating tactics.
Limitations & Boundaries
- API rate limits: Semrush and Ahrefs have monthly query limits. Comprehensive analysis of 20+ competitors may require higher-tier API plans.
- Data freshness: Competitor keyword data updates weekly (not real-time). Recent ranking changes may not be reflected immediately.
- Local SEO limitations: Works best for national/international niches. Local SEO requires additional Google Maps and local citation analysis.
- Niche maturity: Works best in established niches with 50+ competitors. Emerging niches have limited comparative data.
- Language support: Currently optimized for English. Other languages require manual configuration.
Ethical Considerations
- Respect competitor intellectual property: Use competitive insights to inform strategy, not to copy content.
- Create original value: Every piece of content should provide unique insights, data, or perspectives beyond what competitors offer.
- Transparent sourcing: Cite competitor data and research appropriately; don't plagiarize.
Troubleshooting
Common Issues & Solutions
Issue: "API Key Invalid" or "Authentication Failed"
Solution:
- Verify API keys are correctly set in your environment variables
- Check that API keys have appropriate permissions/scopes enabled
- For Google Search Console, ensure the service account has "Read" access to your property
- Test API connectivity:
curl -H "Authorization: Bearer YOUR_KEY" https://api.semrush.com/v3/
Issue: "No Data Returned" for Competitors
Solution:
- Ensure competitor domains are valid and indexed by Semrush/Ahrefs
- Check that competitors are in the same niche (e.g., don't mix SaaS with e-commerce)
- Verify domains don't have robots.txt restrictions blocking data collection
- Try with top-ranking competitors first (Asana, Monday.com) to validate setup
Issue: Keyword Difficulty Scores Seem Inaccurate
Solution:
- Keyword difficulty varies by tool (Semrush vs. Ahrefs). Use the same source for consistent comparison.
- Consider your domain authority: a DA 40 site ranks easier for "difficulty 35" keywords than a DA 20 site
- Check SERP features: keywords with featured snippets or local packs may be harder than difficulty scores suggest
Issue: Too Many Opportunities Generated (Analysis Paralysis)
Solution:
- Filter by commercial intent: "high" intent keywords convert better than informational
- Sort by feasibility score: focus on keywords where your DA is within 5 points of top competitors
- Start with top 10-15 opportunities, not all 50
- Batch content creation: plan 3-5 pieces per month rather than rushing 20
Issue: Backlink Opportunities Show Competitors' Links Only
Solution:
- This is expected. Use "Backlink Opportunities" as research only—reach out to these sites with better content
- Look for "Broken Link" and "Resource Page" opportunities where you can suggest your content as a replacement
- Check competitor link sources for relevance to your niche before outreach
FAQ
Q: How often should I run this analysis?
A: Monthly for competitive niches, quarterly for stable niches. Run ad-hoc when entering new sub-niches or after major competitor content launches.
Q: Can I use this for local SEO?
A: Partially. This skill works for service-based local businesses (e.g., "digital marketing agency Austin"). For pure local SEO, supplement with Google Maps and local citation analysis.
Q: What's the minimum domain authority to rank for these opportunities?
A: Generally, your DA should be within 5-10 points of current top-ranking competitors. DA 20 can rank for keywords where competitors' DA is 25-35.
Q: How long does analysis take?
A: Quick analysis (5 competitors): 2-3 minutes. Comprehensive (20 competitors): 5-10 minutes. Time depends on API response rates.
Q: Can I export results to WordPress or Google Sheets?
A: Yes. Set output_format: "google_sheets" or "wordpress" in configuration. Results integrate directly with your editorial calendar.
**Q
1---2name: ai-niche-keyword-gap-and-content-opportunity-mapper3description: "Analyze competitor content gaps and identify high-intent keyword clusters your competitors missed. Use when the user needs SEO content strategy, niche keyword research, or competitive content opportunities."4version: 1.0.05homepage: https://github.com/ncreighton/empire-skills6metadata:7 {8 "openclaw": {9 "requires": {10 "env": ["SEMRUSH_API_KEY", "AHREFS_API_KEY", "GOOGLE_SEARCH_CONSOLE_KEY"],11 "bins": []12 },13 "os": ["macos", "linux", "win32"],14 "files": ["SKILL.md"],15 "emoji": "🎯"16 }17 }18---1920## Overview2122The **AI Niche Keyword Gap and Content Opportunity Mapper** is a production-ready SEO automation skill that identifies untapped content opportunities in your niche by analyzing competitor keyword rankings and content strategies. This skill compares your site against the top 20 competitors, discovers high-intent keywords with low competition, and generates 50+ ranked content ideas with actionable metrics.2324### Why This Matters2526Most SEO strategies rely on generic keyword tools. This skill goes deeper—it finds the *gaps* where competitors haven't published content for valuable search queries. By analyzing search volume, cost-per-click (CPC), keyword difficulty, and backlink opportunities, you can prioritize content that drives both traffic and revenue.2728### Key Integrations2930- **Google Search Console** — pulls your current keyword rankings and impressions31- **Semrush API** — competitor keyword analysis, backlink data, content gaps32- **Ahrefs API** — domain authority scoring, URL-level authority metrics33- **WordPress** — direct content planning integration with editorial calendar34- **Slack** — automated daily/weekly opportunity reports to your team35- **Google Sheets** — exports ranked keyword opportunities for collaboration3637---3839## Quick Start4041Try these prompts immediately to see the skill in action:4243### Example 1: Basic Niche Analysis44```45Analyze keyword gaps for my SaaS project management niche.46My domain: projectflow.io47Top competitors: asana.com, monday.com, notion.so, jira.atlassian.com, clickup.com48Focus on: "project management for remote teams", "agile software", "task management"49```5051### Example 2: E-Commerce Competitive Analysis52```53Find content opportunities in the "sustainable fashion" niche.54My site: ecothread.shop55Competitors: patagonia.com, everlane.com, reformation.com, allbirds.com, veja.com56Include: backlink opportunities, content gap analysis, CPC estimates57Output format: ranked by search volume and commercial intent58```5960### Example 3: Local Service Business61```62Map keyword gaps for a digital marketing agency in Austin, Texas.63My domain: austindigitalco.com64Competitors: wistia.com, hubspot.com, mailchimp.com (national), plus 5 local agencies65Focus on: local intent keywords, service-based content, case study opportunities66Prioritize: keywords with 100-500 monthly searches and low difficulty67```6869---7071## Capabilities7273### 1. Competitor Keyword Analysis74- **Scrapes top 20 competitors** across your niche using Semrush and Ahrefs75- **Extracts 2,000+ ranked keywords** per competitor with monthly search volume, difficulty, and CPC76- **Identifies overlapping keywords** where you rank but competitors don't, and vice versa77- **Maps keyword clusters** (e.g., "project management" cluster includes "task tracking," "team collaboration," "sprint planning")7879### 2. Content Gap Discovery80- **Finds high-intent keywords** (commercial, transactional, informational) with <40 difficulty score that competitors haven't targeted81- **Analyzes competitor content** for each keyword (article length, publish date, engagement metrics)82- **Scores feasibility** — can you realistically rank for this keyword given your domain authority?83- **Prioritizes by ROI potential** — search volume × CPC × ranking difficulty8485### 3. Content Opportunity Generation86- **Generates 50+ specific content ideas** ranked by search volume, CPC, and feasibility87- **Suggests content types** — blog posts, pillar pages, comparison guides, case studies, tutorials88- **Recommends target URLs** — where to publish on your site for optimal internal linking89- **Includes semantic keywords** — LSI keywords and related search terms to naturally incorporate9091### 4. Competitive URL Analysis92- **Identifies which competitor URLs rank** for each opportunity keyword93- **Extracts on-page SEO metrics** — title tags, meta descriptions, H1/H2 structure, word count, backlink count94- **Scores content quality** — readability, multimedia usage, freshness, authority signals95- **Reveals backlink sources** — where competitors get links from for ranking authority9697### 5. Backlink Opportunity Scoring98- **Maps backlink profiles** for top-ranking URLs in your niche99- **Identifies link sources** — industry publications, resource pages, directories, guest posting opportunities100- **Scores link quality** — domain authority, relevance, traffic potential101- **Suggests outreach targets** — where to pitch your content for maximum link velocity102103---104105## Configuration106107### Required Environment Variables108109```bash110# Semrush API credentials (for competitor keyword & content analysis)111SEMRUSH_API_KEY=your_semrush_api_key_here112113# Ahrefs API credentials (for backlink and domain authority data)114AHREFS_API_KEY=your_ahrefs_api_key_here115116# Google Search Console API (for your site's current rankings)117GOOGLE_SEARCH_CONSOLE_KEY=your_gsc_json_key_here118GOOGLE_PROPERTY_URL=https://yoursite.com119120# Optional: Slack webhook for automated reports121SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL122123# Optional: WordPress integration for content calendar124WORDPRESS_API_URL=https://yoursite.com/wp-json125WORDPRESS_API_TOKEN=your_bearer_token126```127128### Configuration Options129130```yaml131analysis_depth: "comprehensive" # Options: quick, standard, comprehensive132competitor_count: 20 # Number of competitors to analyze (5-50)133keyword_volume_min: 50 # Minimum monthly searches to include134keyword_difficulty_max: 50 # Maximum difficulty score (0-100)135content_idea_count: 50 # Number of opportunities to generate136include_backlink_analysis: true # Enable backlink opportunity scoring137output_format: "json" # Options: json, csv, markdown, google_sheets138auto_slack_report: false # Send weekly summary to Slack139```140141---142143## Example Outputs144145### Content Opportunity Report (Top 10 Ideas)146147```json148{149 "niche": "Project Management for Remote Teams",150 "analysis_date": "2024-01-15",151 "total_opportunities": 52,152 "top_opportunities": [153 {154 "rank": 1,155 "keyword": "best project management tools for remote teams",156 "search_volume": 2400,157 "search_trend": "rising",158 "keyword_difficulty": 28,159 "cpc": "$3.20",160 "commercial_intent": "high",161 "content_type": "comparison guide",162 "target_url": "/blog/best-pm-tools-remote-teams",163 "estimated_monthly_traffic": 180,164 "ranking_feasibility": "high",165 "competitor_content": {166 "top_ranking_url": "asana.com/templates/remote-team-management",167 "current_rank": 2,168 "content_length": 2400,169 "publish_date": "2023-06-15",170 "backlinks": 145171 },172 "backlink_opportunities": [173 {174 "source": "techcrunch.com",175 "domain_authority": 92,176 "traffic_potential": "high",177 "relevance_score": 0.92178 }179 ],180 "semantic_keywords": [181 "remote work collaboration tools",182 "asynchronous project management",183 "distributed team software"184 ]185 },186 {187 "rank": 2,188 "keyword": "asynchronous communication tools for remote teams",189 "search_volume": 890,190 "keyword_difficulty": 22,191 "cpc": "$2.15",192 "commercial_intent": "medium",193 "content_type": "pillar page + 3 cluster articles",194 "estimated_monthly_traffic": 95,195 "ranking_feasibility": "very_high"196 }197 ],198 "gap_analysis": {199 "keywords_you_rank_for": 342,200 "keywords_competitors_rank_for": 1850,201 "unique_competitor_keywords": 1508,202 "exploitable_gaps": 47,203 "low_competition_high_volume": 12204 }205}206```207208### Competitor Content Gap Matrix209210| Keyword | Vol | Diff | CPC | You | Asana | Monday | Notion | Jira | Opportunity |211|---------|-----|------|-----|-----|-------|--------|--------|------|-------------|212| project management remote teams | 2400 | 28 | $3.20 | — | #2 | #5 | #8 | — | **HIGH** |213| free project management tools | 1800 | 35 | $2.50 | #12 | #1 | #3 | — | #2 | MEDIUM |214| project tracking software | 1200 | 22 | $4.10 | — | #4 | #6 | #9 | #1 | **HIGH** |215| task management for teams | 950 | 18 | $2.80 | #15 | #2 | #1 | #4 | — | LOW |216217---218219## Tips & Best Practices220221### 1. Niche Selection is Critical222- **Be specific**: "Project management" is too broad. "Project management for remote SaaS teams" is ideal.223- **Use long-tail keywords**: Focus on 3-5 word phrases where you can realistically rank.224- **Validate market demand**: Ensure your chosen keywords have 100+ monthly searches and actual commercial intent.225226### 2. Prioritize by Feasibility Score227- **Quick wins**: Keywords with difficulty <25 and your domain authority within 5 points of top-ranking competitors228- **Medium-term goals**: Keywords 25-40 difficulty; requires 4-8 weeks of content + link building229- **Long-term plays**: Keywords >40 difficulty; invest only if search volume justifies 6+ month effort230231### 3. Content Cluster Strategy232- **Create pillar pages** for broad keywords (e.g., "Project Management Tools")233- **Add cluster content** for specific long-tail variations (e.g., "Best PM Tools for Startups," "PM Tools for Nonprofits")234- **Internal link strategically**: Pillar → Cluster → Pillar creates topical authority235236### 4. Backlink Leverage237- **Prioritize content** where you've identified 5+ high-quality backlink sources238- **Reach out proactively**: Use the identified backlink opportunities to pitch your superior content239- **Create link-worthy assets**: Original research, data visualizations, and case studies earn links naturally240241### 5. Timing & Trend Analysis242- **Watch search trends**: Keywords marked "rising" often indicate emerging opportunities243- **Publish strategically**: Publish when competitors' content is >6 months old (signals freshness to Google)244- **Update competitor content**: Improve on existing ranking content with newer data, better structure, multimedia245246### 6. Validation Before Publishing247- **Verify search intent**: Read top 10 ranking results to ensure your content angle matches user expectations248- **Check SERP features**: Are there featured snippets, People Also Ask, or video results? Optimize for these249- **Analyze backlink profiles**: Ensure you can realistically build links for this keyword250251---252253## Safety & Guardrails254255### What This Skill Will NOT Do256257- **Does not guarantee rankings**: Keyword research is one component of SEO success. Content quality, link building, and technical SEO are equally critical.258- **Does not automatically publish content**: All recommendations require human review, editing, and strategic approval before publication.259- **Does not scrape competitor sites directly**: Uses only legitimate APIs (Semrush, Ahrefs, Google Search Console). Respects robots.txt and terms of service.260- **Does not create content**: Generates outlines, keyword clusters, and opportunity lists. You must create original, valuable content.261- **Does not perform black-hat SEO**: Will not recommend keyword stuffing, cloaking, private link networks, or other Google-violating tactics.262263### Limitations & Boundaries264265- **API rate limits**: Semrush and Ahrefs have monthly query limits. Comprehensive analysis of 20+ competitors may require higher-tier API plans.266- **Data freshness**: Competitor keyword data updates weekly (not real-time). Recent ranking changes may not be reflected immediately.267- **Local SEO limitations**: Works best for national/international niches. Local SEO requires additional Google Maps and local citation analysis.268- **Niche maturity**: Works best in established niches with 50+ competitors. Emerging niches have limited comparative data.269- **Language support**: Currently optimized for English. Other languages require manual configuration.270271### Ethical Considerations272273- **Respect competitor intellectual property**: Use competitive insights to inform strategy, not to copy content.274- **Create original value**: Every piece of content should provide unique insights, data, or perspectives beyond what competitors offer.275- **Transparent sourcing**: Cite competitor data and research appropriately; don't plagiarize.276277---278279## Troubleshooting280281### Common Issues & Solutions282283#### Issue: "API Key Invalid" or "Authentication Failed"284**Solution:**285- Verify API keys are correctly set in your environment variables286- Check that API keys have appropriate permissions/scopes enabled287- For Google Search Console, ensure the service account has "Read" access to your property288- Test API connectivity: `curl -H "Authorization: Bearer YOUR_KEY" https://api.semrush.com/v3/`289290#### Issue: "No Data Returned" for Competitors291**Solution:**292- Ensure competitor domains are valid and indexed by Semrush/Ahrefs293- Check that competitors are in the same niche (e.g., don't mix SaaS with e-commerce)294- Verify domains don't have robots.txt restrictions blocking data collection295- Try with top-ranking competitors first (Asana, Monday.com) to validate setup296297#### Issue: Keyword Difficulty Scores Seem Inaccurate298**Solution:**299- Keyword difficulty varies by tool (Semrush vs. Ahrefs). Use the same source for consistent comparison.300- Consider your domain authority: a DA 40 site ranks easier for "difficulty 35" keywords than a DA 20 site301- Check SERP features: keywords with featured snippets or local packs may be harder than difficulty scores suggest302303#### Issue: Too Many Opportunities Generated (Analysis Paralysis)304**Solution:**305- Filter by commercial intent: "high" intent keywords convert better than informational306- Sort by feasibility score: focus on keywords where your DA is within 5 points of top competitors307- Start with top 10-15 opportunities, not all 50308- Batch content creation: plan 3-5 pieces per month rather than rushing 20309310#### Issue: Backlink Opportunities Show Competitors' Links Only311**Solution:**312- This is expected. Use "Backlink Opportunities" as research only—reach out to these sites with *better* content313- Look for "Broken Link" and "Resource Page" opportunities where you can suggest your content as a replacement314- Check competitor link sources for relevance to your niche before outreach315316### FAQ317318**Q: How often should I run this analysis?**319A: Monthly for competitive niches, quarterly for stable niches. Run ad-hoc when entering new sub-niches or after major competitor content launches.320321**Q: Can I use this for local SEO?**322A: Partially. This skill works for service-based local businesses (e.g., "digital marketing agency Austin"). For pure local SEO, supplement with Google Maps and local citation analysis.323324**Q: What's the minimum domain authority to rank for these opportunities?**325A: Generally, your DA should be within 5-10 points of current top-ranking competitors. DA 20 can rank for keywords where competitors' DA is 25-35.326327**Q: How long does analysis take?**328A: Quick analysis (5 competitors): 2-3 minutes. Comprehensive (20 competitors): 5-10 minutes. Time depends on API response rates.329330**Q: Can I export results to WordPress or Google Sheets?**331A: Yes. Set `output_format: "google_sheets"` or `"wordpress"` in configuration. Results integrate directly with your editorial calendar.332333**Q