← Back to Skills Marketplace
protoss70

Apify Competitor Intelligence

by protoss70 · GitHub ↗ · v1.0.1
cross-platform ✓ Security Clean
1229
Downloads
4
Stars
5
Active Installs
2
Versions
Install in OpenClaw
/install apify-competitor-intelligence
Description
Analyze competitor strategies, content, pricing, ads, and market positioning across Google Maps, Booking.com, Facebook, Instagram, YouTube, and TikTok.
README (SKILL.md)

Competitor Intelligence

Analyze competitors using Apify Actors to extract data from multiple platforms.

Prerequisites

  • APIFY_TOKEN configured in OpenClaw settings
  • Node.js 20.6+
  • mcpc CLI (auto-installed via skill metadata)

Input Sanitization Rules

Before substituting any value into a bash command:

  • ACTOR_ID: Must be either a technical name (owner/actor-name — alphanumeric, hyphens, dots, one slash) or a raw ID (exactly 17 alphanumeric characters, e.g., oeiQgfg5fsmIJB7Cn). Reject values containing shell metacharacters (; | & $ ` ( ) { } \x3C > ! \).
  • SEARCH_KEYWORDS: Plain text words only. Reject shell metacharacters.
  • JSON_INPUT: Must be valid JSON. Must not contain single quotes (use escaped double quotes). Validate structure before use.
  • Output filenames: Must match YYYY-MM-DD_descriptive-name.{csv,json}. No path separators (/, ..), no spaces, no metacharacters.

Workflow

Copy this checklist and track progress:

Task Progress:
- [ ] Step 1: Identify competitor analysis type (select Actor)
- [ ] Step 2: Fetch Actor schema via mcpc
- [ ] Step 3: Ask user preferences (format, filename)
- [ ] Step 4: Run the analysis script
- [ ] Step 5: Summarize findings

Step 1: Identify Competitor Analysis Type

Select the appropriate Actor based on analysis needs:

User Need Actor ID Best For
Competitor business data compass/crawler-google-places Location analysis
Competitor contact discovery poidata/google-maps-email-extractor Email extraction
Feature benchmarking compass/google-maps-extractor Detailed business data
Competitor review analysis compass/Google-Maps-Reviews-Scraper Review comparison
Hotel competitor data voyager/booking-scraper Hotel benchmarking
Hotel review comparison voyager/booking-reviews-scraper Review analysis
Competitor ad strategies apify/facebook-ads-scraper Ad creative analysis
Competitor page metrics apify/facebook-pages-scraper Page performance
Competitor content analysis apify/facebook-posts-scraper Post strategies
Competitor reels performance apify/facebook-reels-scraper Reels analysis
Competitor audience analysis apify/facebook-comments-scraper Comment sentiment
Competitor event monitoring apify/facebook-events-scraper Event tracking
Competitor audience overlap apify/facebook-followers-following-scraper Follower analysis
Competitor review benchmarking apify/facebook-reviews-scraper Review comparison
Competitor ad monitoring apify/facebook-search-scraper Ad discovery
Competitor profile metrics apify/instagram-profile-scraper Profile analysis
Competitor content monitoring apify/instagram-post-scraper Post tracking
Competitor engagement analysis apify/instagram-comment-scraper Comment analysis
Competitor reel performance apify/instagram-reel-scraper Reel metrics
Competitor growth tracking apify/instagram-followers-count-scraper Follower tracking
Comprehensive competitor data apify/instagram-scraper Full analysis
API-based competitor analysis apify/instagram-api-scraper API access
Competitor video analysis streamers/youtube-scraper Video metrics
Competitor sentiment analysis streamers/youtube-comments-scraper Comment sentiment
Competitor channel metrics streamers/youtube-channel-scraper Channel analysis
TikTok competitor analysis clockworks/tiktok-scraper TikTok data
Competitor video strategies clockworks/tiktok-video-scraper Video analysis
Competitor TikTok profiles clockworks/tiktok-profile-scraper Profile data

Step 2: Fetch Actor Schema

Fetch the Actor's input schema and details dynamically using mcpc:

mcpc --json mcp.apify.com --header "Authorization: Bearer $APIFY_TOKEN" tools-call fetch-actor-details actor:="ACTOR_ID" | jq -r ".content"

Replace ACTOR_ID with the selected Actor (e.g., compass/crawler-google-places).

This returns:

  • Actor description and README
  • Required and optional input parameters
  • Output fields (if available)

Step 3: Ask User Preferences

Before running, ask:

  1. Output format:
    • Quick answer - Display top few results in chat (no file saved)
    • CSV - Full export with all fields
    • JSON - Full export in JSON format
  2. Number of results: Based on character of use case

Step 4: Run the Script

Quick answer (display in chat, no file):

node {baseDir}/reference/scripts/run_actor.js \
  --actor 'ACTOR_ID' \
  --input 'JSON_INPUT'

CSV:

node {baseDir}/reference/scripts/run_actor.js \
  --actor 'ACTOR_ID' \
  --input 'JSON_INPUT' \
  --output 'YYYY-MM-DD_OUTPUT_FILE.csv' \
  --format csv

JSON:

node {baseDir}/reference/scripts/run_actor.js \
  --actor 'ACTOR_ID' \
  --input 'JSON_INPUT' \
  --output 'YYYY-MM-DD_OUTPUT_FILE.json' \
  --format json

Step 5: Summarize Findings

After completion, report:

  • Number of competitors analyzed
  • File location and name
  • Key competitive insights
  • Suggested next steps (deeper analysis, benchmarking)

Security & Data Privacy

This skill instructs the agent to select an Apify Actor, fetch its schema (via mcpc), and run scrapers. The included script communicates only with api.apify.com and writes outputs to files under the current working directory; it does not access unrelated system files or other environment variables.

Apify Actors only scrape publicly available data and do not collect private or personally identifiable information beyond what is openly accessible on the target platforms. For additional security assurance, you can check an Actor's permission level by querying https://api.apify.com/v2/acts/:actorId — an Actor with LIMITED_PERMISSIONS operates in a restricted sandbox, while FULL_PERMISSIONS indicates broader system access. For full details, see Apify's General Terms and Conditions.

Error Handling

APIFY_TOKEN not found - Ask user to configure APIFY_TOKEN in OpenClaw settings mcpc not found - Run npm install -g @apify/mcpc Actor not found - Check Actor ID spelling Run FAILED - Ask user to check Apify console link in error output Timeout - Reduce input size or increase --timeout

Usage Guidance
This skill appears to do what it claims: it uses your APIFY_TOKEN to start Apify actors and download their datasets from api.apify.com. Before installing: (1) ensure you trust the npm package @apify/mcpc or review it beforehand; (2) provide an APIFY_TOKEN scoped appropriately — the token can trigger runs and incur billing, so use a least-privilege token or monitoring; (3) be aware that running third-party Apify actors causes those actors to scrape external sites (review target sites' terms of service and privacy rules, and ensure you are allowed to scrape them); (4) the SKILL.md examples use jq but jq is not declared as a required binary — you may need jq in your environment or adapt the command; (5) outputs may include PII depending on what an actor scrapes, so handle files accordingly. Overall the skill is coherent with its described purpose.
Capability Analysis
Type: OpenClaw Skill Name: apify-competitor-intelligence Version: 1.0.1 The OpenClaw AgentSkills bundle is benign. The `SKILL.md` file explicitly defines robust input sanitization rules for `ACTOR_ID`, `JSON_INPUT`, and output filenames, instructing the AI agent to reject shell metacharacters and path separators, which is a strong defense against prompt and shell injection. The `run_actor.js` script further implements comprehensive input validation, including a critical `validateOutputPath` function that prevents path traversal by ensuring all file writes occur within the current working directory. All network communication is strictly limited to `api.apify.com`, and there is no evidence of data exfiltration, unauthorized execution, persistence mechanisms, or other malicious intent.
Capability Assessment
Purpose & Capability
The name/description (running Apify actors to gather competitor data) aligns with the requested artifacts: APIFY_TOKEN, Node, and the mcpc CLI. The included run_actor.js implements actor start, polling, and dataset download via api.apify.com — these are expected for this purpose.
Instruction Scope
SKILL.md instructs the agent to fetch actor schemas with mcpc and to run the provided run_actor.js; the JS enforces input validation (actor ID format, JSON input, output path) and limits network access to api.apify.com. Two minor issues: (1) SKILL.md examples pipe mcpc output to jq but jq is not declared in required binaries (could cause runtime failure), and (2) running arbitrary Apify actors runs third-party scraping code — the agent will execute remote actor logic (via Apify) which may scrape external sites and could have legal/TO S implications. The instructions include explicit sanitization rules, which improves safety if enforced.
Install Mechanism
Install is a Node package (@apify/mcpc) that provides the mcpc binary. Installing an npm package is expected for a CLI dependency; this is moderate-risk relative to instruction-only skills but proportionate to the function. The install uses the npm registry (no opaque download URLs or archive extraction), and the package produces the expected mcpc binary.
Credentials
Only APIFY_TOKEN is required and declared as the primary credential. That is proportional: the skill must authenticate to apify.com to start actor runs and download datasets. Note: an APIFY_TOKEN grants ability to run actors and access datasets (and may incur billing), so users should supply a token with appropriate scope and monitor account usage.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide persistence or elevated privileges. It does not modify other skills or global agent configuration. It will install an npm-provided mcpc binary (per install spec) which is normal for this functionality.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install apify-competitor-intelligence
  3. After installation, invoke the skill by name or use /apify-competitor-intelligence
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Switched from mcporter CLI to mcpc CLI for actor schema and metadata fetching. - Updated required system binaries and node package to "@apify/mcpc". - Revised prerequisite steps and command examples to use mcpc instead of mcporter. - Updated troubleshooting steps to reference mcpc installation and errors.
v1.0.0
Initial release of apify-competitor-intelligence. - Analyze competitor strategies, pricing, ads, and positioning across major platforms (Google Maps, Booking.com, Facebook, Instagram, YouTube, TikTok) using Apify Actors. - Simple workflow: identify analysis type, fetch Actor input schema dynamically, collect user preferences, run analysis, and summarize results. - Robust input sanitation rules prevent shell injection and enforce safe filenames. - Output choices include chat summary, CSV export, or JSON export, with customizable file naming. - Enhanced security and privacy: utilizes Apify’s API, scoped tokens, and sandboxes; does not access unrelated files or collect private data. - Clear error handling steps for missing configuration, tooling, or API errors.
Metadata
Slug apify-competitor-intelligence
Version 1.0.1
License
All-time Installs 5
Active Installs 5
Total Versions 2
Frequently Asked Questions

What is Apify Competitor Intelligence?

Analyze competitor strategies, content, pricing, ads, and market positioning across Google Maps, Booking.com, Facebook, Instagram, YouTube, and TikTok. It is an AI Agent Skill for Claude Code / OpenClaw, with 1229 downloads so far.

How do I install Apify Competitor Intelligence?

Run "/install apify-competitor-intelligence" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Apify Competitor Intelligence free?

Yes, Apify Competitor Intelligence is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Apify Competitor Intelligence support?

Apify Competitor Intelligence is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Apify Competitor Intelligence?

It is built and maintained by protoss70 (@protoss70); the current version is v1.0.1.

💬 Comments