| name | digital-real-estate |
| description | Build and manage a portfolio of niche content sites generating affiliate and AdSense revenue with AI handling research, writing, SEO, and updates. Use when building and manage a portfolio of niche content sites generating. |
| domain | content |
| author | oyi77 |
| license | Apache-2.0 |
| subdomain | content-creation |
| tags | ["content-creation","digital","digital-content","estate","media","real","seo"] |
| version | 1.0.0 |
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
- CMS: WordPress (with WP-CLI) or Next.js (static generation)
- Keyword Research: Ahrefs API, SEMrush API, or free alternatives (Google Keyword Planner, Ubersuggest)
- Content Generation: Claude API or OpenAI API
- SEO: Screaming Frog CLI, Google Search Console API, sitemap generators
- Hosting: Vercel (Next.js), Cloudways/SiteGround (WordPress), or VPS
- Affiliate Networks: Amazon Associates, ShareASale, Impact, CJ Affiliate
- Analytics: Google Analytics 4, Plausible (privacy-friendly)
- Node.js 18+ for automation scripts
Capabilities
- Research profitable niches with low competition
- Generate SEO-optimized long-form content (2000-5000 words)
- Build internal linking structures automatically
- Manage multiple sites from a single dashboard
- Track rankings, traffic, and revenue across portfolio
- Auto-update outdated content with fresh information
- A/B test headlines, meta descriptions, and CTAs
- Scale from 1 site to 20+ with consistent quality
When to Use
Trigger phrases:
-
"digital real estate"
-
"Build and manage a portfolio of niche content sites generating affiliate and AdS"
-
Building passive income through content sites
-
Expanding existing portfolio to new niches
-
Automating content production for established sites
-
Refreshing outdated content to recover rankings
-
Starting affiliate marketing with minimal investment
-
Creating assets that compound in value over time
When NOT to Use
- Task is about content strategy, not creation (use strategy skills)
- Task is about content distribution (use distribution skills)
- You need to analyze content performance (use analytics skills)
- Task is about content moderation (use moderation tools)
- You don't have content guidelines
- Task requires domain expertise (consult experts)
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() {
NICHE=$1
ahrefs_keyword_difficulty "$NICHE" --min-volume 1000 --max-kd 30
check_affiliate_programs "$NICHE"
check_ad_network_rpm "$NICHE"
serp_analysis "$NICHE" --top-urls 10
}
Site Setup (WordPress)
SITE_DOMAIN="myniche.com"
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
wp-cli plugin install wordpress-seo --activate
wp-cli plugin install wp-rocket
wp-cli plugin install shortpixel-adaptive-images
wp-cli plugin install tablepress
wp-cli plugin install wp-schema-pro
wp-cli theme install astra --activate
wp-cli option update blogdescription "Expert reviews and guides"
wp-cli option update permalink_structure "/%postname%/"
curl -X POST "https://www.google.com/ping?sitemap=https://$SITE_DOMAIN/sitemap.xml"
Content Pipeline
def generate_content_cluster(main_keyword, site_config):
keywords = research_keywords(main_keyword)
clusters = cluster_by_intent(keywords)
for cluster in clusters:
pillar = generate_article(
keyword=cluster.main_keyword,
word_count=4000,
style="comprehensive_guide",
include_table=True,
include_faq=True,
site_config=site_config
)
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
)
auto_internal_link(cluster.all_articles)
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:
related = find_related_articles(article, all_articles, max_links=5)
for target in related:
anchor_text = find_anchor_opportunity(article.content, target.keyword)
if anchor_text:
article.content = insert_link(
article.content,
anchor_text,
target.url,
position="contextual"
)
update_article(article)
Technical SEO Checklist
technical_seo_audit() {
SITE=$1
curl "https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=$SITE&strategy=mobile" \
| jq '.lighthouseResult.categories'
screaming-frog --crawl $SITE --output-seo-issues \
--check "missing_title,duplicate_content,broken_links,missing_alt,thin_content"
wp-cli sitemap generate --post_type=post --format=xml
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"
curl "$SITE/robots.txt"
}
Portfolio Scaling
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
for site in $(jq -r '.sites[].domain' portfolio.json); do
echo "=== $site ==="
check_rankings $site --alert-if-drop > 10
find_outdated_articles $site --older-than 90days
check_broken_links $site
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
- Batch processing: Process multiple items in parallel for throughput
- Retry with backoff: Handle transient failures gracefully
- Rate limiting: Respect API limits with configurable delays
- Logging: Structured logging for debugging and audit trails
Revenue Stacking
- Primary: Affiliate commissions (Amazon 1-10%, other programs 5-30%)
- Secondary: Display ads (AdSense $5-15 RPM, Mediavine $20-40 RPM)
- Tertiary: Sponsored posts ($200-$2000 per post)
- Target: $30+ RPM across all revenue streams
Content Refresh Cycle
- Monthly: Update statistics, prices, and product availability
- Quarterly: Refresh top 20% of traffic-driving articles
- Annually: Complete rewrite of underperforming cornerstone content
- Trigger: Any article dropping >20% in traffic gets immediate refresh
Exit Strategy
- Sites sell for 30-40x monthly revenue on Flippia, Empire Flippers, Motion Invest
- A site earning $3K/month = $90K-$120K sale price
- Clean up content, document processes, transfer hosting before listing
How to Use
- Define content goal (traffic, engagement, conversion, brand awareness)
- Research target audience pain points and search intent
- Generate content using appropriate AI tools
- Edit and humanize output for authenticity
- Optimize for target platform (SEO, hashtags, format)
- Schedule and distribute across channels
- Measure performance and iterate
Red Flags
- AI-generated content sounds robotic: Always run through humanizer before publishing
- Engagement dropping week-over-week: Content fatigue or algorithm change — vary formats
- Duplicate content across platforms: Adapt content per platform, don't just cross-post
- No content calendar: Sporadic posting kills audience retention
- Ignoring analytics: Content without measurement is just publishing, not marketing
Verification
Process
- Analyze the task requirements
- Apply domain expertise
- Verify output quality
Anti-Rationalization Table
| Rationalization | Reality |
|---|
| "Good enough content works" | Quality content drives engagement. Mediocre content gets ignored. |
| "I will optimize later" | SEO and distribution need optimization from the start. |
| "Templates are good enough" | Templates are a starting point. Custom content outperforms generic. |