Digital real estate

From oyi77/1ai-skills · View interactive version

Digital real estate is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when building and managing a portfolio of niche content sites that generate affiliate and AdSense revenue with AI handling research, writing, SEO, and updates.

How to use this skill

Skill file

Overview

Build, scale, and monetize a portfolio of niche content websites. Solo operators run 5-20 sites simultaneously with AI handling research, writing, internal linking, technical SEO, and content updates. Revenue comes from affiliate programs (Amazon Associates, ShareASale, Impact) and display ads (AdSense, Mediavine, AdThrive). Target: $1K-$10K/month per site after 6-12 months.

Required Tools

Capabilities

When to Use

Trigger phrases:

When NOT to Use

Pseudo Code

The digital-real-estate workflow follows a standard pipeline pattern.

Core flow:

# digital-real-estate primary flow
input = prepare(raw_data)
result = process(input, config={adsense, affiliate, build, content, digital})
validate(result)
deliver(result)

Error handling:

on error:
  log(error_details)
  retry_with_backoff(max=3)
  if still_failing: alert_and_escalate()

Core Workflow

# digital-real-estate primary flow
input = prepare(raw_data)
result = process(input, config={adsense, affiliate, build, content, digital})
validate(result)
deliver(result)

Error Handling

on error:
  log(error_details)
  retry_with_backoff(max=3)
  if still_failing: alert_and_escalate()

Niche Research & Selection

# Evaluate niche potential
evaluate_niche() {
  NICHE=$1

  # Check search volume and competition
  ahrefs_keyword_difficulty "$NICHE" --min-volume 1000 --max-kd 30

  # Check monetization potential
  # Target: $10+ RPM (revenue per 1000 impressions)
  check_affiliate_programs "$NICHE"  # Amazon, ShareASale, etc.
  check_ad_network_rpm "$NICHE"      # Mediavine requires 50K sessions/mo

  # Competition analysis
  # Look for weak SERPs: forums, thin content, outdated articles in top 10
  serp_analysis "$NICHE" --top-urls 10

  # Score: volume * RPM / competition = opportunity score
  # Target score > 50
}

# Ideal niche criteria:
# - 500+ keywords with 1K-10K monthly volume
# - KD (keyword difficulty) < 30
# - RPM > $10
# - Multiple affiliate programs available
# - Evergreen topic (not seasonal/fad)
# - You can produce 100+ articles

Site Setup (WordPress)

# Automated WordPress setup
SITE_DOMAIN="myniche.com"

# Provision hosting
wp-cli core download --path=/var/www/$SITE_DOMAIN
wp-cli config create --dbname=${SITE_DOMAIN}_db --dbuser=root --dbpass=$DB_PASS
wp-cli core install --url=$SITE_DOMAIN --title="My Niche Site" --admin_user=admin

# Install essential plugins
wp-cli plugin install wordpress-seo --activate           # Yoast SEO
wp-cli plugin install wp-rocket                           # Caching
wp-cli plugin install shortpixel-adaptive-images          # Image optimization
wp-cli plugin install tablepress                          # Comparison tables
wp-cli plugin install wp-schema-pro                       # Structured data

# Set up theme (Astra or GeneratePress - lightweight, fast)
wp-cli theme install astra --activate

# Configure SEO defaults
wp-cli option update blogdescription "Expert reviews and guides"
wp-cli option update permalink_structure "/%postname%/"

# Submit sitemap to Search Console
curl -X POST "https://www.google.com/ping?sitemap=https://$SITE_DOMAIN/sitemap.xml"

Content Pipeline

