Apify automation

From manu14357/zskills · View interactive version

Apify automation is an AI agent skill from the GitHub repository manu14357/zskills. Automate web scraping and data extraction with Apify -- run Actors, manage datasets, create reusable tasks, and retrieve crawl results through the Composio Apify integration.

How to use this skill

Skill file

Apify Automation

Run Apify web scraping Actors and manage datasets directly from Claude Code. Execute crawlers synchronously or asynchronously, retrieve structured data, create reusable tasks, and inspect run logs without leaving your terminal.

Toolkit docs: composio.dev/toolkits/apify


Setup

  1. Add the Composio MCP server to your configuration:

```

https://rube.app/mcp

```

  1. Connect your Apify account when prompted. The agent will provide an authentication link.
  2. Browse available Actors at apify.com/store. Each Actor has its own unique input schema -- always check the Actor's documentation before running.

Core Workflows

1. Run an Actor Synchronously and Get Results

Execute an Actor and immediately retrieve its dataset items in a single call. Best for quick scraping jobs.

Tool: APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMS

Key parameters:

Example prompt: "Run the Google Places scraper for 'restaurants in New York' and return the first 50 results"


2. Run an Actor Asynchronously

Trigger an Actor run without waiting for completion. Use for long-running scraping jobs.

Tool: APIFY_RUN_ACTOR

Key parameters:

Follow up with APIFY_GET_DATASET_ITEMS to retrieve results using the run's datasetId.

Example prompt: "Start the web scraper Actor for example.com asynchronously with 1024MB memory"


3. Retrieve Dataset Items

Fetch data from a specific dataset with pagination, field selection, and filtering.

Tool: APIFY_GET_DATASET_ITEMS

Key parameters:

Example prompt: "Get the first 500 items from dataset myDatasetId in JSON format"


4. Inspect Actor Details

View Actor metadata, input schema, and configuration before running it.

Tool: APIFY_GET_ACTOR

Key parameters:

Example prompt: "Show me the details and input schema for the apify/web-scraper Actor"


5. Create Reusable Tasks

Configure reusable Actor tasks with preset inputs for recurring scraping jobs.

Tool: APIFY_CREATE_TASK

Configure a task once, then trigger it repeatedly with consistent input parameters. Useful for scheduled or recurring data collection workflows.

Example prompt: "Create an Apify task for the Google Search scraper with default query 'AI startups' and US location"


6. Manage Runs and Datasets

List Actor runs, browse datasets, and inspect run details for monitoring and debugging.

Tools: APIFY_GET_LIST_OF_RUNS, APIFY_DATASETS_GET, APIFY_DATASET_GET, APIFY_GET_LOG

For listing runs:

For dataset management:

For debugging:

Example prompt: "List the last 10 runs for the web scraper Actor and show logs for the most recent one"


Known Pitfalls


Quick Reference

| Tool Slug | Description |

|---|---|

| APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMS | Run Actor synchronously and get results immediately |

| APIFY_RUN_ACTOR | Run Actor asynchronously (trigger and return) |

| APIFY_RUN_ACTOR_SYNC | Run Actor synchronously, return output record |

| APIFY_GET_ACTOR | Get Actor metadata and input schema |

| APIFY_GET_DATASET_ITEMS | Retrieve items from a dataset (paginated) |

| APIFY_DATASET_GET | Get dataset metadata (item count, etc.) |

| APIFY_DATASETS_GET | List all user datasets |

| APIFY_CREATE_TASK | Create a reusable Actor task |

| APIFY_GET_TASK_INPUT | Inspect a task's stored input |

| APIFY_GET_LIST_OF_RUNS | List runs for an Actor |

| APIFY_GET_LOG | Get execution logs for a run |


Powered by Composio

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.