Apify

Fetch and filter Apify actor data in TypeScript before model context.

1|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/starlink-awaken/pai-universal --skill apify-starlink-awaken
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Apify
Source: https://github.com/starlink-awaken/pai-universal/tree/main/templates/packs/Scraping/src/Apify
Command: npx skills add https://github.com/starlink-awaken/pai-universal --skill apify-starlink-awaken

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Replaces token-heavy MCP calls with a code-first Apify API wrapper to fetch data and filter it in-code before it reaches the model context, dramatically reducing token usage.

Core Features & Use Cases

  • Direct TypeScript access to the most popular Apify actors without MCP overhead.
  • In-code data filtering for social media, business data, e-commerce, and general web scraping.
  • Example: discover an actor, run it, fetch results, then filter to a small, high-signal subset before presenting to the model.

Quick Start

Run code-first Apify wrappers to search actors, execute an actor, and filter results in code before returning to the model.

Frequently Asked Questions about Apify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token usage when scraping social media data with Apify?▼

To reduce token usage when scraping social media data, use a code-first Apify API wrapper to fetch and filter results in-code before they reach the model context, dramatically cutting token overhead. This replaces token-heavy MCP calls with local dataset filtering.

What is the best way to scrape Amazon and Google Maps data without exhausting model context tokens?▼

The best way to scrape Amazon and Google Maps data without exhausting tokens is using a code-first Apify API wrapper that fetches results and filters to a small, high-signal subset in-code before presenting it to the model.

Can I run Apify actors for Twitter and TikTok directly from TypeScript without MCP?▼

Yes, you can run Apify actors for Twitter and TikTok directly from TypeScript without MCP overhead. The code-first wrapper provides direct TypeScript access to popular actors, executes them, and iterates datasets locally.

Does code-first Apify scraping work across multiple platforms like Instagram, YouTube, and LinkedIn?▼

Code-first Apify scraping works across Instagram, YouTube, LinkedIn, and Facebook. It provides a catalog of actor wrappers for social platforms, business data, e-commerce, and general web scraping to fetch and filter data locally.

Why does scraping data through MCP consume so many tokens compared to code-first wrappers?▼

Scraping through MCP consumes many tokens because raw fetched data enters the model context directly. Code-first Apify wrappers solve this by fetching data and applying in-code filtering to return only a high-signal subset, maximizing token efficiency.

How do I discover and execute an Apify actor to filter scraping results in code?▼

To discover and execute an Apify actor, use the code-first wrapper to search the actor catalog, run the selected actor, fetch the dataset results, and apply in-code filtering to extract a small subset before returning it to the model.