# Generate cluster of related articles
def generate_content_cluster(main_keyword, site_config):
    # Step 1: Keyword clustering
    keywords = research_keywords(main_keyword)
    clusters = cluster_by_intent(keywords)  # informational, commercial, transactional

    for cluster in clusters:
        # Step 2: Generate pillar article (3000-5000 words)
        pillar = generate_article(
            keyword=cluster.main_keyword,
            word_count=4000,
            style="comprehensive_guide",
            include_table=True,
            include_faq=True,
            site_config=site_config
        )

        # Step 3: Generate supporting articles (1500-2500 words)
        for kw in cluster.supporting_keywords:
            article = generate_article(
                keyword=kw,
                word_count=2000,
                style="focused_guide",
                internal_links_to=[pillar.url],
                site_config=site_config
            )

        # Step 4: Internal linking
        auto_internal_link(cluster.all_articles)

        # Step 5: Schema markup
        add_schema_markup(cluster.all_articles, types=["Article", "FAQ", "HowTo"])

    return clusters

Internal Linking Automation

def auto_internal_link(articles):
    """Automatically build internal links between related articles."""
    for article in articles:
        # Find related articles by keyword overlap
        related = find_related_articles(article, all_articles, max_links=5)

        for target in related:
            # Find natural anchor text opportunities
            anchor_text = find_anchor_opportunity(article.content, target.keyword)

            if anchor_text:
                # Insert link naturally within content
                article.content = insert_link(
                    article.content,
                    anchor_text,
                    target.url,
                    position="contextual"  # Not footer or sidebar
                )

        # Update article with new links
        update_article(article)

Technical SEO Checklist

# Run technical SEO audit on each site
technical_seo_audit() {
  SITE=$1

  # Core Web Vitals
  curl "https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=$SITE&strategy=mobile" \
    | jq '.lighthouseResult.categories'

  # Check for common issues
  screaming-frog --crawl $SITE --output-seo-issues \
    --check "missing_title,duplicate_content,broken_links,missing_alt,thin_content"

  # Generate sitemap
  wp-cli sitemap generate --post_type=post --format=xml

  # Submit to search engines
  curl -X POST "https://www.google.com/ping?sitemap=$SITE/sitemap.xml"
  curl -X POST "https://www.bing.com/indexnow?url=$SITE&key=$INDEXNOW_KEY"

  # Check robots.txt
  curl "$SITE/robots.txt"
}

Portfolio Scaling

# Manage multiple sites from single config
cat > portfolio.json << 'EOF'
{
  "sites": [
    {
      "domain": "bestcoffeemakers.com",
      "niche": "coffee equipment",
      "status": "active",
      "monthly_traffic": 45000,
      "monthly_revenue": 2800,
      "articles": 87,
      "last_update": "2026-05-01"
    },
    {
      "domain": "homeofficeguide.com",
      "niche": "home office setup",
      "status": "growing",
      "monthly_traffic": 12000,
      "monthly_revenue": 650,
      "articles": 34,
      "last_update": "2026-05-15"
    }
  ]
}
EOF

# Weekly maintenance routine
for site in $(jq -r '.sites[].domain' portfolio.json); do
  echo "=== $site ==="
  # Check rankings
  check_rankings $site --alert-if-drop > 10
  # Update outdated content
  find_outdated_articles $site --older-than 90days
  # Check for broken links
  check_broken_links $site
  # Generate weekly report
  generate_report $site --period weekly
done

Error Handling

| Error | Cause | Recovery |

|-------|-------|----------|

| CONTENT_DUPLICATE | AI generated similar content to existing | Run plagiarism check, rewrite unique sections |

| RANKING_DROP | Algorithm update or competitor outranked | Audit content quality, update with fresh data |

| AFFILIATE_BAN | Violated affiliate program terms | Review compliance, apply to alternative programs |

| HOSTING_DOWNTIME | Server issues | Monitor with UptimeRobot, switch to reliable host |

| INDEXING_ISSUE | Google not indexing new content | Check Search Console, request indexing, fix technical issues |

| THIN_CONTENT_FLAG | AI content detected as low quality | Add unique insights, expert quotes, original research |

Common Patterns

Revenue Stacking

Content Refresh Cycle

Exit Strategy

Red Flags

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.