Competitor Spy Tool
Overview
The Competitor Spy Tool automates continuous monitoring of competitor websites, pricing structures, content updates, and search engine rankings. This skill integrates with SerpAPI for SERP tracking, web_search for content discovery, Slack for real-time alerts, and Google Sheets for historical data logging.
Why it matters: Competitive intelligence is mission-critical. Manual monitoring across 5+ competitors is time-consuming and error-prone. This tool eliminates guesswork by automating daily scans, flagging price changes within 24 hours, tracking new blog posts, and monitoring keyword position shifts—enabling you to react faster than competitors.
Perfect for: SaaS founders, e-commerce managers, digital agencies, content strategists, and growth teams who need to stay ahead of market movements.
Quick Start
Try these prompts immediately:
CODEBLOCK0
CODEBLOCK1
CODEBLOCK2
CODEBLOCK3
CODEBLOCK4
Capabilities
1. Pricing Monitoring
Automatically scrapes and tracks competitor pricing pages, detects changes, and calculates percentage deltas. Stores historical pricing data in a spreadsheet for trend analysis.
Example usage:
CODEBLOCK5
2. Content Discovery & Tracking
Monitors RSS feeds, blog indexes, and sitemap updates to detect new content within hours. Categorizes posts by topic (pricing, features, case studies, thought leadership) and extracts key metadata.
Example usage:
CODEBLOCK6
3. Keyword Position Tracking
Uses SerpAPI to track your competitors' keyword rankings across 50+ target keywords. Shows position changes, search volume, and estimated traffic for each keyword.
Example usage:
CODEBLOCK7
4. Landing Page Monitoring
Captures screenshots and stores HTML snapshots of competitor landing pages. Detects copy changes, CTA button text modifications, headline shifts, and visual redesigns.
Example usage:
CODEBLOCK8
5. Competitive Intelligence Reporting
Generates weekly/monthly reports with:
- - Pricing trend analysis
- Content volume and topic distribution
- Keyword ranking movements
- Market share signals
- Actionable gaps and opportunities
Configuration
Required Environment Variables
CODEBLOCK9
Setup Instructions
- 1. Get API Keys:
- SerpAPI: Sign up at
serpapi.com, create API key
- Slack: Create webhook at api.slack.com/apps
- Google Sheets: Enable API in Google Cloud Console
- 2. Add Competitor Domains:
CODEBLOCK10
- 3. Initialize Google Sheet:
- Create sheet with columns: Date, Competitor, Metric, Old Value, New Value, Change %
- Share with service account email
- 4. Test Connection:
curl -X POST $SLACK_WEBHOOK_URL \
-H 'Content-Type: application/json' \
-d '{"text":"Competitor Spy Tool initialized ✅"}'
Example Outputs
Slack Alert (Price Change Detected)
CODEBLOCK12
Content Discovery Report
CODEBLOCK13
Keyword Ranking Report
CODEBLOCK14
Weekly Intelligence Summary
📈 WEEKLY COMPETITIVE INTELLIGENCE
Period: Jan 8-14, 2024
PRICING MOVEMENTS:
• 2 competitors raised prices (avg +8%)
• 1 competitor introduced annual discount
• Enterprise tier pricing now $599-999 (range: 500-1200)
CONTENT VELOCITY:
• Avg posts/competitor: 6.3/week
• Top topics: AI features (35%), case studies (25%)
• Your gap: Limited thought leadership content
KEYWORD SHIFTS:
• 15 keywords tracked
• Avg position change: -0.2 (slight improvement)
• New keyword targets emerging: "generative AI marketing"
RECOMMENDED ACTIONS:
1. Publish 2-3 thought leadership posts on AI
2. Consider enterprise pricing adjustment
3. Target "generative AI marketing" keyword cluster
Tips & Best Practices
1. Set Smart Alert Thresholds
- - Price changes: 5-10% (lower for commodities, higher for SaaS)
- Content: Alert on product announcements, not every blog post
- Keywords: Flag position changes >3 spots, not minor fluctuations
2. Organize by Competitive Tier
Monitor direct competitors (same market, price) separately from adjacent players. Direct competitors warrant daily checks; adjacent players, weekly.
CODEBLOCK16
3. Create Keyword Clusters
Group keywords by intent (pricing, features, use cases) to spot trends faster.
CODEBLOCK17
4. Establish Baseline Data
Run initial scans for 2 weeks to establish normal patterns before setting alerts. This prevents false positives from minor page updates.
5. Cross-Reference with Your Metrics
Correlate competitor pricing changes with your conversion rates, churn, and customer feedback. Price wars often signal market saturation.
6. Automate Report Distribution
Schedule weekly reports to Slack #competitive-intel channel. Include executive summary + detailed metrics for strategy team.
Safety & Guardrails
What This Skill Will NOT Do
- - Scrape protected content: This tool respects
robots.txt and Terms of Service. It will not bypass authentication, paywalls, or CAPTCHA challenges. - Access private data: No scraping of customer data, internal documents, or confidential information.
- Violate GDPR/CCPA: No personal data collection. Monitoring is limited to public-facing pages only.
- Impersonate users: All requests include proper User-Agent headers and identify as a monitoring bot.
- Exceed rate limits: Built-in throttling respects server load (max 10 requests/minute per domain).
Ethical Boundaries
This tool monitors public, published content only:
- - ✅ Public pricing pages
- ✅ Published blog posts and RSS feeds
- ✅ Public search engine rankings
- ✅ Landing page copy and screenshots
- ❌ Customer databases or user accounts
- ❌ Confidential internal documents
- ❌ Password-protected areas
Legal Compliance
- - Ensure your use complies with local laws and competitor ToS
- Document your monitoring for audit trails
- Do not share competitor data publicly without attribution
- Use intelligence for strategic decisions, not misleading marketing claims
Troubleshooting
"API Rate Limit Exceeded"
Problem: SerpAPI or competitor servers are rate-limiting requests.
Solution:
- - Reduce check frequency from daily to every 2 days
- Increase delay between requests:
delay: 5000ms in config - Upgrade SerpAPI plan for higher limits
"Slack Webhook URL Invalid"
Problem: Webhook URL is expired or incorrectly formatted.
Solution:
CODEBLOCK18
"No Price Changes Detected (False Negative)"
Problem: Competitor uses dynamic pricing, JavaScript rendering, or session-based prices.
Solution:
- - Enable Browserless rendering: INLINECODE2
- Add CSS selectors for price elements: INLINECODE3
- Manually verify on competitor site; may be A/B testing
"Google Sheets Not Updating"
Problem: Service account lacks write permissions.
Solution:
CODEBLOCK19
"Competitor Domain Returns 403/429"
Problem: Server is blocking automated requests.
Solution:
- - Add rotating User-Agent headers
- Use residential proxy service (Bright Data, Smartproxy)
- Increase delay between requests
- Contact competitor's support if monitoring is legitimate
FAQ
Q: How often should I check competitors?
A: Daily for direct competitors, weekly for adjacent players, monthly for emerging threats.
Q: Can I monitor 50+ competitors?
A: Yes, but scale API costs. Consider tiering: top 5 daily, next 15 weekly, others monthly.
Q: What if a competitor blocks my IP?
A: Use a proxy rotation service or contact them directly—legitimate competitive monitoring is defensible.
Q: How do I export data for analysis?
A: All data syncs to Google Sheets. Export as CSV/Excel for further analysis in Tableau, Looker, or custom dashboards.
Q: Is this legal?
A: Yes, monitoring public content is legal. Ensure you're not violating ToS, accessing protected areas, or using data deceptively.
Integration Examples
Slack Workflow
CODEBLOCK20
Google Sheets Historical Tracking
CODEBLOCK21
WordPress Blog Integration
CODEBLOCK22
Zapier Automation
Competitor price drop → Create Asana task → Notify sales team → Log to CRM
Support & Updates
For issues, feature requests, or contributions: GitHub Issues
Version History:
- - 1.0.0 (Current): Initial release with pricing, content, and keyword monitoring
Tags: competitive-intelligence, web-scraping, market-research, pricing-monitoring, seo-tracking, automation, saas, ecommerce
竞争对手监控工具
概述
竞争对手监控工具可自动持续监控竞争对手网站、定价结构、内容更新和搜索引擎排名。该技能集成了SerpAPI用于SERP追踪、web_search用于内容发现、Slack用于实时警报,以及Google Sheets用于历史数据记录。
为何重要: 竞争情报至关重要。手动监控5个以上竞争对手既耗时又容易出错。本工具通过自动化每日扫描、24小时内标记价格变化、追踪新博客文章以及监控关键词排名变动来消除猜测——使您能够比竞争对手更快做出反应。
适用对象: 需要保持市场领先地位的SaaS创始人、电商经理、数字代理机构、内容策略师和增长团队。
快速入门
立即尝试以下提示:
每日监控以下3个竞争对手的价格变化:
- - competitor1.com
- competitor2.com
- competitor3.com
当价格下降10%以上或有新产品发布时,通过Slack向我发送警报。
追踪竞争对手在AI邮件营销关键词上的排名。
显示哪些竞争对手占据第1-3位,以及自昨天以来发生了什么变化。
扫描竞争对手博客源,查找过去24小时内发布的新内容。
标记关于定价、功能或产品发布的帖子。将摘要发送到Slack。
创建一份每周竞争分析报告:
- - 检测到的定价变化
- 新上线的着陆页
- 他们瞄准的排名靠前关键词
- 我可以利用的内容空白
监控竞争对手的邮件注册流程和着陆页文案变化。
截图关键页面并存储版本,以便随时间进行对比。
功能
1. 定价监控
自动抓取并追踪竞争对手定价页面,检测变化并计算百分比差异。将历史定价数据存储在电子表格中用于趋势分析。
使用示例:
追踪定价:
- - SaaS套餐(入门版、专业版、企业版层级)
- 附加功能和超额费用
- 折扣码和促销定价
警报阈值:5%变化触发通知
2. 内容发现与追踪
监控RSS源、博客索引和站点地图更新,在数小时内检测到新内容。按主题(定价、功能、案例研究、思想领导力)对帖子进行分类,并提取关键元数据。
使用示例:
监控竞争对手博客源:
- - 新博客文章(标题、URL、发布日期)
- 产品公告
- 案例研究和推荐
- 网络研讨会/活动公告
3. 关键词排名追踪
使用SerpAPI追踪竞争对手在50多个目标关键词上的排名。显示每个关键词的排名变化、搜索量和预估流量。
使用示例:
追踪竞争对手的以下关键词:
- - AI邮件营销平台
- 邮件自动化软件
- 营销自动化ROI
显示每日排名变化和流量预估
4. 着陆页监控
捕获竞争对手着陆页的截图并存储HTML快照。检测文案变化、CTA按钮文本修改、标题变动和视觉重新设计。
使用示例:
监控着陆页变化:
- - 首页标题和价值主张
- 定价页面文案和CTA按钮
- 功能对比表
- 信任信号(推荐、标志、认证)
5. 竞争情报报告
生成每周/每月报告,包含:
- - 定价趋势分析
- 内容数量和主题分布
- 关键词排名变动
- 市场份额信号
- 可操作的空白和机会
配置
必需的环境变量
bash
API密钥和Webhooks
export COMPETITOR_DOMAINS=competitor1.com,competitor2.com,competitor3.com
export SERP
APIKEY=your
serpapikey_here
export SLACK
WEBHOOKURL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
export GOOGLE
SHEETSAPI
KEY=yourgoogle
apikey
export GOOGLE
SHEETID=your
sheetid
可选:用于高级功能
export BROWSERLESS
APIKEY=your
browserlesskey
export MAILGUN
APIKEY=for
emailalerts
设置说明
- 1. 获取API密钥:
- SerpAPI:在
serpapi.com注册,创建API密钥
- Slack:在api.slack.com/apps创建webhook
- Google Sheets:在Google Cloud Console中启用API
- 2. 添加竞争对手域名:
bash
# 创建配置文件
cat > competitor_config.json << EOF
{
competitors: [
{
name: 竞争对手A,
domain: competitor-a.com,
pricing_page: /pricing,
blog_feed: /blog/feed.xml,
keywords: [邮件营销, 自动化]
},
{
name: 竞争对手B,
domain: competitor-b.com,
pricing_page: /plans,
blog_feed: /feed.xml,
keywords: [邮件活动, 营销]
}
],
check_frequency: daily,
alert_threshold: 5
}
EOF
- 3. 初始化Google Sheet:
- 创建包含以下列的表格:日期、竞争对手、指标、旧值、新值、变化百分比
- 与服务账号邮箱共享
- 4. 测试连接:
bash
curl -X POST $SLACK
WEBHOOKURL \
-H Content-Type: application/json \
-d {text:竞争对手监控工具已初始化 ✅}
示例输出
Slack警报(检测到价格变化)
🚨 检测到价格变化
竞争对手:TechRival Inc.
变化:专业版计划 $99 → $79 (-20%)
检测时间:2024-01-15 09:34 AM
操作:审查竞争定位
内容发现报告
📰 新竞争对手内容(过去24小时)
竞争对手A:
✓ 2024年5大邮件营销趋势(博客)
✓ 案例研究:打开率提升40%(案例研究)
竞争对手B:
✓ 产品发布:AI主题行生成器(公告)
✓ 定价更新:新增企业版层级(更新)
总帖子数:4 | 新功能:1 | 定价变化:1
关键词排名报告
📊 关键词排名(与24小时前对比)
关键词:邮件营销自动化
竞争对手A:第3位(↑ 1)| 预估流量:1.2K/月
竞争对手B:第5位(↓ 2)| 预估流量:890/月
您:第2位(→)| 预估流量:1.8K/月
机会:竞争对手A势头正劲。考虑内容更新。
每周情报摘要
📈 每周竞争情报
周期:2024年1月8-14日
定价变动:
• 2个竞争对手提价(平均+8%)
• 1个竞争对手推出年度折扣
• 企业版定价现为$599-999(范围:500-1200)
内容速度:
• 平均帖子数/竞争对手:6.3/周
• 热门主题:AI功能(35%)、案例研究(25%)
• 您的空白:思想领导力内容有限
关键词变化:
• 追踪了15个关键词
• 平均排名变化:-0.2(略有改善)
• 新兴关键词目标:生成式AI营销
建议行动:
1. 发布2-3篇关于AI的思想领导力文章
2. 考虑调整企业版定价
3. 瞄准生成式AI营销关键词集群
提示与最佳实践
1. 设置智能警报阈值
- - 价格变化:5-10%(大宗商品设低,SaaS设高)
- 内容:仅对产品公告发出警报,而非每篇博客文章
- 关键词:标记排名变化超过3位的情况,而非微小波动
2. 按竞争层级组织
将直接竞争对手(相同市场、价格)与相邻参与者分开监控。直接竞争对手需要每日检查;相邻参与者每周检查。
json
{
tier1direct: [competitor1.com, competitor2.com],
tier2adjacent: [adjacent1.com, adjacent2.com],
tier3emerging: [startup1.com]
}
3. 创建关键词集群
按意图(定价、功能、用例)对关键词进行分组,以便更快发现趋势。
定价意图:成本、定价、计划、企业定价
功能意图:AI、自动化、集成
用例意图:B2B邮件、电商营销
4. 建立基线数据
在设置警报前,先运行2周的初始扫描以建立正常模式。这可以防止因微小页面更新导致的误报。
5. 与您的指标交叉引用
将竞争对手的定价变化与您的转化率、流失率和客户反馈相关联。价格战通常标志着市场饱和。
###